When I had originally started I was actually having trouble at 6.12.GCC-4.0.3. After spending a day trying to figure out what went wrong I decided to start over again. So I blew off everything that I had built so far including the partitions on my HDD. I have 3 HDDs in my system.
HDD1 = IDE PATA 13GB (Primary,master) /dev/hda HDD2 = SATA 150GB /dev/sda HDD3 = SATA 150GB /dev/sdb CD/RW = IDE (Secondary, master) /dev/hdc DVDROM IDE (Secondary, slave) /dev/hdd I am using /dev/sdb for lfs (/dev/hda & /dev/sda is Ubuntu 6.06) I created the following partitions: Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 13 104391 83 Linux /dev/sdb2 14 136 987997+ 82 Linux swap / Solaris /dev/sdb3 137 5000 39070080 83 Linux /dev/sdb4 5001 19457 116125852+ 85 Linux extended /dev/sdb5 5001 5609 4891761 83 Linux /dev/sdb6 5610 8042 19543041 83 Linux Up to section 6.9 I had no errors. I also had removed all the source and build subdirs for the 2nd pass on ch5 and then after ch5 I just blew away everything in $LFS/sources copying it all back again from lfs-sources on the CD. Now Glibc-2.3.6 fails almost right away when running configure. It seems to fail when doing a "gcc --version" as shown below from config.log: configure:1706: checking build system type configure:1724: result: i686-pc-linux-gnu configure:1732: checking host system type configure:1746: result: i686-pc-linux-gnu configure:1878: result: running configure fragment for add-on libidn configure:1878: result: running configure fragment for add-on nptl configure:1998: checking sysdep dirs configure:2214: result: sysdeps/generic/elf sysdeps/generic configure:2233: checking for a BSD-compatible install configure:2288: result: /tools/bin/install -c configure:2303: checking whether ln -s works configure:2307: result: yes configure:2361: checking for gcc configure:2377: found /tools/bin/gcc configure:2387: result: gcc configure:2631: checking for C compiler version configure:2634: gcc --version </dev/null >&5 ../glibc-2.3.6/configure: line 2635: /tools/bin/gcc: No such file or directory configure:2637: $? = 127 configure:2639: gcc -v </dev/null >&5 ../glibc-2.3.6/configure: line 2640: /tools/bin/gcc: No such file or directory configure:2642: $? = 127 configure:2644: gcc -V </dev/null >&5 ../glibc-2.3.6/configure: line 2645: /tools/bin/gcc: No such file or directory configure:2647: $? = 127 configure:2651: checking for suffix of object files configure:2672: gcc -c conftest.c >&5 ../glibc-2.3.6/configure: line 2673: /tools/bin/gcc: No such file or directory configure:2675: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "c-library" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "glibc" | #define USE_REGPARMS 1 | /* end confdefs.h. */ Any help would be greatly appreciated. I can locate or fin gcc just fine, and as far as I know the permissions are set correctly: tools owned by root:root 755 same with tools/bin and gcc TIA -- Scott Castaline aka Bad2theBone Hey! I was born crazy, what's your excuse? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page