1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > 报错:configure: error: no acceptable C compiler found in $PATH

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

时间:2023-04-02 11:43:14

相关推荐

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

运行以下命令报错:

./configure

错误:

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

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

sudo apt-get install build-essential

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