Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.