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

來源:互聯網
上載者:User

gentoo軟體安裝錯誤Active gcc profile is invalid解決辦法 版本:Gentoo Base System release 2.1時間:2013-3-21GCC : 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.3gentoo ~ # gcc-config -c * gcc-config: Active gcc profile is invalid!  [1] i686-pc-linux-gnu-4.6.3gentoo ~ # 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 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.