configure: error: c preprocessor cpp fails sanity check

From WebHostingNeeds.com
Jump to: navigation, search
yum install gcc-c++
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

This error is due to gcc-c++ not installed on the server. Install it with

yum install gcc-c++