Tymestream Posted October 13, 2004 Report Share Posted October 13, 2004 I know this issue is covered in another post but the solution there was that gc++ was missing. Simplest way is to show output: 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 -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. I can attach the config.log if it would help but it is very long. Suffice to say that I am frustrated with this issue. Everything is installed and where it is supposed to be. I have recently upgraded to 10.1 CE so nothing serious can be wrong yet - I hope :) Any suggestions as to what might have caused this to happen out of the blue? I have tried to compile numerous programs and re-install the gcc and associated libraries to no avail. Cheers, Quote Link to comment Share on other sites More sharing options...
durvish Posted October 13, 2004 Report Share Posted October 13, 2004 It looks like it checked for g++ and didn't find it. I recently reinstalled 10.1 ce and noticed that g++ had not been installed by default like it is in 10.0. Try urpmi'ing it to make sure it's in the system. It solved the problem for me. Quote Link to comment Share on other sites More sharing options...
devries Posted October 13, 2004 Report Share Posted October 13, 2004 urpmi gcc-g++ :) Good luck. Quote Link to comment Share on other sites More sharing options...
Tymestream Posted October 14, 2004 Author Report Share Posted October 14, 2004 urpmi gcc -Packages installed urpmi g++ no package named g++ 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.