* [gentoo-user] recoverning from deleted gcc
@ 2006-07-29 1:00 James
2006-07-29 1:25 ` Ryan Tandy
0 siblings, 1 reply; 4+ messages in thread
From: James @ 2006-07-29 1:00 UTC (permalink / raw
To: gentoo-user
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:
<snip>
*** 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 conftest conftest.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.
<snip>
any suggestions as to how to recover, install gcc-3.3.6 again?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] recoverning from deleted gcc
2006-07-29 1:00 [gentoo-user] recoverning from deleted gcc James
@ 2006-07-29 1:25 ` Ryan Tandy
2006-07-29 1:48 ` Dale
2006-07-29 2:59 ` [gentoo-user] " James
0 siblings, 2 replies; 4+ messages in thread
From: Ryan Tandy @ 2006-07-29 1:25 UTC (permalink / raw
To: gentoo-user
James wrote:
> 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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] recoverning from deleted gcc
2006-07-29 1:25 ` Ryan Tandy
@ 2006-07-29 1:48 ` Dale
2006-07-29 2:59 ` [gentoo-user] " James
1 sibling, 0 replies; 4+ messages in thread
From: Dale @ 2006-07-29 1:48 UTC (permalink / raw
To: gentoo-user
Ryan Tandy wrote:
> James wrote:
>> 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.
>
> 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:
> root@smoker / # 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)
> root@smoker / # 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
> root@smoker / #
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: recoverning from deleted gcc
2006-07-29 1:25 ` Ryan Tandy
2006-07-29 1:48 ` Dale
@ 2006-07-29 2:59 ` James
1 sibling, 0 replies; 4+ messages in thread
From: James @ 2006-07-29 2:59 UTC (permalink / raw
To: gentoo-user
Ryan Tandy <tarpman <at> gmail.com> writes:
>
> James wrote:
> > 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.
>
> 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...
gcc-config -l
gcc-config 3.4.6
env-update && source /etc/profile && etc-update && update-eix && eupdatedb
eix gcc
* sys-devel/gcc
Installed: 3.4.6-r1
Worked like a charm. gcc 3.3.6 is gone and gcc-3.4.6-r1 is
working like a charm.
Thanks for the tip!
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-29 3:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-29 1:00 [gentoo-user] recoverning from deleted gcc James
2006-07-29 1:25 ` Ryan Tandy
2006-07-29 1:48 ` Dale
2006-07-29 2:59 ` [gentoo-user] " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox