Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why does my system still want gcc 3.4.9?
Date: Wed, 14 May 2008 18:28:20
Message-Id: 20080514182810.GA3375@crowfix.com
In Reply to: Re: [gentoo-user] Why does my system still want gcc 3.4.9? by Dirk Heinrichs
1 On Wed, May 14, 2008 at 06:40:24PM +0200, Dirk Heinrichs wrote:
2
3 > Did you check /etc/ld.so.conf, maybe 4.1.2 is still listed before 4.2.3?
4 >
5 > You may also need to clean up /etc/env.d a bit and running gcc-config again
6 > afterwards also seems to be a good idea.
7
8 Thanks. I started looking at it last night, but it was a warm night
9 after a long day and I left it for this morning. 4.1.2 is in
10 ld.so.conf, and in two env.d files:
11
12 # ls -l `grep -l 4.1.2 05*`
13 -rw-r--r-- 1 root root 243 Feb 16 2007 05compiler
14 -rw-r--r-- 1 root root 293 May 12 01:58 05gcc-i686-pc-linux-gnu
15
16 The 05compiler file is so old that I suspect it is some kind of
17 flotsam and needs to be deleted. The 05gcc file only includes 4.1.2
18 on the LDPATH line, but after 4.2.3, and its MANPATH, INFOPATH, PATH,
19 and ROOTPATH entries are all 4.2.3 only. "equery belongs" doesn't
20 know about either one.
21
22 So I moved 05compiler out of the way (I want to preserve that time
23 stamp just in case I do need to restore it), ran env-update again, and
24 now lzma is happy. I can run man again! Things which failed emerge
25 now build -- 323 to go.
26
27 I wonder what lessons I have learned? I misled myself into thinking
28 it was a compile problem because I didn't realize one lib could handle
29 multiple versions. I probably didn't follow post merge instructions
30 somewhen and that started the bitrot. I didn't take the hint when
31 remerging lzma several times made no difference.
32
33 Thanks again. I hope I don't need to ask for more help :-)
34
35 --
36 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
37 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
38 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
39 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
40 --
41 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Why does my system still want gcc 3.4.9? Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
RE: [gentoo-user] Why does my system still want gcc 3.4.9? Sylvain Chouleur <neolistic@×××××××.com>