hi, i have a linux server and when i installed nagios 3.0.3 i encountered the following error
configure: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.]
these are the steps which i did to to the installation
when i cheked the config.log file i couldnt find any errors listed.
so can u help me on this…?
[root@server35 nagios-3.0.3]# ./configure --with-command-group=nagcmd
checking for a BSD-compatible install… /usr/bin/install -c
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ANSI C… none needed
checking whether make sets $(MAKE)… yes
checking for strip… /usr/bin/strip
checking how to run the C preprocessor… /lib/cpp
configure: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.