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.
I'm sorry to say I'm giving up on LFS now. I just can't get past installing glibc in chapter 6, it just gets stuck. I've tried paring it down a bit, but with no joy.
I'll maybe come back to it in a few months, but just got totally hacked off with it.
No, don't give up yet...........
post the errors you get, I or someone can/will help you get past
it!! keep going cause in the end it will be worth it......!!!!
I haven't got another machine available to try it on. My current host Linux is Peanut, which is been pretty muich reliable so far. Is there known problems with this distro?
Have you verified the package MD5SUM? Have you tried it from a clean build directory? Another thing you may want to check is that you got all the prerequite packages built and installed right.
From my LFS exp. the number one problem I had was corrupted packages!
Yes, that's a good point, I'll check whether any of the packages were corrupted. I got as far as glibc in chapter 6, but got stuck at the make check and install parts.
Yea-yea... Same here. I've tryed glibc-2.3.3, 2.3.4 and 2.3.5 - all same error:
In file included from /tools/include/linux/errno.h:4,
from ../sysdeps/unix/sysv/linux/bits/errno.h:25,
from ../sysdeps/unix/i386/sysdep.S:22,
from ../sysdeps/unix/sysv/linux/i386/sysdep.S:39:
/tools/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[2]: *** [/lfs/sources/csu/sysdep.o] Error 1
make[2]: Leaving directory `/lfs/sources/glibc-2.3.3-lfs-5.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/lfs/sources/glibc-2.3.3-lfs-5.1'
make: *** [install] Error 2
I've seen posts with tha problem more in forums - not found solving yet
Don't give up! This is a classroom! It might well be time to back-away from it for a while, to let your mind and your sanity rest, but don't "give up" for good!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.