configure: error: C++ compiler cannot create executables

来源:互联网 发布:icloud照片导入mac 编辑:程序博客网 时间:2024/05/28 16:27

./configure时报错:

configure:3259: error: in `/usr/local/mesos-1.2.0/build':configure:3261: error: C++ compiler cannot create executablesSee `config.log' for more details

后来查了一下相关资料后才发现是gcc的组件没有装全,我之前安装gcc时是通过yum方式:

yum install gcc

这样的话还是有组件没有安装完整的。再执行一下这个命令就可以解决问题:

yum install gcc gcc-c++ gcc-g77

作者:jiankunking 出处:http://blog.csdn.net/jiankunking

阅读全文
0 0
原创粉丝点击