openSUSE Forums > Applications » C preprocessor "/lib/cpp" fails sanity check

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read

Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-Jun-2009, 13:21
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 9
herbtheguy hasn't been rated much yet
Default C preprocessor "/lib/cpp" fails sanity check

whenever i try to run the ./configure command, this error appears. i tried installing almost everything gcc and cpp related, but that didnt fix anything. i also tried searching around, but none of the solutions seemed to work for me, the error just stayed the same. what should i try to do?
Reply With Quote
  #2 (permalink)  
Old 14-Jun-2009, 13:34
Knurpht's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 2,477
Knurpht has a spectacular reputation aura aboutKnurpht has a spectacular reputation aura aboutKnurpht has a spectacular reputation aura aboutKnurpht has a spectacular reputation aura about
Default Re: C preprocessor "/lib/cpp" fails sanity check

This is not much info you're giving. From some configure files I have from ALSA, I see that there's something more to the message. It says there should be a config.log with more information.

But we need more info. Which version are you running, which kernel (uname -r), architecture (32 / 64). Is it pretty much standard or did you mix in Factory packages????
__________________
- Athlon X2 6.0 GHz, 8 GB, 30 GB SSD, 1.5 TB, 9800GT, 11.2+KDE4 4.4
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, 11.2+KDE4 4.4

/usr/bin/make love, not war
Reply With Quote
  #3 (permalink)  
Old 14-Jun-2009, 13:45
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 9
herbtheguy hasn't been rated much yet
Default Re: C preprocessor "/lib/cpp" fails sanity check

sorry for the lack of information, i wasnt exactly sure what was important and what wasnt. there was a config.log, and it seems like it has something important. it is too long to fit in a post, so i guess ill just answer the questions you gave. my kernel version is 2.6.27.7-9-pae, im running a 32-bit architecture, and i have only installed stable releases of anything that could be relevant to this.
Reply With Quote
  #4 (permalink)  
Old 14-Jun-2009, 13:58
Knurpht's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 2,477
Knurpht has a spectacular reputation aura aboutKnurpht has a spectacular reputation aura aboutKnurpht has a spectacular reputation aura aboutKnurpht has a spectacular reputation aura about
Default Re: C preprocessor "/lib/cpp" fails sanity check

Can you give an example of something you're trying to compile?

If that is about kernel modules, did you install just the kernel-source or did you install the 'Linux Kernel Development' pattern. The latter should be the case.
If that is about (kde)programs, you might need to install -devel versions of libraries or called programs. It's already a good thing you didn't mix Factory packages.
__________________
- Athlon X2 6.0 GHz, 8 GB, 30 GB SSD, 1.5 TB, 9800GT, 11.2+KDE4 4.4
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, 11.2+KDE4 4.4

/usr/bin/make love, not war
Reply With Quote
  #5 (permalink)  
Old 14-Jun-2009, 14:10
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 9
herbtheguy hasn't been rated much yet
Default Re: C preprocessor "/lib/cpp" fails sanity check

well, right now, im trying to compile misfit model 3d (Misfit Model 3D - Home)

all that it seems to require is qt and mesa, and i already have them and the -devel versions, i followed all the advice in the guide to compiling it on the website, but none of it seems to help.
Reply With Quote
  #6 (permalink)  
Old 25-Jun-2009, 20:11
yww yww is offline
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 2
yww hasn't been rated much yet
Unhappy Re: C preprocessor "/lib/cpp" fails sanity check

我也遇到了同样的错误。我是在安装mysql的时候,./configure时候出现的这个错误。
Reply With Quote
  #7 (permalink)  
Old 25-Jun-2009, 20:13
yww yww is offline
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 2
yww hasn't been rated much yet
Default Re: C preprocessor "/lib/cpp" fails sanity check

错误信息如下:

linux-d5t6:~/mysql-5.0.45 # ./configure --prefix=/usr/local/mysql
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 "character sets"... default: latin1, collation: latin1_swedish_ci; compiled in: latin1 latin1 utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
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.
Reply With Quote
  #8 (permalink)  
Old 25-Jun-2009, 20:33
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 6,088
ken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputationken_yap has a brilliant future with this reputation
Default Re: C preprocessor "/lib/cpp" fails sanity check

I think it might be better to post in English, even not-so-good English, as nearly all people on the forum would not be able to read Chinese.

Also you should start a new thread instead of confusing people by adding to an existing thread. The reason for the problem may be different even though the symptoms look the same.

It looks like you are trying to build mysql 5.0.45? Why? openSUSE 11.1 provides 5.0.67. But maybe you are not running 11.1. You should give us more details, like your openSUSE version.
Reply With Quote
Reply

Bookmarks


Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.2