"no acceptable C compiler found in $PATH"解决手记

简介:

这个问题一般都出现在 ./configure 生成makefile,发现没有gcc套件的时候,

报错:  "no acceptable C compiler found in $PATH"

解决办法:安装gcc套件   yum intall gcc


安装完之后,最好还得安装gcc-c++,否则又会提示报错

        error: You need a C++ compiler for C++ support

解决办法:yum install gcc-c++




     本文转自布拉君君 51CTO博客,原文链接:http://blog.51cto.com/5148737/1588589,如需转载请自行联系原作者

相关文章
|
2月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
35 0
|
2月前
|
JavaScript 程序员 Swift
The compiler is unable to type-check this expression in reasonable time; try breaking up the express
The compiler is unable to type-check this expression in reasonable time; try breaking up the express
34 0
|
11月前
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
241 0
|
关系型数据库 MySQL C++
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
308 0
|
Java Linux
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
No matching configuration of project :libusb was found.
No matching configuration of project :libusb was found.
536 0
libvpx enabled but no supported decoders found
libvpx enabled but no supported decoders found
150 0
|
Java
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
94 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
161 0
|
并行计算 PyTorch 算法框架/工具
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决