Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 09-25-2005, 02:07 PM   #1
LQ Newbie
Registered: Apr 2005
Location: Somewhere
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
/lib/cpp fails sanity check on KUbuntu

I am trying to install Anjuta-1.2.4, a C/C++ compiler for Linux. I am using KUbuntu and in order to install Anjuta I must install pkgconfig.

I go to my root terminal and type "./configure" in the pkgconfig file.

I get this:

/lib/cpp fails sanity check.

I am using gcc which i installed using sudo apt-get install gcc

why am I failng the sanity check!

All I want to do is install Anjuta!

Since I am new to Linux any help would be greatly appreciated.

EDIT: Ok, I searched around and found that post about this. But now I have a new problem:

I am trying to install GCC-4.0.1

when I type ./configure it says this:

"building in the soruce directory is not supported in this release."

how do I conigure it so i can run "make"?

ok, nm, I installed GCC-4.0.1, but I'm still failing the sanity check...

Last edited by Cipher01; 09-25-2005 at 02:39 PM.
Old 09-25-2005, 03:45 PM   #2
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
make a dir called..........gcc-build
cd into it and configure from there.......example...
../gcc-GCC-4.0.1 ./configure

<edit/> the sanity check is telling you that the gcc version you have installed........IS NOT the gcc-version used to compile the current running should re-compile a new kernel........

Last edited by freakyg; 09-25-2005 at 03:48 PM.
Old 09-25-2005, 09:28 PM   #3
LQ Newbie
Registered: Apr 2005
Location: Somewhere
Distribution: Fedora Core 5
Posts: 12

Original Poster
Rep: Reputation: 0
sadly, being new to Linux, I don't even know how to compile a kernel, also I figured something out:


Alternativly, you can configure ANJUTA_CFLAGS and ANJUTA_LIBS so they no longer need to call pkgconfig.

They are enviornment variables, how do I change them?


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 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
/lib/cpp fails sanity check error message lansman Linux - Software 3 11-07-2003 07:37 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration