[NTLUG:Discuss] configure: error: C++ preprocessor "/lib/cpp" fails sanity check

Rev. wRy slot0k at pogox.org
Wed Feb 9 10:35:29 CST 2005


On Wed, 2005-02-09 at 08:26, Terry wrote:

> > /lib/cpp is not your real problem.  You're missing g++, and all of it's
> > files.  OK, you might be missing gcc too, which would include cpp, but
> > until you get a C++ compiler that it recognizes, you'll never get
> > anywhere. :-)  So make sure you have gcc installed, if not, do so; and
> > install g++.
> > 
> 
> yum reports: "gcc is installed and is the latest version."
> rpm -qa |grep gcc
> gcc-gnat-3.3.2-1
> libgcc-3.3.2-1
> gcc-java-3.3.2-1
> compat-gcc-7.3-2.96.118
> compat-gcc-c++-7.3-2.96.118
> gcc32-3.2.3-6
> gcc-3.3.2-1
> ls -l /lib/cpp /usr/bin/cpp
> lrwxrwxrwx  1 root root    14 Feb  8 19:57 /lib/cpp -> ../usr/bin/cpp
> -rwxr-xr-x  1 root root 81364 Oct 23  2003 /usr/bin/cpp

gcc-c++
isn't on that list.

you may want to try 'yum -y install gcc-c++' and give it another go.

R





More information about the Discuss mailing list