neomorph Posted October 22, 2004 Report Share Posted October 22, 2004 (edited) I have Mandrake 10.0 CE and whenever I try to install from the source .gz file i get and error when configuring using the ./configure command ... I get the following message [root@localhost kleardock-0.5]# ./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 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 -Wmissing-format-attribute... no 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 What is sanity check?? I am confused...i tried to install the latest version of gcc preprocessor and i got an error saying version conflict...Can someone point out ways to rectify this?? i thought i put this in the software section...would the mods be kind enough to move this topic to its proper section plz.. Edited October 22, 2004 by neomorph Quote Link to comment Share on other sites More sharing options...
spinynorman Posted October 22, 2004 Report Share Posted October 22, 2004 i thought i put this in the software section...would the mods be kind enough to move this topic to its proper section plz.. As you're using the command line, I've put it here. :) Quote Link to comment Share on other sites More sharing options...
devries Posted October 22, 2004 Report Share Posted October 22, 2004 You need to install gcc-g++. Do urpmi gcc-g++ (see the FAQ's for urpmi) Quote Link to comment Share on other sites More sharing options...
neomorph Posted October 22, 2004 Author Report Share Posted October 22, 2004 Thanx spinynorman for moving the topic to where it belongs... and devries....i tried to do what u said and it just says that everything is already installed. I tried the following [root@localhost Documents]# urpmi gcc-cpp Everything already installed [root@localhost Documents]# urpmi gcc Everything already installed [root@localhost Documents]# urpmi gcc2.96-cpp Everything already installed [root@localhost Documents]# urpmi libgcc1 Everything already installed Any more suggestions... Quote Link to comment Share on other sites More sharing options...
arctic Posted October 22, 2004 Report Share Posted October 22, 2004 (edited) maybe your libraries are too new or too old for compiling this package. sometimes, the sources need a newer or older version of libraries. frustrating, eh? ;) Edited October 22, 2004 by arctic Quote Link to comment Share on other sites More sharing options...
neomorph Posted October 22, 2004 Author Report Share Posted October 22, 2004 (edited) When I try to install a newer version of a package i get a message saying "everything already installed" ...so if i remove the older versions using the package manager and then try to install the packages again...will it work?? Even after successfully updating using urpmi i got the same error /lib/cpp fails sanity check message.... Edited October 22, 2004 by neomorph Quote Link to comment Share on other sites More sharing options...
arctic Posted October 22, 2004 Report Share Posted October 22, 2004 take a close look at the tar.gz package. is there a readme-file? take a look, maybe there is a hint, which version of the gcc libs you need. you can uninstall you current ones, then install some older ones and then upgrade again, although it could become complicated... but at the moment, i do not have any other idea... other than pm the coder of the package and ask him/her for some help (maybe recoding it). Quote Link to comment Share on other sites More sharing options...
devries Posted October 22, 2004 Report Share Posted October 22, 2004 Sorry for that: it should be gcc-c++ not g++. ( something like gcc-c++-3.4.1-4mdk.i586.rpm) Note to myself: always check if you give correct package name :( Quote Link to comment Share on other sites More sharing options...
bvc Posted October 22, 2004 Report Share Posted October 22, 2004 post the output of; rpm -qa | grep gcc Quote Link to comment Share on other sites More sharing options...
neomorph Posted October 22, 2004 Author Report Share Posted October 22, 2004 here's the output of rpm -qa | grep gcc [root@localhost rajiv]# rpm -qa | grep gcc libgcc1-3.3.2-7mdk gcc-cpp-3.3.2-7mdk gcc2.96-cpp-2.96-0.83mdk gcc-3.3.2-7mdk Quote Link to comment Share on other sites More sharing options...
Guest inline.skater Posted October 23, 2004 Report Share Posted October 23, 2004 I get the same exact error with Mandrake 10.1 CE. I thought it was just me, but I guess not. I still have yet to resolve this error. Quote Link to comment Share on other sites More sharing options...
bvc Posted October 23, 2004 Report Share Posted October 23, 2004 urpmi gcc-c++ Quote Link to comment Share on other sites More sharing options...
neomorph Posted October 23, 2004 Author Report Share Posted October 23, 2004 urpmi gcc-c++ <{POST_SNAPBACK}> Everything's working fine after urpmi gcc-c++....Thanx everyone I'll take that the problem is solved and mark the thread solved - Artificial Intelligence Quote Link to comment Share on other sites More sharing options...
Guest inline.skater Posted October 23, 2004 Report Share Posted October 23, 2004 I tried entering urpmi gcc-c++ I got an error saying this: no package named gcc-c++ Is there some step I'm mising besides just urpmi gcc-c++? Quote Link to comment Share on other sites More sharing options...
neomorph Posted October 24, 2004 Author Report Share Posted October 24, 2004 inline skater....i don't think a lot of ppl will visit this thread since the problem has been solved.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.