gcc 出错 gcc-config: Active gcc profile is invalid!, 解决方法
2010-05-31 10:00
375 查看
http://forums.gentoo.org/viewtopic.php?t=27486
This is usually caused by
doing an emerge world that includes a gcc upgrade. What happens is, the
new gcc is compiled, but the ebuild fails to switch your system to the
new compiler. Before trying any of the solutions above, try doing:
You should be presented with a list of GCC versions that are available
on your machine. Each version has a number next to it. Find the latest
version of gcc's number, (for example, 1), and type:
...to switch to the new compiler. Then,
... and continue emerging or whatever you were doing.
This is usually caused by
doing an emerge world that includes a gcc upgrade. What happens is, the
new gcc is compiled, but the ebuild fails to switch your system to the
new compiler. Before trying any of the solutions above, try doing:
Code: |
# gcc-config |
on your machine. Each version has a number next to it. Find the latest
version of gcc's number, (for example, 1), and type:
Code: |
# gcc-config 1 |
Code: |
# source /etc/profile |
相关文章推荐
- gcc-config: Active gcc profile is invalid解决办法
- Gentoo软件安装错误gcc-config: Active gcc profile is invalid解决办法
- "package gcc-4.4 is not available, but is referred to by another package", 安装gcc时出错的解决方法
- make menuconfig出错解决方法
- Python中用eval将字符串转换为字典时候出错:NameError: name ‘null’ is not defined的解决方法
- jspsmartupload Files' name is invalid or does not exist的解决方法
- ORA-01153: an incompatible media recovery is active(产生原因及解决方法)
- SSH框架 Bean property * is not writable or has an invalid setter method错误分析与解决方法
- Another active Homebrew process is already using mysql问题的解决方法
- 关于Files' name is invalid or does not exist的解决方法
- linux下用gcc编译使用了math库函数的程序出错的解决方法
- webconfig文件serviceHostingEnvironment节点出错的解决方法
- Maven错误:XXX时出错; invalid LOC header (bad signature)的解决方法
- gradle -v时报ERROR:JAVA_HOME is set to an invalid directory xxx解决方法
- linux MYSQL Warning: World-writable config file './my.cnf' is ignored解决方法
- make menuconfig出错解决方法
- ldconfig提示“is not a symbolic link”的解决方法
- Web.Config中使用特殊字符出错解决方法
- FCK编辑器空白,报错:FCKConfig is not defined, FCKBrowserInfo is not defined解决方法
- Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)解决方法