Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge failing on ebuild [econf failed]
Date: Thu, 27 Dec 2007 21:33:13
Message-Id: 1198790826.5575.3.camel@NOTE_GENTOO64.PHHEIMNETZ
In Reply to: [gentoo-user] Re: emerge failing on ebuild [econf failed] by reader@newsguy.com
1 On Thu, 2007-12-27 at 13:45 -0600, reader@×××××××.com wrote:
2
3 > It didn't look like it.
4 > I don't have it now since I've found I the switch to minimal has
5 > caused my gcc to not be ready to compile binaries.
6 >
7 > I'm in there now with live cd trying to fix things up.
8 >
9 > I copied the livecd gcc binary on /mnt/gentoo/mybin.
10 > I've chrooted into the problem OS after mounting the livecd proc
11 > directory on it, and attempting to emerge gcc, after adding /mybin
12 > first in the $PATH variable.
13 >
14 > Here is that error message:
15 >
16 > [...]
17 >
18 > gcc-config error: Could not run/locate "gcc"
19 > *** The command 'gcc -o conftest conftest.c' failed.
20 > *** You must set the environment variable CC to a working compiler.
21 > *
22 > * ERROR: sys-devel/gcc-3.4.6-r2 failed.
23 > * Call stack:
24 > * ebuild.sh, line 46: Called src_compile
25 > * environment, line 4540: Called toolchain_src_compile
26 > * environment, line 5022: Called gcc_src_compile
27 > * environment, line 2903: Called gcc_do_configure
28 > * environment, line 2669: Called die
29 > * The specific snippet of code:
30 > * "${S}"/configure ${confgcc} $@ ${EXTRA_ECONF} || diefunc "$FUNCNAME" "$LINENO" "$?" "failed to run configure";
31 > * The die message:
32 > * failed to run configure
33 > *
34 >
35
36 It seems, your system tries to use a compiler it doesn't have. Run
37 "gcc-config -l". Then "gcc-config x" where x is the number of a working
38 config (most probably "1").

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: emerge failing on ebuild [econf failed] reader@×××××××.com