Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st June 2006, 02:53 AM
cruiserparts Offline
Registered User
 
Join Date: Apr 2006
Posts: 4
I'm losing my sanity with /lib/cpp" fails sanity check

A friend of mine put a "server install" of fc5 on my machine. I have spent hours trying to fix this problem. It is happening on snort and open vpn. I have searched the forums and it seems like I have everything installed. I have removed and installed various compilers and installed the group development tools.

Can anybody help me troubleshoot this. I just don't get it. Everytime I read something I say, that will fix it. I cross my fingers and nothing changes.

The problem is configure: error: C preprocessor "/lib/cpp" fails sanity check

info below. Thanks


[root@blackbox snort-2.4.4]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking whether byte ordering is bigendian... no
checking for sparc alignment... no
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Reply With Quote
  #2  
Old 1st June 2006, 04:17 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Uh, snort's in Extras.
Code:
yum install snort
Done.

Look at the config.log file if you're curious, however.
Reply With Quote
  #3  
Old 1st June 2006, 04:34 AM
cruiserparts Offline
Registered User
 
Join Date: Apr 2006
Posts: 4
Quote:
Originally Posted by Jman
Uh, snort's in Extras.
Code:
yum install snort
Done.

Look at the config.log file if you're curious, however.
Not sure what you mean? What did I do wrong.

Yum install snort tells me "nothing to do"

I have used yum and yum extender to install snort and it never seems to work correctly. It goes through the motions and the software never shows up anywhere in the filesystem, which is why I was trying to install from the tar file.

What would I look for in my config.log file?

I'm stumped.

j
Reply With Quote
  #4  
Old 2nd June 2006, 12:42 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
You can do a whole lot with rpm, including finding out where stuff is.
Code:
rpm --query --list snort
config.log should be in the same directory you ran configure from.
Reply With Quote
  #5  
Old 2nd June 2006, 01:50 PM
cruiserparts Offline
Registered User
 
Join Date: Apr 2006
Posts: 4
After completely removing all parts of snort and reinstalling with yum, it now works. Thanks for the help!
Reply With Quote
Reply

Tags
check, fails, sanity

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rror: C++ preprocessor "/lib/cpp" fails sanity check JCMS Using Fedora 0 8th January 2008 02:07 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check darkbluecast Installation and Live Media 43 16th June 2006 12:19 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check jeffparis Using Fedora 2 20th February 2006 02:31 AM
error: C++ preprocessor "/lib/cpp" fails sanity check jort Using Fedora 6 23rd July 2005 09:24 PM
configure: error: C preprocessor "/lib/cpp" fails sanity check m1rr0r Using Fedora 4 10th October 2004 10:15 PM


Current GMT-time: 04:27 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat