安装mrtg时出错!!
安装mrtg时出错!!
[root@hqzxx mrtg-2.10.8]# ./configure --prefix=/usr/local/mrtg2 --with-gd=/usr/i
nclude --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --with-png=/usr/include
--with-zlib=/usr/include
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 how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@hqzxx mrtg-2.10.8]#