I'm trying to update the software on my server box, but I keep getting
an error when I try to update gcc to 3.3.5.20050130-r1

* Configuring GCC with:
        --enable-version-specific-runtime-libs
        --prefix=/usr
        --bindir=/usr/i586-pc-linux-gnu/gcc-bin/3.3.5-20050130

--includedir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include
        --datadir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5-20050130

--mandir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5-20050130/man

--infodir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5-20050130/info

--with-gxx-include-dir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3
        --host=i586-pc-linux-gnu
        --disable-altivec
        --enable-nls
        --without-included-gettext
        --with-system-zlib
        --disable-checking
        --disable-werror
        --disable-libunwind-exceptions
        --disable-multilib
        --disable-libgcj
        --enable-languages=c,c++,f77
        --enable-shared
        --enable-threads=posix
        --enable-__cxa_atexit
        --enable-clocale=gnu

*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava zlib
fastjar target-libobjc
    (Any other directories should still work fine.)
Created "Makefile" in /var/tmp/portage/gcc-3.3.5.20050130-r1/work/build
using "mt-frag"
gcc-config error: Could not run/locate "gcc"
*** The command 'gcc -o conftest    conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

I don't understand this.  In the Makefile
in /var/tmp/portage/gcc-3.3.5-20050130/work/build I see CC set:

CC = gcc

One source of the problem could be this.  When I asked for the version
of gcc to report in this email I get this:

bullet build # gcc --version
/usr/bin/gcc-config: line
571: /etc/env.d/gcc/i586-pc-linux-gnu-3.3.5-20050130: No such file or
directory
 * /usr/bin/gcc-config: Profile does not exist or invalid setting
for /etc/env.d/gcc/i586-pc-linux-gnu-3.3.5-20050130
/etc/env.d/gcc/i586-pc-linux-gnu-3.3.5-20050130 doesnt exist
gcc-config error: Could not run/locate "gcc"

Any hints on how to fix this?


-- 
gentoo-user@gentoo.org mailing list

Reply via email to