Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading to 1.4: No glibc version for gcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Krieg
n00b
n00b


Joined: 24 Feb 2004
Posts: 36

PostPosted: Mon Jun 07, 2004 1:10 pm    Post subject: Upgrading to 1.4: No glibc version for gcc Reply with quote

I am trying to upgrade to version 1.4. When I try to install gcc 3.4 (or 3.3.3) it complais because I dont have glibc 2.3.x:

Code:

root # emerge /usr/portage/sys-devel/gcc/gcc-3.4.0-r6.ebuild
Calculating dependencies |
!!! all ebuilds that could satisfy ">=sys-libs/glibc-2.3.3_pre20040420-r1" have been masked.
!!! possible candidates are:
- sys-libs/glibc-2.3.3.20040420 (masked by: profile, ~keyword)
- sys-libs/glibc-2.3.3_pre20040529 (masked by: profile, -* keyword)
- sys-libs/glibc-2.3.4.20040605 (masked by: profile, -* keyword)
!!!    (dependency required by "sys-devel/gcc-3.4.0-r6" [ebuild])

!!! Error calculating dependencies. Please correct.

root # emerge -s glibc
Searching...   
[ Results for search key : glibc ]
[ Applications found : 2 ]
 
*  app-doc/ebook-glibc
      Latest version available: 2.2.4
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 803 kB
      Homepage:    http://lidn.sourceforge.net
      Description: ebook-glibc-2.2.4 ebook based on ebook eclass
      License:     OPL


*  sys-libs/glibc
      Latest version available: 2.2.5-r9
      Latest version installed: 2.2.5-r9
      Size of downloaded files: 12,278 kB
      Homepage:    http://www.gnu.org/software/libc/libc.html
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2


What can I do?
Back to top
View user's profile Send private message
Celtis
l33t
l33t


Joined: 05 Jul 2003
Posts: 737

PostPosted: Mon Jun 07, 2004 1:31 pm    Post subject: Reply with quote

Try the following:

Code:
ACCEPT_KEYWORDS="~x86" emerge glibc

That will install glibc-2.3.3.20040420. Now type in
Code:
emerge /usr/portage/sys-devel/gcc/gcc-3.4.0-r6.ebuild


Make sure that you read the ebuild first so that you know why it's been masked.
Back to top
View user's profile Send private message
Krieg
n00b
n00b


Joined: 24 Feb 2004
Posts: 36

PostPosted: Mon Jun 07, 2004 1:39 pm    Post subject: Reply with quote

Code:


root # ACCEPT_KEYWORDS="~x86" emerge glibc
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/glibc-2.2.5-r9 to /
~x86
>>> md5 src_uri ;-) glibc-2.2.5.tar.bz2
>>> md5 src_uri ;-) glibc-linuxthreads-2.2.5.tar.bz2
~x86
Caught signal 2



It is trying to reinstall the same glibc I have. The problem is the glibc version that gcc needs is masked by the profile.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Jun 07, 2004 1:51 pm    Post subject: Reply with quote

Do you mean you want to upgrade to 2004.1 from 1.4?

What does your /etc/make.profile symlink point to? If it's default-x86-1.4, try changing the symlink to point to default-x86-2004.0
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Krieg
n00b
n00b


Joined: 24 Feb 2004
Posts: 36

PostPosted: Mon Jun 07, 2004 1:59 pm    Post subject: Reply with quote

No, I want to upgrade from 1.0. I already noticed there is a profile 2004 something and I put the link to that one. I am right now making a backup before upgrading glibc. I have the feeling my system will be broken.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum