LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2007, 09:57 PM   #1
zoidb3rg
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
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)

Last edited by zoidb3rg; 04-26-2007 at 10:11 PM.
 
Old 04-27-2007, 05:20 AM   #2
zoidb3rg
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: C++ preprocessor "/lib/cpp" fails sanity check marek345 Linux - Software 4 11-06-2008 10:49 AM
error: C++ preprocessor "/lib/cpp" fails sanity check i.you Linux - Software 3 03-06-2007 03:24 AM
error: C preprocessor "/lib/cpp" fails sanity check ankit4u1 Linux - Software 2 04-02-2006 01:24 PM
C++ preprocessor "/lib/cpp" fails sanity check Julian Fidge Linux - Software 29 03-15-2005 02:18 AM
error: C preprocessor "/lib/cpp" fails sanity check Master Fox Linux - Software 0 10-14-2004 04:39 PM


All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration