phayz's blog

…it's time for a new phayz of life

SOLVED – “configure: error: C++ preprocessor “/lib/cpp” fails sanity check”

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!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: