>On Thu, 3 Dec 2009 03:44:43 -0500 >stosss <[email protected]> wrote: > > I started over from scratch. I have captured log files of everything. > I ran tests on everything and captured all those tests. Everything was > going along nicely. > > In chapter 6.4 I used: > > chroot "$LFS" /tools/bin/env -i \ > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ > /tools/bin/bash --login +h > > compiled and installed everything. > > I skipped over chapter 6.60 stripping. > > I did use logout from chapter 6.60 and in chapter 6.61 I used: > > chroot "$LFS" /usr/bin/env -i \ > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ > PATH=/bin:/usr/bin:/sbin:/usr/sbin \ > /bin/bash --login > > to log back in > > completed chapter 7 > > completed chapter 8.2 > > chapter 8.3.1 ran tar -jxvf linux-2.6.30.2.tar.bz2 > > cd linux-2.6.30.2 > > then ran make mrproper and got this error message: > > make: gcc: Command not found > > What happened?
It's radher hard to figure out what could cause such a mistake (without actually seeing the filesystem), but a misplaced "--prefix" option passed to the GCC configure is my likeliest bet. Upon entering the chroot enviroment did you do "set +h"? Or do you have it in bash startup files? It also might be informative if you do "readelf -l /bin/bash | grep interpet" or on some other arbitrary executable (if you still have the old chroot). And if all other options fail: "find / -iname \*gcc\*" :) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
