300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > linux 编译错误 configure: error: C++ compiler cannot create executables

linux 编译错误 configure: error: C++ compiler cannot create executables

时间:2023-12-05 17:39:05

相关推荐

linux 编译错误 configure: error: C++ compiler cannot create executables

今天装虚拟机LNMP环境

安装报错:configure: error: C++ compiler cannot create executables

这是因为 gcc 组件不完整,执行安装

yum install gcc gcc-c++

这样就可以解决了

查看gcc安装情况

rpm -qa | grep gcc

结果显示:

libgcc-4.1.2-54.el5

libgcc-4.1.2-54.el5

gcc-4.1.2-54.el5

gcc-c++-4.1.2-54.el5

这样就是安装正确了

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。