This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
./configure: error: "/lib/cpp" fails sanity check SOLVED
- From: nospam at nospam dot net
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 22 Jan 2006 13:32:16 -0800
- Subject: ./configure: error: "/lib/cpp" fails sanity check SOLVED
./configure: error: "/lib/cpp" fails sanity check
This problem was solved by adding a symlink as shown below.
Thanks to Exeon at:
http://www.linuxquestions.org/questions/showthread.php?t=124961
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
>/usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/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
Volla!