>Chapter 5 seems to have built OK, but glibc, the first package to be 
>compiled in chapter 6,
>fails to configure, complaining that there is no such file as 
>/tools/bin/gcc, when there clearly is.
>
>The sanity check fails, as does gcc -dumpmachine.  However, if I exit 
>the chroot environment and run the sanity check again, all is well.  The 
>sanity check returns  /tools/lib/ld-linux.so.2 and gcc -dumpmachine 
>returns i686-pc-linux-gnu.

The only cause I can think of is a missing symlink.  In step 4.2, you
should have created a symlink thus:
ln -sv $LFS/tools /
This is supposed to make the tools usable in chapter 6.
One thing the book does not mention, is that this link is created in the
host system.  Since you are running off the live CD, you have to recreate
this link every time you reboot your computer.

I don't know if there is a way to fix it from where you are, or if you'll have 
to
start over.  Perhaps someone else can tell you.

Robert
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to