Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-01-2006, 10:57 AM   #1
Registered: Apr 2006
Distribution: Red Hat, Fedora
Posts: 97

Rep: Reputation: 15
error: C preprocessor "/lib/cpp" fails sanity check


I am new to linux. I just installed fedora core 2.I want to hear mp3 songs.So i tried to install xine for that purpose. i installed it from tettang.

I installed the following packages:

Then, i unpacked xine-lib-1.1.1.tar.gz by tar xfvz xine-lib-1.1.1.tar.gz. Everything was ok

Then, i did cd xine-lib-1.1.1.tar.gz, that too ok

Then, ./configure . Here i got one error exactly like this

checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

What should I do now?
nothing works after that !!! no make and no install...
Plz help me out !!! m bugged up ! and do lemme know the whole procedure including where i.e. in which directories these files will be installed and how to run those after installation.

Hope to get a reply soon.Thanks.
Old 04-02-2006, 11:42 AM   #2
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Rep: Reputation: 30
Ehm... if the manual compilation doesn't work for you, you could try to install xine rpm-packages. They can be located either on the installation cd (I think, haven't used FC for a loooong loooong time), or they can be fetched from internet somewhere (try for example). Then go to the console type "rpm -ivh package_name.rpm" and voila. Install first xine-lib, then the ui-package. You may well get errors telling you that some packages are missing. You'll have to download and install those packages as well.

Though you could also try some other alternative players. Xine isn't really a music player, but more a video player (though it can of course play both). You could give XMMS a try (very similar to older WinAmp versions). Otherwise just google around a bit; search for something like "audio player linux"...

The error itself seems really bizarre to me. Something wrong with FC installation may be?
Old 04-02-2006, 12:24 PM   #3
Registered: Apr 2006
Distribution: Red Hat, Fedora
Posts: 97

Original Poster
Rep: Reputation: 15
thanks !!

hey thanks for the reply ,

Well I tried everything, but in vain. As it was taking more time in debugging the error, so finally i decided to reinstall FC2. And finally it worked out for me. Everything is okie now.

It seemed dat the C++ library got corrputed. Any ways thanks for all d help !!!!

M learning LINUX fast ...interesting OS it is!!!!


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 09:49 AM
onfigure: error: C++ preprocessor "/lib/cpp" fails sanity check wtf2 Linux - Software 3 04-01-2006 01:49 PM
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 - Newbie 3 10-04-2004 01:58 PM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check raela Linux - Software 6 03-16-2004 05:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 AM.

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