I appreciate the quick response but,

> Filesystem. Use the recommended ext3 (for some reason, Reiserfs was
> problematic in at least four attempts to build LFS.)
I am using ext3
> Host system/configuration. If this is a laptop, try botting from the LFS
> liveCD using "linux acpi=off -noapic"
I am running on a desktop
> Locale. Make sure locale and timezone are set correctly.
they are
> Reboot and remount all drives- this looks like either the host distro
> has gcc installed in a nonstandard location, or that the path variable
> is incorrectly set.
I am using the liveCD, and when logged in as lfs gcc works fine, its
after I chroot into the new environment that the gcc becomes
problematic.
$PATH = /bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
I believe that's correct


> You could also try ALFS and see if it has the same
> problem. Using ALFS will eliminate typos. If you want to build LFS, you
> could also go back and make sure your environment is set up correctly--
> remember that ` and' are two different characters.

Thanks for the reminder on the ticks that was a problem for me in the
beginning but I no longer have long since resolved that issue.

But I guess my question still remains..
why isn't gcc working in the new environment?

Pete


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Santimauro
> Sent: Tuesday, May 29, 2007 3:49 PM
> To: LFS Support List
> Subject: 6.9.1 Glibc-2.3.6 problems...
>
> After mkdir -v ../glibc-build  and cd ../glibc-build, I tryed to run
> the configure script.  I  get the following as and output:
> ....
> checking for gcc... gcc
> checking for suffix of object files... configure: error: cannot
> compute suffix of object files: cannot compile
> See 'config.log' for more details.
> root: /sources/glibc-build#
>
> ...
> the config.log  says:
>
> ...
> configure:2631: checking for C compiler version
> configure:2634: gcc --version </dev/null > &5
> ../glibc-2.3.6/configure: line 2635: /bin/gcc: No such file or directory
> configure:2637: $? =127
> configure:2639: gcc -v </dev/null > &5
> ../glibc-2.3.6/configure: line 2640: /bin/gcc: No such file or directory
> configure:2642: $? =127
> configure:2644: gcc -V </dev/null > &5
> ../glibc-2.3.6/configure: line 2645: /bin/gcc: No such file or directory
> configure:2647: $? =127
> configure:2651: checking for suffix of object files
> configure:2672: ggc -c conftest.c >&5
> ../glibc-2.3.6/configure: line 2673: /bin/gcc: No such file or directory
> configure:2675: $? =127
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | ...confdefs contents ...
> |
> |
> configure: 2689: error: cannot compute suffix of object files: cannot
> compile
>
> ....
>
> any ideas why this is happening?
> i tryed to run gcc but it isnt there.  this is the second time around
> for me trying to get this to work. Last time I got this error and
> restarted, I really don't want to have to do that again :(
>
> thank
> pete
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
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