Blog of Alexander Mamchenkov … mammoth cave …

Sanity check failure

16:02 01/06/2005 · Posted in Technology

Few times I faced the problem while running configure scripts that were telling me:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor \"/lib/cpp\" fails sanity check

since I am not in the mood of searching google for the solution every time this happens I decided to post a reminder here.

The idea is that \”gcc-c++\” (or similar thing I believe) have to be installed. Anyway – I solved problem by running:

apt-get install gcc gcc-c++

Leave a Reply