Gentoo Archives: gentoo-user

From: Konstantinos Bekiaris <konstantinos@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: revdep-rebuild keeps reinstalling binutils
Date: Sat, 13 Feb 2010 09:16:53
Message-Id: e49fec5b1002130115p7d6d543dma9ee044ab2c2372a@mail.gmail.com
In Reply to: [gentoo-user] Re: revdep-rebuild keeps reinstalling binutils by walt
1 On Tue, Feb 9, 2010 at 8:53 PM, walt <w41ter@×××××.com> wrote:
2
3 > On 02/08/2010 10:27 PM, Konstantinos Bekiaris wrote:
4 >
5 >> What do you have in /etc/env.d/gcc/? I have this:
6 >>
7 >> #ls -l /etc/env.d/gcc/
8 >> total 16
9 >> -rw-r--r-- 1 root root 32 2010-02-08 11:53 config-i686-pc-linux-gnu
10 >> -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2
11 >> -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2
12 >> -rw-r--r-- 1 root root 235 2010-01-10 12:29 i686-pc-linux-gnu-4.3.4
13 >>
14 >> Do you still have any version of gcc installed?
15 >>
16 >> drwxr-xr-x 2 root root 4096 Jan 24 13:16 .
17 >> drwxr-xr-x 5 root root 4096 Jan 24 13:17 ..
18 >> lrwxrwxrwx 1 root root 25 Jan 24 06:25 .NATIVE ->
19 >> x86_64-pc-linux-gnu-4.1.2
20 >> -rw-r--r-- 1 root root 34 Jan 24 06:25 config-x86_64-pc-linux-gnu
21 >> -rw-r--r-- 1 root root 381 Jan 24 06:25 x86_64-pc-linux-gnu-4.3.4
22 >>
23 >
24 > There's one problem. .NATIVE is pointing at a non-existent file. Assuming
25 > your machine really does have gcc-4.3.4, .NATIVE should be pointing at
26 > x86_64-pc-linux-gnu-4.3.4, and the contents of config-x86_64-pc-linux-gnu
27 > should be: CURRENT=x86_64-pc-linux-gnu-4.3.4
28 >
29 > I don't know why there are two different ways to point at the same gcc, but
30 > that's the way gcc-config does it.
31 >
32 > Correct those two files and see if it helps.
33 >
34 >
35 > I think that i have gcc, the problem is that it is not correctly linked
36 >>
37 > > with tha appropriate files-libraries.
38 >
39 > You can run /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc directly to see if
40 > it works.
41 >
42 >
43 > It works, when i am in the folder /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/
44 > and i tried ./gcc, it works. Can you please show me the way i must put the
45 > links in order to work from anywhere(sym links or hard links)? I think it is
46 > ln -s //usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc " folder".

Replies

Subject Author
[gentoo-user] Re: revdep-rebuild keeps reinstalling binutils walt <w41ter@×××××.com>