Jump to content

C++ Preprocessor Failed Sanity Check


Recommended Posts

OK, I'm trying to compile LibSDL_Devel, as the rpm tells me that I've got everyhting installed, which I obviously haven't :P

A way through the configure command, I get the message that the C++ preprocessor failed a sanity check. Even if there is a way to get LibSDL_Devel installed without manual compile, this looks serious enough to need proper fixing.

 

Thanks

 

-Leezer-

Link to comment
Share on other sites

Post the errors. How can we help if we don't know what's wrong?  :D

Eh? What other errors do you want?

It tells me that it's checking G++

Directory is /lib/cpp

Then I am told that the C++ preprocessor failed a sanity check & it stops.

That's all I can really give you. Anything more & I will need instructions. (I can post a copy of config.log if you want)

 

-Thanks-

 

Leezer

Link to comment
Share on other sites

Just to make sure you have all your gcc packages installed, post the output of:

 

$ rpm -qa | grep gcc

 

this is what I get with mdk10.1 Official:

 

$ rpm -qa | grep gcc
gcc-c++-3.4.1-4mdk
gcc-3.4.1-4mdk
libgcc1-3.4.1-4mdk
gcc-cpp-3.4.1-4mdk

 

If any of the above packages are missing, install them with:

 

# urpmi <package name>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...