Just noticed this failure on CentOS 6.6 where g++ is not installed:

checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in 
`/home/zino/local/src/pike/build/linux-2.6.32-504.1.3.el6.x86_64-x86_64':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

config.log:



configure:4087: g++ -E  conftest.cpp
/home/zino/local/src/pike/src/configure: line 4089: g++: command not found
configure:4094: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:4087: /lib/cpp  conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4094: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif


bash-4.1$ /lib/cpp --version
cpp (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
  • Fai... Peter Bortas @ Pike developers forum
    • ... Peter Bortas @ Pike developers forum
      • ... Per Hedbor () @ Pike (-) developers forum
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to