首页> 开发问题 >其它问题 其它问题
报错:configure: error: no acceptable C compiler found in $PATH
作者:小萝卜 2019-12-10 【 其它 】 浏览 3118
简介报错: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
很赞哦! (3)
相关文章
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- idea maven 报-source 1.5 中不支持 diamond 运算符
- Java compiler level does not match the version of the installed Java project facet
- ImportError: cannot import name 'BaseDataset' from 'src.dataset'
- Maven C盘用户文件下没有.m2
- tf.matmul()报错expected scalar type Float but found Double
- 关于windows10上的sourcetree突然打不开的问题的解决策略
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- bash: hadoop:command not found
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
