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. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-30-2006, 01:52 PM
|
#1
|
|
Member
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256
Rep:
|
cpp - I'm about to fail MY sanity check
Hello all. I'm trying to run a configure file programmed in c (snyce for kde, as it happens). It fails at the C Preprocessor (/lib/cpp failed sanity check) every time. I have all the applicable cpp apps installed from Livna (I'm running Fedora Core 5 x86_64), and gcc (including gcc-c++ and gcc-c) installed.
Does anyone have any idea why it might be repeatedly failing? Is there a simple test environment/procedure for this? I can post the log of the script that failed, or anything else that is needed.
Thanks everyone.
|
|
|
|
05-30-2006, 01:59 PM
|
#2
|
|
LQ Newbie
Registered: Oct 2004
Distribution: Debian Wheezy
Posts: 27
Rep:
|
I'm not sure, but try to check if you have installed g++ (not only gcc)
|
|
|
|
05-30-2006, 08:54 PM
|
#3
|
|
Member
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Rep:
|
You may be missing a symlink in /lib to /usr/bin/cpp
run "ln -sv /usr/bin/cpp /lib" just to make sure its there. Other than that I dont know. Sorry
|
|
|
|
05-30-2006, 09:11 PM
|
#4
|
|
Member
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256
Original Poster
Rep:
|
Quote:
|
Originally Posted by lord_shadow
I'm not sure, but try to check if you have installed g++ (not only gcc)
|
I did not see any package named g++.
|
|
|
|
05-30-2006, 09:28 PM
|
#5
|
|
Member
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256
Original Poster
Rep:
|
Quote:
|
Originally Posted by Daws
You may be missing a symlink in /lib to /usr/bin/cpp
run "ln -sv /usr/bin/cpp /lib" just to make sure its there. Other than that I dont know. Sorry
|
I created the link, but it did not change the situation.
|
|
|
|
06-01-2006, 09:30 PM
|
#6
|
|
Member
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256
Original Poster
Rep:
|
Update - I tried disabling SELinux, but that didn't do the trick.
I really need my C compiler to work... does anyone have an idea?
|
|
|
|
06-01-2006, 10:11 PM
|
#7
|
|
Member
Registered: May 2006
Distribution: Fedora 14
Posts: 71
Rep:
|
Compile Error
Do you see this behavior on all configure files? If not, then it is something specific to that one configure file. If you do see this behavior on all configure files, then it may be your compiler. If you suspect this, you could try to uninstall/reinstall your GCC/G++ packages. They should be available on your installation CD's.
Quote:
|
Originally Posted by RAdams
Hello all. I'm trying to run a configure file programmed in c (snyce for kde, as it happens). It fails at the C Preprocessor (/lib/cpp failed sanity check) every time. I have all the applicable cpp apps installed from Livna (I'm running Fedora Core 5 x86_64), and gcc (including gcc-c++ and gcc-c) installed.
Does anyone have any idea why it might be repeatedly failing? Is there a simple test environment/procedure for this? I can post the log of the script that failed, or anything else that is needed.
Thanks everyone.
|
|
|
|
|
07-24-2006, 06:00 PM
|
#8
|
|
LQ Newbie
Registered: Jul 2006
Location: France
Distribution: Debian/Ubuntu
Posts: 1
Rep:
|
Sorry my answer comes late, but this can help someone...
The needed symbolic links must be created. To do this, enter the following commands :
Code:
ln -s /usr/bin/g++-X.XX /usr/bin/g++
ln -s /usr/bin/gcc-X.XX /usr/bin/gcc
ln -s /usr/bin/cpp-X.XX /usr/bin/cpp
* X.XX is the version number
|
|
|
|
07-24-2006, 07:07 PM
|
#9
|
|
Member
Registered: Dec 2004
Posts: 125
Rep:
|
I had the same problem this weekend. I had to do a ghetto slack install cuz the box i was installing on was a pos and forgot some packages. After installing the kernel headers and binutils ( for as ) it worked fine.
Last edited by tgo; 07-24-2006 at 07:19 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|