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