SOLVED – “configure: error: C++ preprocessor “/lib/cpp” fails sanity check”
20 July 2010
Posted by on
I was recently trying to compile the Equinox GTK engine but the “configure” command returned the above error message and prompted me to look at the contents of config.log for further details. When I looked in that file I got messages telling me that certain files ending in “.h” were not found. This was one of those situations where I knew I had had this problem before but couldn’t remember what the solution had been. A little Internet searching suggested that I was missing the kernel headers and since that sounded right to me I then installed the kernel-headers package and my problem was solved!