* [gentoo-user] Problem updating gcc
@ 2005-08-09 14:48 Michael Sullivan
2005-08-09 20:05 ` [gentoo-user] Re: Problem updating gcc [SOLVED] Michael Sullivan
0 siblings, 1 reply; 2+ messages in thread
From: Michael Sullivan @ 2005-08-09 14:48 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-user] Re: Problem updating gcc [SOLVED]
2005-08-09 14:48 [gentoo-user] Problem updating gcc Michael Sullivan
@ 2005-08-09 20:05 ` Michael Sullivan
0 siblings, 0 replies; 2+ messages in thread
From: Michael Sullivan @ 2005-08-09 20:05 UTC (permalink / raw
To: gentoo-user
On Tue, 2005-08-09 at 09:49 -0500, Michael Sullivan wrote:
> 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?
>
I ran gcc-config and fixed it. I apologize for this interruption...
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-09 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 14:48 [gentoo-user] Problem updating gcc Michael Sullivan
2005-08-09 20:05 ` [gentoo-user] Re: Problem updating gcc [SOLVED] Michael Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox