Gentoo Archives: gentoo-user

From: "Rupert Young (Restart)" <rupert.young@×××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] System update problems and Incompatible gcc
Date: Sun, 25 Sep 2005 14:22:05
Message-Id: 20050925141408.5EEC024FFFB@smtp.nildram.co.uk
1 I seem to have most of my problems with updating for the first time in a
2
3 year resolved (see below for one outstanding issue).
4
5 Thanks to all those who assissted.
6
7
8
9 Here's what I did. The order may not be as I did them. Also I'm not sure
10
11 if they were all necessary, the stage2 bit for example.
12
13
14
15 1. Linked make.profile to the new dir
16
17 lrwxrwxrwx 1 root root 48 Sep 24 13:21 /etc/make.profile ->
18
19 /usr/portage/profiles/default-linux/amd64/2005.1
20
21
22
23 2. Downloaded and unpacked the stage2 tarball[Rupert Young] . I first backed
24 up /etc and var/lib/portage and then restored them after.
25
26
27
28 3. Re-emerged the gentoo toolkit: gcc-config glibc binutils libstdc++
29
30
31
32 4. Used gcc-config to point to the latest gcc
33
34
35
36 5. Updated env with
37
38 etc-update
39
40 env-update
41
42 source /etc/profile
43
44
45
46 6. Did all the updates I could think of
47
48 emerge --sync
49
50 emerge -u portage
51
52 emerge -upDv world
53
54 emerge -uDv world
55
56 emerge -upv system
57
58 emerge -uv system
59
60
61
62 Now everything is in sync and up to date. However, the old gcc is still
63
64 being picked somehow when trying to emerge -av net-im/gaim. It should
65
66 be pointing to 3.4.4. Any ideas where this is being set? What is the
67
68 gentoo equivalent of the environment variable LIBRARY_PATH?
69
70
71
72 grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la: No such file
73
74 or directory
75
76 /bin/sed: can't read
77
78 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la: No such file or
79
80 directory
81
82 libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la' is
83
84 not a valid libtool archive
85
86 make[2]: *** [libenchant_aspell.la] Error 1
87
88 make[2]: Leaving directory
89
90 `/var/tmp/portage/enchant-1.1.6/work/enchant-1.1.6/src/aspell'
91
92 make[1]: *** [all-recursive] Error 1
93
94 make[1]: Leaving directory
95
96 `/var/tmp/portage/enchant-1.1.6/work/enchant-1.1.6/src'
97
98 make: *** [all-recursive] Error 1
99
100
101
102 !!! ERROR: app-text/enchant-1.1.6 failed.
103
104
105
106 Rupert Young

Replies

Subject Author
Re: [gentoo-user] System update problems and Incompatible gcc Holly Bostick <motub@××××××.nl>