[Nagiosplug-help] configure: error: C++ preprocessor "/lib/cpp" fails sanity check

BlaXnaKe@freemail.hu blaxnake at freemail.hu
Wed Oct 11 10:55:24 CEST 2006


Hi,

i use the:
./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios  --with-cgiurl=nagios/cgi-bin
to configure the plugins on a centos distrib.

I'm running a gcc:
gcc.i386      3.4.6-3      installed

The result ends with this rows:

checking for dlfcn.h... yes
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 how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Any idea to resolve this problem?





More information about the Help mailing list