[Clfs-dev] issues with current svn x86_64 pure 64

Martin Ward macros_the_black at ntlworld.com
Sun Jan 4 11:13:49 PST 2009


Joe Ciccone wrote:
> Martin Ward wrote:
>   
>> Ken Moffat wrote:
>>     
>>> On Sun, Jan 04, 2009 at 10:41:15AM -0500, Joe Ciccone wrote:
>>>  
>>>       
>>>> Ken Moffat wrote:
>>>>    
>>>>         
>>>>>  I tried adding what is in LFS to temp-perl, and the message is
>>>>>
>>>>> make[1]: Entering directory `/building/perl-5.10.0/ext/Errno'
>>>>> ../../miniperl "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
>>>>> No error definitions found at Errno_pm.PL line 224.
>>>>> make[1]: *** [Errno.pm] Error 2
>>>>>
>>>>>         
>>>>>           
>>>> I've been having trouble re-producing this. I will try again on my next
>>>> build. Based on the instructions that are in the book I havn't had a
>>>> problem in a long time. I have seen similar errors before that existed
>>>> when someone forgot to copy the .pm files to the proper location in
>>>> /tools.
>>>>
>>>>     
>>>>         
>>>  Possible, although I thought I checked that I was installing the
>>> same things as LFS.
>>>
>>> ĸen
>>>   
>>>       
>> Errno_pm.PL fails to find errno.h because it's not in the standard
>> path, /usr/include or usr/local/include, at this point in time, need
>> to add /tools/include to the variable my $linux_errno_h, i patched it
>> but you could use a sed
>>     
> Confirmed, It pulls headers from /tools for this build. This is a
> problem with your compiler from chapter 6, not the book.
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>   
it's not the compiler that's searching for errno.h but the miniperl just 
built, it seems to hardcode the location in ext/Errno/Errno_pm.PL, but i 
could be wrong

Martin



More information about the Clfs-dev mailing list