"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,如需转载请自行联系原作者

相关文章
libtool: Version mismatch error 解决
libtool: Version mismatch error 解决
754 0
|
5月前
|
Python
ERROR: Could not find a version that satisfies the requirement thop (from versions: none) ERROR: No
这篇文章介绍了在尝试安装`thop`包时遇到的"No matching distribution found"错误,并提供了通过直接从GitHub源码安装`thop`的解决方法。
ERROR: Could not find a version that satisfies the requirement thop (from versions: none) ERROR: No
|
8月前
|
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
93 0
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
337 0
|
关系型数据库 MySQL C++
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
573 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.
618 0
|
Unix
clang: error: unknown argument: ‘-fpch-deps‘
clang: error: unknown argument: ‘-fpch-deps‘
128 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
152 0
libtool: Version mismatch error
libtool: Version mismatch error
112 0

热门文章

最新文章