These critical programs are missing or too old: gcc (SOLVED)
emerge DavuN world
when it gets to sys/libs/glibc-2.4-r4 i get this error.
I tried emerging gcc and emerge -u gcc but it still doesnt work
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.
!!! ERROR: sys-libs/glibc-2.4-r4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
glibc-2.4-r4.ebuild, line 1174: Called toolchain-glibcsrccompile
glibc-2.4-r4.ebuild, line 257: Called glibcdoconfigure 'nptl'
glibc-2.4-r4.ebuild, line 925: Called die
!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.
12 Replies
# emerge gcc
checking whether autoconf works… yes
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.
!!! ERROR: sys-libs/glibc-2.4-r4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
glibc-2.4-r4.ebuild, line 1174: Called toolchain-glibcsrccompile
glibc-2.4-r4.ebuild, line 257: Called glibcdoconfigure 'nptl'
glibc-2.4-r4.ebuild, line 925: Called die
!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.
$ gcc --version | head -1
gcc (GCC) 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
$ gcc-config -l
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-4.1.1
# gcc-config 5
# source /etc/profile
# emerge -DavuN world
That should do it.
nptl nptlonly
Because if you don't, glibc 2.4 or later won't compile.
(It's also not a big deal on Linode because Linode now supports NPTL natively for recentish 2.6 UML kernels.)
I am guessing the gcc-config 5 is telling it to use i686-pc-linux-gnu-4.1.1
Am I correct?
Does that mean I had already installed it and just had not configured it?
currently running emerge -DavuN world I will let you know how it goes as soon as it it done… Thanks again
I think you needed at least gcc 3.4.x for glibc 2.4, which is why it bombed when you tried to build with gcc 3.3.5.
No big deal; switching to 4.1 will work. In fact, I did that build on another Linode a short time ago.