Coreutils-5.2.1 error LFS 5.1
In chapter 6 while applying make to coreutils-5.2.1 I get the following errors;
make: Entering directory `/sources/coreutils-5.2.1/man'
Updating man page uname.1
mkdir: cannot create directory `uname.td': File exists
ln: `uname': File exists
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.4/i686-linux /tools/lib/perl5/5.8.4 /tools/lib/perl5/site_perl/5.8.4/i686-linux /tools/lib/perl5/site_perl/5.8.4 /tools/lib/perl5/site_perl .) at ./help2man line 28.
BEGIN failed--compilation aborted at ./help2man line 28.
make: *** [uname.1] Error 2
make: Leaving directory `/sources/coreutils-5.2.1/man'
make: *** [all-recursive] Error 1
make: Leaving directory `/sources/coreutils-5.2.1'
make: *** [all] Error 2
I'm not sure why, evrything seemed fine up to this point and I applied both the uname and hostname patch's.
I'd suggest looking closely at the "Makefile"
you may have to edit the $PATH to where POSIX.pm is really located
Well I looked through the Makefile(s) and couldnt seem to find anything that represents a $PATH to POSIX.pm. I tried untaring the coreutils package again, applied the paches and still got the same errors on make.
Is it possible that something went wrong earlier in the build, and what would I check?
I'm so stupid :)
I set my enviornment variables wrong when I built my tool chain. Rebuilt it and everything went fine!
First LFS system booted with no problems!!!!
Thanks LFS Team
I get exactly the same error as yours.
Could you please explain me how you fix it?
Thanks, and sorry for my english
There could be many reasons for getting errors like the one I had. Most likely it is from typing errors or, in my case, because I did not set up my working environment properly as outlined in the beginning of the book. Everything seemed to work fine until I got this hard error while installing Coreutils. After starting over and rebuilding my tools chain from scratch I found that my builds where very different with the proper settings. I would suggest that you start over and make sure that you follow the book exactly.
In case someone else runs into this error... don't start over.
problem seems to been in the chapter 5 perl-5.8.4 area
final resolution: redo chapter 5 section perl-5.8.4 & make sure to read the 'Important' in this section
Now i have exactly problem, i don't think i typed wrong
can you explain more specific what you did to make it work again please!
i'm getting headache, i couldn't sleep for few nights just to build LFS
pumazi, thank you! Your message helped me very much!
hungnguyen, i think you should listen to it too.
I just want to add that to follow instructions from chapter five you should use back upped /tools (in the end of chapter five you were advised to backup), not current ones. Don't forget that this should be done from lfs user from host system. Or just as root from host system without any tools (but this is not recommended).
And copy compiled files to current /tools
sorry for my English.
|All times are GMT -5. The time now is 12:44 PM.|