Linux - NewbieThis 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
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'm fairly sure this question has been asked but I can't find an answer for my own problem.
Whenever I try to configure any Tarball on Mandrake 10 I seem to get the same response, despite the fact that I seem to have GCC installed. (... see the last command lines)
Can anyone help?
[root@192 pixieplus-0.5.4]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
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
[root@192 pixieplus-0.5.4]# cd ..
[root@192 pixieplus]# cd ..
[root@192 marie]# cd downloads
[root@192 downloads]# rpm -Uvh gcc-3.3.2-6mdk.i586.rpm
Preparing... ########################################### [100%]
package gcc-3.3.2-6mdk is already installed
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
It seems that you have the C compiler installed (gcc) but not the C++ extension for it. This should be on the Mandrake CD's, under Development Tools (Or similar).
Thanks for the advice, the GCC C++ package was not installed, so
I reloaded the MDK10 setup disks, found the package and installed from Disk 1 & 4, I also ran ldconfig after seeing it suggested elsewhere.....what does this actually do?
Here's the latest,
Tried to install the Gimp2 tarball but found there were several other 'dependencies' to install first.
Downloaded these (pango, ATK etc) but after installing the Glib tarball, I don't seem to be able to configure pango etc.....tells me there is a problem with Glib!
Feel like I'm running in ever-decreasing circles!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.