LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-08-2006, 12:53 PM   #1
wtf2
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
onfigure: error: C++ preprocessor "/lib/cpp" fails sanity check


Hi 2 all. I am currently trying to get GTK+2 working on my slackware box, but since i installed G++ (3.4.5) using installpkg when a run a configure script of ANY program the following error occures:


checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
root@shadyrecords:~/downloads/updates/gtk+-2.8.0#

I went to COMPILING GTK+2, because when i installed it with installpkg there's another error from the scripts that they could not find GTK+2 installed on the system. I tried removing G++ and installing it again but it didnt help.

ALSO, THE PROBLEM ABOUT "SANITY CHECK" HAD NEVER OCCURED BEFORE I INSTALLED G++ ?! Any help would be appreciated, thanks.
 
Old 01-08-2006, 02:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Welcome to LQ,

And may I introduce you to our wonderful search-feature? :}

Searching for the exact error message gives us:

http://www.linuxquestions.org/questi...?postid=647188
http://www.linuxquestions.org/questi...s+sanity+check


Cheers,
Tink
 
Old 04-01-2006, 12:18 PM   #3
ankit4u1
Member
 
Registered: Apr 2006
Distribution: Red Hat, Fedora
Posts: 97

Rep: Reputation: 15
Well thanks for the reply.

I read those links. But I have already installed C++ compiler. In fact I have installed all the packages of fedora core 2. I selected COMPLETE INSTALLATION while installing fedora core 2.

I even tried out uninstalling those and again installing the compiler, but in vain.

Wat do i do now? m trapped....
 
Old 04-01-2006, 01:49 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Do you have glibc installed?
 
  


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
configure: error: C++ preprocessor "/lib/cpp" fails sanity check Mugatu Linux - Software 52 05-31-2012 10:27 AM
error: C++ preprocessor "/lib/cpp" fails sanity check marek345 Linux - Software 4 11-06-2008 09:49 AM
error: C preprocessor "/lib/cpp" fails sanity check Master Fox Linux - Software 0 10-14-2004 03:39 PM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check HELP Ckesey Linux - Software 0 10-04-2004 09:49 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check raela Linux - Software 6 03-16-2004 05:59 PM


All times are GMT -5. The time now is 12:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration