LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Section 6.15 Coreutils compile error (https://www.linuxquestions.org/questions/linux-from-scratch-13/section-6-15-coreutils-compile-error-352709/)

microsoft/linux 08-12-2005 08:42 PM

Section 6.15 Coreutils compile error
 
ok, so after running the 'configure' command it seemed to be going good. I ran the 'make' command, hoping it would work(having had some previous trouble). But, I ran into errors. They are posted below
Quote:

make[2]: Entering directory `/sources/coreutils-5.2.1/man'
Updating man page uname.1
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.5/i686-linux /tools/lib/perl5/5.8.5 /tools/lib/perl5/site_perl/5.8.5/i686-linux /tools/lib/perl5/site_perl/5.8.5 /tools/lib/perl5/site_perl .) at ./help2man line 28.
BEGIN failed--compilation aborted at ./help2man line 28.
make[2]: *** [uname.1] Error 2
make[2]: Leaving directory `/sources/coreutils-5.2.1/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-5.2.1'
make: *** [all] Error 2
make[2]: Entering directory `/sources/coreutils-5.2.1/man'
Updating man page uname.1
Can't locate POSIX.pm in @INC (@INC contains: /tools/lib/perl5/5.8.5/i686-linux /tools/lib/perl5/5.8.5 /tools/lib/perl5/site_perl/5.8.5/i686-linux /tools/lib/perl5/site_perl/5.8.5 /tools/lib/perl5/site_perl .) at ./help2man line 28.
BEGIN failed--compilation aborted at ./help2man line 28.
make[2]: *** [uname.1] Error 2
make[2]: Leaving directory `/sources/coreutils-5.2.1/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-5.2.1'
make: *** [all] Error 2

Zero-0-Effect 08-12-2005 11:24 PM

Did you manually verify that the POSIX.pm file exist? If its missing the only advice I could give you is to start over from where perl gets installed during chapter 5. Luckily its the last section in chapter 5.

microsoft/linux 08-13-2005 01:30 PM

after checking the /mnt/lfs/tools/lib/perl5/5.8.5 directory, and finding that POSIX.pm does not exist, I tried to recompile perl. That quit w/ errors about 'ld' and something else. I have a feeling that somethings messed up. Thoughts? Otherwise I'll probably start over

Zero-0-Effect 08-13-2005 02:31 PM

Can you post the error? Did you ensure to exit the chroot enviroment and reset all the variables before starting to compile perl?

Since you have only gotten to just now finishing the tools build it might not be too bad of a idea to start over and use the more updated version of the book. The new one uses perl 5.8.6.

microsoft/linux 08-13-2005 09:04 PM

more updated. Like 6.1? Will it be easier? :) No but seriously, you think that'd work better? I was planning on starting over anyway, but... I'll look into it. I'll have to get the error, yes I exited the chroot environment, re-made user lfs(I had to reinstall my host system, due to system wide permissions errors). Thanks.

microsoft/linux 08-17-2005 09:28 PM

nobody has any other thoughts?

Zero-0-Effect 09-03-2005 05:59 PM

Sorry bout taking a while to reply, my harddrive that had both my LFS system and the backup on it decided to just wipe itself clean, Ive been reinstalling and tweaking lfs since.

I dont think the new version will be any easier but maybe less trouble as more of the bugs will be worked out. I would of just started back over. You never know but later on down the line you might come into more trouble that will force you to reinstall.

microsoft/linux 09-04-2005 07:48 PM

yep, I started over. Don't worry taking a while...I wasn't hanging around waiting for you :). I downloaded the 6.1 lfs-packages-6.1.tar packages.


All times are GMT -5. The time now is 12:17 PM.