Tips, Tricks and Information for the Modern Technologist

C++ Compiler


Posted 2nd October in Code Samples, Linux, Shell. Comments Off

I you are trying to compile software on a new system, and you get this error:

1
2
3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Then you need to install the gcc-c++ compiler:

1
2
3
# yum install gcc-c++
or
# sudo apt-get install gcc-c++

Installing gpp or gcc themselves is not enough.



Dave Drager+ is the VP of Technology Development at Razor Servers (contact him for a great deal on dedicated servers). He has written previously for the technology blogs Lifehacker and MakeUseOf.


Comments are closed.