LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-17-2010, 04:18 PM   #1
angelo_maci
Member
 
Registered: Apr 2006
Posts: 62

Rep: Reputation: 15
lib/cpp fails sanity check


Hi
I am trying to build some programs like lmms or qtraktor
but I often get the reported error.
Can someone tell me how to avoid it?
thanks in advance
 
Old 03-17-2010, 04:25 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Installing gnu c++ (g++/gcc-c++) usually fixes that error. Do it through the package manager. Did you install the 'build essentials' for your distribution?
 
Old 03-17-2010, 05:13 PM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Some times you need to sit down with your compiler and talk to it. Let it cry it out, and if that doesn't work put it on medication. Get it? Sanity?

But no, this generally happens when you don't have a cpp compiler.
 
Old 03-17-2010, 05:15 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
sudo apt-get install g++ libc6-dev

( build-essential is mostly for building ".deb" packages.)

.....

Last edited by knudfl; 03-17-2010 at 05:17 PM.
 
  


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
/lib/cpp" fails sanity check rajim Linux - Software 8 05-02-2009 03:33 AM
/lib/cpp fails sanity check problem Varius Linux - Software 1 08-26-2005 01:13 AM
configure /lib/cpp fails sanity check johnlittlepeap Fedora 0 12-07-2004 06:52 AM
/lib/cpp fails sanity check? NonSumPisces Linux - Software 2 10-02-2004 08:46 AM
??? c++ prprocessor /lib/cpp fails sanity check ???? Killah Linux - Newbie 7 03-30-2004 03:39 PM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
Advertisement
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