Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: emerge failing on ebuild [econf failed]
Date: Thu, 27 Dec 2007 19:55:54
Message-Id: 87abnvkjkq.fsf@newsguy.com
In Reply to: Re: [gentoo-user] emerge failing on ebuild [econf failed] by Randy Barlow
1 Randy Barlow <randy@×××××××××××××××××.com> writes:
2
3 > reader@×××××××.com wrote:
4 >> I've pared down my system to a minimal state.
5 >>
6 >> emerge --depclean returns no actions needed, but I think it may have
7 >> gotten a litte too exuberant.
8 >>
9 >> revdep-rebuild wants to rebuild python but the emerge fails here:
10 >>
11 >>>>> Source unpacked.
12 >>>>> Compiling source in /var/tmp/portage/dev-lang/python-2.5.1-r4/work/Python-2.5.1 .
13 >> ..
14 >> * econf failed
15 >> [...]
16 >> * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.5.1-
17 >> r4/temp/environment'.
18 >> *
19 >>
20 >> [...]
21 >
22 > What's in this "[...]"? The error message that matters the most is
23 > likely to be in there...
24
25 It didn't look like it.
26 I don't have it now since I've found I the switch to minimal has
27 caused my gcc to not be ready to compile binaries.
28
29 I'm in there now with live cd trying to fix things up.
30
31 I copied the livecd gcc binary on /mnt/gentoo/mybin.
32 I've chrooted into the problem OS after mounting the livecd proc
33 directory on it, and attempting to emerge gcc, after adding /mybin
34 first in the $PATH variable.
35
36 Here is that error message:
37
38 [...]
39
40 gcc-config error: Could not run/locate "gcc"
41 *** The command 'gcc -o conftest conftest.c' failed.
42 *** You must set the environment variable CC to a working compiler.
43 *
44 * ERROR: sys-devel/gcc-3.4.6-r2 failed.
45 * Call stack:
46 * ebuild.sh, line 46: Called src_compile
47 * environment, line 4540: Called toolchain_src_compile
48 * environment, line 5022: Called gcc_src_compile
49 * environment, line 2903: Called gcc_do_configure
50 * environment, line 2669: Called die
51 * The specific snippet of code:
52 * "${S}"/configure ${confgcc} $@ ${EXTRA_ECONF} || diefunc "$FUNCNAME" "$LINENO" "$?" "failed to run configure";
53 * The die message:
54 * failed to run configure
55 *
56
57 --
58 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: emerge failing on ebuild [econf failed] Florian Philipp <lists@××××××××××××××××××.net>