centOS6.2下编译nagios总是提示语法错误
configure编译的时候 总是提示这个错误:# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... -g -fPIC
configure: error: C preprocessor "-g -fPIC" fails sanity check
See `config.log' for more details.
这个问题困扰我很久了,怎么解决呢。。是缺少什么包吗?还是版本问题呢。。? 请各位大神帮帮忙~ 小弟不胜感激! 现在都3.5 了你还用3.2 。。
页:
[1]