configure: error: C++ preprocessor “/lib/cpp” fails sanity
码界孔乙己 2014-01-01 03:19:30 /lib/cpp fails sanity check的解决
在某些软件的时候,运行./configure 会报错,错误提示为:
configure: error: C++ preprocessor “/lib/cpp” fails sanity
check See `config.log’ for more details
解决办法:出现该情况是由于c++编译器的相关package没有安装:
# yum install gcc-c++