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.
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?
Ergocano
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.
-mike
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.