Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Problem updating gcc
Date: Tue, 09 Aug 2005 14:54:04
Message-Id: 1123598919.11285.20.camel@baby.espersunited.com
1 I'm trying to update the software on my server box, but I keep getting
2 an error when I try to update gcc to 3.3.5.20050130-r1
3
4 * Configuring GCC with:
5 --enable-version-specific-runtime-libs
6 --prefix=/usr
7 --bindir=/usr/i586-pc-linux-gnu/gcc-bin/3.3.5-20050130
8
9 --includedir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include
10 --datadir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5-20050130
11
12 --mandir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5-20050130/man
13
14 --infodir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5-20050130/info
15
16 --with-gxx-include-dir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3
17 --host=i586-pc-linux-gnu
18 --disable-altivec
19 --enable-nls
20 --without-included-gettext
21 --with-system-zlib
22 --disable-checking
23 --disable-werror
24 --disable-libunwind-exceptions
25 --disable-multilib
26 --disable-libgcj
27 --enable-languages=c,c++,f77
28 --enable-shared
29 --enable-threads=posix
30 --enable-__cxa_atexit
31 --enable-clocale=gnu
32
33 *** This configuration is not supported in the following subdirectories:
34 target-libffi target-boehm-gc target-zlib target-libjava zlib
35 fastjar target-libobjc
36 (Any other directories should still work fine.)
37 Created "Makefile" in /var/tmp/portage/gcc-3.3.5.20050130-r1/work/build
38 using "mt-frag"
39 gcc-config error: Could not run/locate "gcc"
40 *** The command 'gcc -o conftest conftest.c' failed.
41 *** You must set the environment variable CC to a working compiler.
42
43 I don't understand this. In the Makefile
44 in /var/tmp/portage/gcc-3.3.5-20050130/work/build I see CC set:
45
46 CC = gcc
47
48 One source of the problem could be this. When I asked for the version
49 of gcc to report in this email I get this:
50
51 bullet build # gcc --version
52 /usr/bin/gcc-config: line
53 571: /etc/env.d/gcc/i586-pc-linux-gnu-3.3.5-20050130: No such file or
54 directory
55 * /usr/bin/gcc-config: Profile does not exist or invalid setting
56 for /etc/env.d/gcc/i586-pc-linux-gnu-3.3.5-20050130
57 /etc/env.d/gcc/i586-pc-linux-gnu-3.3.5-20050130 doesnt exist
58 gcc-config error: Could not run/locate "gcc"
59
60 Any hints on how to fix this?
61
62
63 --
64 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Problem updating gcc [SOLVED] Michael Sullivan <michael@××××××××××××.com>