Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am installing the linux software, after tar the soft, I did ./configure,but got warning message:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
I could be wrong on this one, but I think you're missing the gcc or g++ compiler. I'd check to make sure you have these installed and give it another go.
The configure-script should produce a log file in the current directory.
You can also look at the file itself (e.g.less configure), and look for the word "sanity check." You can thereby see exactly what configure is trying to do, and why it is failing.
you are missing something from your development environment, unless you post the relevant portion of the config.log ( in the source directory you ran ./configure from) it's hard to say what it is. if the software needs the kernel headers and you don't have them installed it will do this, as well as other things but check the above.
Well, I find these in configure.log
Syntax error
configure:4002: /lib/cpp conftest.c
In file include from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11,
from conftest.c:13:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132:75: limits.h: No such file or
directory
limits.h IIRC comes from glibc, if you are on an rpm or debian based distro, you may need to install a package called glibc-devel. it could also come from the kernel-headers package ( sorry, I'm transferring music to portable right now on windows so I can't double check for a few more min.) note that the kernel-headers package is not the same as the kernel-source package, and when installing either glibc-devel or kernel-headers packages, you must make sure they are the correct ones ( do not install a mandrivia kernel-headers package on say a suse 9.3 system, or a suse 9.2 kernel-headers package on suse 9.3, your best bet when installing system packages like these is to grab them straight off of your install cd's/dvd or a official mirror for your distro and version).
as soon as my files get done transferring, I'll double check where that header file comes from.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.