View previous topic :: View next topic |
Author |
Message |
Krieg n00b
Joined: 24 Feb 2004 Posts: 36
|
Posted: Mon Jun 07, 2004 1:10 pm Post subject: Upgrading to 1.4: No glibc version for gcc |
|
|
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 |
|
|
Celtis l33t
Joined: 05 Jul 2003 Posts: 737
|
Posted: Mon Jun 07, 2004 1:31 pm Post subject: |
|
|
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 |
|
|
Krieg n00b
Joined: 24 Feb 2004 Posts: 36
|
Posted: Mon Jun 07, 2004 1:39 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Jun 07, 2004 1:51 pm Post subject: |
|
|
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 |
|
|
Krieg n00b
Joined: 24 Feb 2004 Posts: 36
|
Posted: Mon Jun 07, 2004 1:59 pm Post subject: |
|
|
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 |
|
|
|