New Linux Headers method

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Thu Oct 16 18:43:23 PDT 2008


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

--
JH



More information about the lfs-dev mailing list