MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
dclib0.37 trying to compile for dcgui
but I get this message and its not telling me anything
[freeman@localhost dclib-0.3.7]$ ./configure
./configure: line 1150: config.log: Permission denied
[freeman@localhost dclib-0.3.7]$ su
Password:
[root@localhost dclib-0.3.7]# ./configure
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 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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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
See `config.log' for more details.
Ok so I'v tried to compile xmms and superKaramba and it brings up the same message.
Damn I wish I had irc, can't atm because wireless doesn't let me do it.
Your problem seems to be cpp to begin with.
Do a 'cpp --version' and check which version of cpp you have installed.
Does that match your gcc version ('gcc --version')?
In MDK10.1 there are three different versions (3.4, 3.3 and 2.96) and I'm not sure
if a cpp-2.96 works with gcc-3.3 for instance.
It might also be a symlink problem. In MDK10.1 /lib/cpp is a symlink to /etc/alternatives/lib_cpp
which in turn links to /usr/bin/cpp-3.4.1. Perhaps you have a broken link somewhere.
Ok I'll try that ( I don't have internet to linux yet)
When I enter that cpp error into the search otherpeople have the same problem, on one of them the solution was to install kernel-headers, but when I do a urpmi kernel-headers it goes everything installed, when I do a urpmq kernel-headers it says no such package
I don't think MDK has a kernel-headers package, you'd have to install the entire kernel source.
But I don't think that's your primary problem. As seen in your first post configure is trying to find
a variety of c++ compilers and find none.
Ahh, you have MDK 10.1 Community Edition, right? The gcc in the Official Edition is version gcc-3.4.1-4mdk not 3mdk.
CE probably lacks the c++ package.
See if you can get a hold of OE and do an upgrade.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.