LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   C++ preprocessor "/lib/cpp" fails sanity check (https://www.linuxquestions.org/questions/linux-newbie-8/c-preprocessor-lib-cpp-fails-sanity-check-549345/)

zoidb3rg 04-26-2007 08:57 PM

C++ preprocessor "/lib/cpp" fails sanity check
 
Hi,

I know there are already similar posts to this but (as far as I can tell!) I might need a slightly different resolution...

On trying to configure libogg

C++ preprocessor "/lib/cpp" fails sanity check

Config.log reads:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

uname -m = i686
uname -r = 2.6.9-023stab040.1-smp
uname -s = Linux
uname -v = #1 SMP Mon Jan 15 22:29:34 MSK 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
"config.log" 1021L, 27444C

From what i've read im guessing that my GCC doesnt have the right C++ components. I've tried to install gcc-c++-4.0.2-8.fc4.x86_64.rpm and get this error:

error: Failed dependencies:
libc.so.6()(64bit) is needed by gcc-c++-4.0.2-8.fc4.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by gcc-c++-4.0.2-8.fc4.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by gcc-c++-4.0.2-8.fc4.x86_64
libstdc++-devel = 4.0.2-8.fc4 is needed by gcc-c++-4.0.2-8.fc4.x86_64

I then tried glibc-common-2.3.5-10.i386.rpm (on the basis that it showed up when I searched) it turned up:

warning: glibc-common-2.3.5-10.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
glibc > 2.3.5 conflicts with glibc-common-2.3.5-10.i386

All of the rpms have been listed as appropriate my my system (fedora c4) - I'm new to all this stuff so think i'm stabbing in the dark - any suggestions would be greatly appreciated!

If this helps at all gcc -v:


Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

zoidb3rg 04-27-2007 04:20 AM

Turns out i just needed a good nights sleep - If anyone finds this thread looking for an answer check here:

http://www.webhostingtalk.com/showthread.php?t=565563


All times are GMT -5. The time now is 10:33 AM.