Gentoo software installation error Active gcc profile is invalid solution version: Gentoo Base System release 2.1 time: 2013-3-21GCC: gcc version 4.6.3 (Gentoo 4.6.3 p1.11, pie-0.5.2) after installing with a install-x86-minimal-20121213, upgrade the system to the latest, and then install some software, there will be an approximate similar error >>> 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' solution: gentoo ~ # Gcc-config-l * gcc-config: Active gcc profile is invalid! I686-pc-linux-gnu-4.6.3gentoo ~ # Gcc-config-c * gcc-config: Active gcc profile is invalid! 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