Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 14, 2006 7:59 am 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
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.


Last edited by fifo on Thu Jan 11, 2007 6:55 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Fri Dec 15, 2006 1:54 am 
Offline
Junior Member

Joined: Sun Mar 13, 2005 4:42 am
Posts: 40
Try:
Code:
# emerge gcc


Top
   
 Post subject:
PostPosted: Fri Dec 15, 2006 8:03 am 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
I have tried that before but I get the same error I believe. I will try it again and post the error.


Top
   
 Post subject:
PostPosted: Fri Dec 15, 2006 8:50 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
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.


Top
   
 Post subject:
PostPosted: Wed Jan 10, 2007 3:27 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
What version of gcc is used?
Code:
$ gcc --version | head -1


Top
   
 Post subject:
PostPosted: Wed Jan 10, 2007 7:10 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
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)


Top
   
 Post subject:
PostPosted: Wed Jan 10, 2007 7:25 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Ooh, that's a little old. What's the output of:
Code:
$ gcc-config -l


Top
   
 Post subject:
PostPosted: Thu Jan 11, 2007 1:57 am 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
[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


Top
   
 Post subject:
PostPosted: Thu Jan 11, 2007 2:56 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Ok. What I suggest you do is:
Code:
# gcc-config 5
# source /etc/profile
# emerge -DavuN world

That should do it.


Top
   
 Post subject:
PostPosted: Thu Jan 11, 2007 3:39 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
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.)


Top
   
 Post subject:
PostPosted: Thu Jan 11, 2007 3:41 am 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
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


Top
   
 Post subject:
PostPosted: Thu Jan 11, 2007 3:45 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
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.


Top
   
 Post subject:
PostPosted: Thu Jan 11, 2007 6:54 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
PERFECT worked like a charm!!!!! Thanks a million


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group