歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

gentoo軟件安裝錯誤Active gcc profile is invalid解決辦法

gentoo軟件安裝錯誤Active gcc profile is invalid解決辦法   版本: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  
Copyright © Linux教程網 All Rights Reserved