| Author |
Message |
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Thu Dec 14, 2006 6:59 am Post subject: These critical programs are missing or too old: gcc (SOLVED) |
|
|
I tried
#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-glibc_src_compile
glibc-2.4-r4.ebuild, line 257: Called glibc_do_configure '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. |
|
| Back to top |
|
CryptWizard
Joined: 13 Mar 2005
Posts: 41
|
| Posted: Fri Dec 15, 2006 12:54 am Post subject: |
|
|
Try:
Code: # emerge gcc |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Fri Dec 15, 2006 7:03 am Post subject: |
|
|
| I have tried that before but I get the same error I believe. I will try it again and post the error. |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Fri Dec 15, 2006 7:50 pm Post subject: |
|
|
I emerge gcc and it seems to go through but then it emerges glibs i guess cause its a dependancy the following is what I get
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-glibc_src_compile
glibc-2.4-r4.ebuild, line 257: Called glibc_do_configure '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. |
|
| Back to top |
|
tronic
Joined: 04 Dec 2004
Posts: 123
|
| Posted: Wed Jan 10, 2007 2:27 am Post subject: |
|
|
What version of gcc is used?
Code: $ gcc --version | head -1 |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Wed Jan 10, 2007 6:10 pm Post subject: |
|
|
this is what I get
gcc (GCC) 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) |
|
| Back to top |
|
tronic
Joined: 04 Dec 2004
Posts: 123
|
| Posted: Wed Jan 10, 2007 6:25 pm Post subject: |
|
|
Ooh, that's a little old. What's the output of:
Code: $ gcc-config -l |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Thu Jan 11, 2007 12:57 am Post subject: |
|
|
[1] i686-pc-linux-gnu-3.3.5 *
[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 |
|
| Back to top |
|
tronic
Joined: 04 Dec 2004
Posts: 123
|
| Posted: Thu Jan 11, 2007 1:56 am Post subject: |
|
|
Ok. What I suggest you do is:
Code: # gcc-config 5
# source /etc/profile
# emerge -DavuN world
That should do it. |
|
| Back to top |
|
tronic
Joined: 04 Dec 2004
Posts: 123
|
| Posted: Thu Jan 11, 2007 2:39 am Post subject: |
|
|
Oh, and BEFORE you do the emerge... edit /etc/make.conf and add this to your USE flag line:
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.) |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Thu Jan 11, 2007 2:41 am Post subject: |
|
|
Thanks for the advice.
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 |
|
| Back to top |
|
tronic
Joined: 04 Dec 2004
Posts: 123
|
| Posted: Thu Jan 11, 2007 2:45 am Post subject: |
|
|
Correct on both counts. :)
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. |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Thu Jan 11, 2007 5:54 pm Post subject: |
|
|
| PERFECT worked like a charm!!!!! Thanks a million |
|
| Back to top |
|
| |