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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



./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!


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux