您的位置:首页 > 其它

./configure: error: C compiler cc is not found 解决方案

2016-05-23 22:14 204 查看
在安装配置nginx时报错:

./configure: error: C compiler cc is not found

确认自己是安装了gcc的。

在网上查了很多资料都不管用。最后解决方法:

whereis gcc

gcc: /usr/bin/gcc /usr/lib/gcc

cd /usr/bin/

ls -alh gcc

gcc -> gcc-4.9

sudo ln -s gcc-4.9 cc

问题解决!

感谢zyf大神!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: