/lib/cpp fails sanity check的解决方法
在某些软件的时候,运行./configure 会报错,错误提示为:
configure: error: C++ preprocessor “/lib/cpp” sanity check
check See `config.log’ for more details
解决办法:出现该情况是由于c++编译器的相关package没有安装,在终端上执行:
$ sudo yum install glibc-headers gcc-c++
建议安装系统里就把编译软件装上,少很多麻烦 。
转载于:https://blog.51cto.com/soige/1314599