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 have been building LFS 6.4, and have been following the book exactly,
mostly pasting in commands from the book. Unfortunately, whilst making
the glibc in chapter 6, I have generated errors.
The last three commands entered are:-
cp -v ../glibc-2.8-20080929/iconvdata/gconv-modules iconvdata
make -k check 2>&1 | tee glibc-check-log
grep Error glibc-check-log
which I assume tests the compiled glibc for errors. It gives the following
output:-
I understand the annexc error is unimportant. The other two errors I know nothing about. My PC is old - a 750Mhz Duron - would that cause the
mathematical error? Can it be disregarded?
The vfprintf.out error is a mystery to me. In any case, the errors interrupted the make command such that it could not complete.
Advice from anyone please?
Even though I am building LFS 6.4, the host system is actually a frugal
install of the LFS 6.3 liveCD, which I assume is sufficient.
It seems that certain tests didn't get compiled. Did building proceed otherwise, or did it break due to the failed tests?
Failed test applications do not necessarily mean that the glib libraries themselves didn't get built - though it would be obviously better if both would succeed. Building glibc from sources is quite often a nasty experience.
The actual build of the glibc went okay. No error messages were evident. My impression is that it broke due to the failed tests.
Yes, I gather that compiling glibc can be problematic. But how else do we learn? If I get truly stuck, I may try to build LFS 6.3 instead, and see if this problem just goes away...
When I startup the host system, which is frugal install of LFS 6.3 LiveCD, it always asks me to choose my locale. I had been choosing 'English,US (ISO-8859-1)', but the aforementioned glibc test would not complete, and outputed the errors above.
But if I choose 'Default/other' instead as the locale for the host system, then the glibc test runs to completion, with only the annexc.out error, which is ignored.
So there it is, problem solved. Altho I'm not sure why.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.