./configure: error: "/lib/cpp" fails sanity check SOLVED

nospam@nospam.net nospam@nospam.net
Sun Jan 22 21:29:00 GMT 2006

./configure: error: "/lib/cpp" fails sanity check 

This problem was solved by adding a symlink as shown below.

Thanks to Exeon at:

He said:
>I know this shouldn't be right.
>gcc was already installed on my machine but I still got:
>C++ preprocessor "/lib/cpp" fails sanity check
>I looked at config.log and it said something like:
>cc1plus command not found

>i found cc1
>so I linked it in /usr/bin
>ln -s /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/cc1 cc1plus

>voila: all working

So, I added:
asus:/usr/bin# ln -s /usr/lib/gcc/i486-linux-gnu/4.0.3/cc1 cc1plus


More information about the Gcc-help mailing list