After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 421587 - missing g++ will lead to bogus configure error message
missing g++ will lead to bogus configure error message
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-22 18:56 UTC by Felix Domke
Modified: 2007-03-23 02:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felix Domke 2007-03-22 18:56:16 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.
Comment 1 David Schleef 2007-03-23 00:11:57 UTC
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.
Comment 2 David Schleef 2007-03-23 02:44:52 UTC
Actually, the macro on this page is pretty cool.

http://www.arcknowledge.com/gmane.comp.gnu.libtool.general/2003-12/msg00005.html