New Linux Headers method
Jeremy Huntwork
jhuntwork at linuxfromscratch.org
Thu Oct 16 20:52:13 PDT 2008
Jeremy Huntwork wrote:
> Jeremy Huntwork wrote:
>> There is a problem, however. The script uses open() but with 3
>> arguments instead of 2. From what I've found so far, this change in
>> syntax was introduced in perl-5.8.0, so the installation of Linux
>> Headers fails if the host's version of perl is < 5.8.0. I'm
>> investigating possibilities, such as modifying the script to use two
>> parameters, but at least for now, adding a minimal perl to /tools
>> beforehand solves the issue.
>
> Update, the change in syntax occurred in 5.6.0. See here:
> http://perldoc.perl.org/perl56delta.html#open()-with-more-than-two-arguments
And one last update, here's a patch that makes it backwards compatible.
I sent this to the kernel list. Not sure if they'll care about being
compatible with versions older than 5.6.0, but we'll see what happens.
http://www.linuxfromscratch.org/~jhuntwork/linux-2.6.27.1-perl_compat-1.patch
--
JH
More information about the lfs-dev
mailing list