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

Posted Shaw_喆宇

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了报错:configure: error: no acceptable C compiler found in $PATH相关的知识,希望对你有一定的参考价值。

运行以下命令报错:

./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的主要内容,如果未能解决你的问题,请参考以下文章

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

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

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

npm run serve 启动前端vue工程报错:Error: No ESLint configuration found

checking for termcap functions library... configure: error: No curses/termcap library found

log4j报错ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging o