版本:Gentoo Base System release 2.1
时间:2013-3-21
GCC : gcc version 4.6.3 (Gentoo 4.6.3 p1.11, pie-0.5.2)
在用install-x86-minimal-20121213安装完之后,将系统升级至最新后,再安装一些软件,会出现下面大概类似的错误
>>> Failed to emerge net-misc/curl-7.29.0-r1, Log file:
>>> '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log'
* Messages for package net-misc/curl-7.29.0-r1:
* ERROR: net-misc/curl-7.29.0-r1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
.......
* phase-helpers.sh, line 518: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=net-misc/curl-7.29.0-r1'`,
* the complete build log and the output of `emerge -pqv '=net-misc/curl-7.29.0-r1'`.
* The complete build log is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.29.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0'
* S: '/var/tmp/portage/net-misc/curl-7.29.0-r1/work/curl-7.29.0'
解决方法:
gentoo ~ # gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.6.3
gentoo ~ # gcc-config -c
* gcc-config: Active gcc profile is invalid!
[1] i686-pc-linux-gnu-4.6.3
gentoo ~ # gcc-config i686-pc-linux-gnu-4.6.3
* Switching native-compiler to i686-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache... [ ok ]
* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* . /etc/profile
gentoo ~ # . /etc/profile
阅读(2589) | 评论(0) | 转发(0) |