红联Linux门户
Linux帮助

gentoo : error: C compiler cannot create executables

发布时间:2009-04-14 00:59:29来源:红联作者:刘冲
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
*
* ERROR: sys-devel/gcc-4.3.2-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4806: Called toolchain_src_compile
* environment, line 5327: Called gcc_src_compile
* environment, line 3066: Called gcc_do_configure
* environment, line 2780: Called die
* The specific snippet of code:
* "${S}"/configure "$@" || die "failed to run configure";
* The die message:
* failed to run configure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
*

>>> Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:

>>> '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'

* Messages for package sys-devel/gcc-4.3.2-r3:

*
* ERROR: sys-devel/gcc-4.3.2-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4806: Called toolchain_src_compile
* environment, line 5327: Called gcc_src_compile
* environment, line 3066: Called gcc_do_configure
* environment, line 2780: Called die
* The specific snippet of code:
* "${S}"/configure "$@" || die "failed to run configure";
* The die message:
* failed to run configure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
* The ebuild environment f
文章评论

共有 1 条评论

  1. 刘冲 于 2009-04-14 01:17:41发表:

    [i=s] 本帖最后由 刘冲 于 2009-4-14 01:23 编辑 [/i]

    gcc-config error: Could not run/locate "gcc"
    emerge python?
    来了个gcc-config x86_64-pc-linux-gnu-4.3.2,完成