Click to See Complete Forum and Search --> : LFS Help: Compiling Glibc


DarKrow
03-23-2003, 08:34 PM
I'm trying to setup LFS on an old Gateway - but I've hit a roadblock with Glibc - when running the configure script - I get a message when it check for the required files:


checking for gcc.... gcc
checking version of gcc... v. ?.??, bad


After checking for make, it then bombs out with:


configure: error:
*** These critical programs are missing or too old:gcc
*** Check the INSTALL file for required versions.


and it leaves me at the prompt.

zdude255
03-23-2003, 08:51 PM
Umm, What distro are you using?

The messages say that gcc is too old, get a newer one.

DarKrow
03-23-2003, 09:20 PM
I'm trying to install Linux From Scratch - that's the distro.

dkleinsc
03-28-2003, 05:06 PM
As one who has built LFS systems before, it looks to me like either
- your gcc is too old for the glibc you're trying to use, so check the dependencies, or
- that when you built gcc you didn't compile it with the -static flag to make it run on your new system without the old system's glibc.

That's my best guess. Worst comes to worst, go back and rebuild gcc.