LFS 6.3 chpt 5.7 step cmd problem
genericmaillists at gmail.com
Sun Nov 30 12:56:56 PST 2008
On Sunday 30 November 2008 03:33:05 pm Wolfgang Messingschlager
> Stealth wrote:
> > On Sunday 30 November 2008 02:17:30 pm Herman Gerritsen wrote:
> >>> gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \
> >>> > `dirname $(gcc -print-libgcc-file-name)`/specs
> >>> and I get:
> >>> sed: can't read /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/specs:
> >>> No such file or directory
> >> Did you check your $PATH variable?
> >> I believe the directory that is returned by "gcc
> >> --print-libgcc-file-name" Should start with /mnt/lfs/...
> >> It looks like you are using your hosts gcc in this case.
> >> Your $PATH variable sould start with PATH=/tools/bin;
> > $PATH is:
> > PATH=/tools/bin:/bin:/usr/bin
> have you issued "export PATH"?
> > As it is written in the book 6.3
> > this is where my specs file is located:
> > /mnt/lfs/sources/gcc-build/gcc
> What is the output of
> echo $PATH
> which gcc
to complete the path above it is:
I am running from the lfslivecd-x86-6.3-r2160 on a box with a blank
40 GB hard drive. That box as actually a VM running inside
VirtualBox which is running on a physical install of PCLinuxOS
2007. The CD is working nicely in this setup.
I am building using only the CD as my host. The build process does
not know of any other host or resources.
I copied all the source files from the CD into /mnt/lfs/sources
I am following the book as it is written. The only exception was I
used kernel 22.214.171.124 .
I am either reading the book incorrectly or I am finding flaws in
the flow of the material in the book. I am not saying the people
writting the book don't know what they are doing. I am saying the
people writting the book probably know this stuff so well they
accidentally leave stuff out or get things out of sync just enough
to cause problems for people like me who are depending on the book
to guide me. I am not complaining, I am thrilled to be doing this
whole thing and will contribute to making the book a little
cleaner/easier to understand from a prospective of someone not so
familiar with the process, once I have completed a successful
More information about the lfs-support