Re: [gentoo-user] recoverning from deleted gcc

2006-07-28 Thread Dale
Ryan Tandy wrote:
> James wrote:
>> gcc-config error: Could not run/locate "gcc"
>> *** The command 'gcc -o conftestconftest.c' failed.
>> *** You must set the environment variable CC to a working compiler.
>
> Run 'gcc-config -l' (letter L, not number 1), and then run gcc-config
> again with the number of the first 3.4 compiler in the list (e.g.
> 'gcc-config 1').  Then try your emerge again.  If emerge is still
> working even with 3.3 gone, however, there's a decent chance you don't
> need 3.3...

I think you are right.  I have this on mine:

> [EMAIL PROTECTED] / # equery list gcc
> [ Searching for package 'gcc' in all categories among: ]
>  * installed packages
> [I--] [  ] sys-devel/gcc-3.3.5.20050130-r1 (3.3)
> [I--] [ -] sys-devel/gcc-3.4.6-r1 (3.4)
> [I--] [  ] sys-devel/gcc-config-1.3.13-r3 (0)
> [I--] [  ] x11-misc/gccmakedep-1.0.2 (0)
> [EMAIL PROTECTED] / # gcc-config -l
>  [1] i686-pc-linux-gnu-3.3.5-20050130
>  [2] i686-pc-linux-gnu-3.3.5-20050130-hardened
>  [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
>  [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
>  [5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
>  [6] i686-pc-linux-gnu-3.4.6 *
>  [7] i686-pc-linux-gnu-3.4.6-hardened
>  [8] i686-pc-linux-gnu-3.4.6-hardenednopie
>  [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
>  [10] i686-pc-linux-gnu-3.4.6-hardenednossp
> [EMAIL PROTECTED] / #

As you can see, I am using 3.4.6 and 3.3.5 is just still hanging
around.  I guess I need to get rid of that.  ;-)

Dale

:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recoverning from deleted gcc

2006-07-28 Thread Ryan Tandy

James wrote:

gcc-config error: Could not run/locate "gcc"
*** The command 'gcc -o conftestconftest.c' failed.
*** You must set the environment variable CC to a working compiler.


Run 'gcc-config -l' (letter L, not number 1), and then run gcc-config 
again with the number of the first 3.4 compiler in the list (e.g. 
'gcc-config 1').  Then try your emerge again.  If emerge is still 
working even with 3.3 gone, however, there's a decent chance you don't 
need 3.3...

--
gentoo-user@gentoo.org mailing list



[gentoo-user] recoverning from deleted gcc

2006-07-28 Thread James
Hello,

Several poor decisions has led to a system with no gcc-3.3.6. only 3.4.

emerge -v =sys-devel/gcc-3.3.6

fails:


*** 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.6/work/build using "mt-frag"
gcc-config error: Could not run/locate "gcc"
*** The command 'gcc -o conftestconftest.c' failed.
*** You must set the environment variable CC to a working compiler.

!!! ERROR: sys-devel/gcc-3.3.6 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1508:   Called gcc_do_configure
  toolchain.eclass, line 1308:   Called die

!!! failed to run configure
!!! If you need support, post the topmost build error, and the call stack if
relevant.


any suggestions as to how to recover, install gcc-3.3.6 again?


James

-- 
gentoo-user@gentoo.org mailing list