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

Michael Beachler michaelbeachler at aol.com
Wed Oct 11 14:50:50 CEST 2006


 From what I can tell your version of gcc does not include the C++ 
compiler and libraries.

Take a look at this thread which will hopefully help you:

http://www.linuxquestions.org/questions/showthread.php?postid=647188

-Michael Beachler-

BlaXnaKe at freemail.hu wrote:
> 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?
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 




More information about the Help mailing list