GNOME Bugzilla – Bug 421587
missing g++ will lead to bogus configure error message
Last modified: 2007-03-23 02:44:52 UTC
When running ./configure on a system without g++ installed, a bogus error message will be displayed: checking for g++... 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. /lib/cpp does not exist here. Installing g++ fixes the problem. It seems that g++ should just be made a requirement - if no g++ is installed, "g++ -E" is not likely to work.
This is inside a libtool macro, so there's not much we can do about it. This should happen with any software that uses autoconf/libtool. Unless, of course, there's some magic autoconf voodoo that we're missing to disable C++ and fortran checking. That would be cool. If that's the case, please reopen.
Actually, the macro on this page is pretty cool. http://www.arcknowledge.com/gmane.comp.gnu.libtool.general/2003-12/msg00005.html