码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-05-07 17:40:03      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:install   div   x86_64   很多   targe   main   ons   spec   compiler   

运行以下命令报错:

./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

 

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

标签:install   div   x86_64   很多   targe   main   ons   spec   compiler   

原文地址:https://www.cnblogs.com/xym4869/p/9003689.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!