From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E2bII-0002DR-Tb for garchives@archives.gentoo.org; Tue, 09 Aug 2005 21:05:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j79L3A2Y004908; Tue, 9 Aug 2005 21:03:10 GMT Received: from bullet.espersunited.com (24-117-226-93.cpe.cableone.net [24.117.226.93]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j79KuY73001744 for ; Tue, 9 Aug 2005 20:56:35 GMT Received: from baby.espersunited.com (baby.espersunited.com [192.168.1.3]) by bullet.espersunited.com (8.13.3/8.13.3) with ESMTP id j79K6Yx5010309 for ; Tue, 9 Aug 2005 15:09:49 -0500 Subject: [gentoo-user] Re: Problem updating gcc [SOLVED] From: Michael Sullivan To: gentoo-user In-Reply-To: <1123598919.11285.20.camel@baby.espersunited.com> References: <1123598919.11285.20.camel@baby.espersunited.com> Content-Type: text/plain Date: Tue, 09 Aug 2005 15:05:50 -0500 Message-Id: <1123617951.11287.25.camel@baby.espersunited.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8c963da4-d113-42b9-8519-d66465c3ab73 X-Archives-Hash: 7e6dc06614bcad6c075a20d1f6135cce 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