您的位置:首页 > 其它

报错:configure: error: no acceptable C compiler found in $PATH

2018-05-07 17:01 513 查看

运行以下命令报错:

./configure

错误:

checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/hadoop1/softwares/protobuf-2.5.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

 

解决方法:安装很多基础包

sudo apt-get install build-essential

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐