configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

缺少库文件,解决方法:

# yum install glibc-headers gcc-c++