Linux - SoftwareThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am running Mandrake 9.2 and just came across this error when I tried to compile KMud.
checking for g++... g++
checking whether the C++ compiler (g++ -s) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
I then did a search on this site, but it seems most people who have an error similar to this have a problem with gcc and compiling C code. I have all the gcc-devel packages installed, however in the Software Manager I did not see anything pertaining to g++. Does anyone know how to fix this?
I just tried compiling another program, a different MUD client, and I got this error:
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Well, what it says is that it cannot compile programs..
I've had it once on my RedHat when I somehow messed up my gcc libraries, the fix for me was to reinstall gcc.
You may try to run as root 'ldconfig' so it may fix it for you, but you may also need to reinstall all of you gcc stuf. And if you want to compile gcc yourself make sure you follow compile instructions cause it is not that simple...