From: <str...@ms...> - 2004-08-08 15:36:32
|
Hi=20 as I Compiling PerfParse 0.99.08, I get some message please help to resolve this problem=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3Dmy log =3D=3D=3D=3D=3D=3D=3D=3D [root@IACCSINAGSV0001 perfparse-0.99.08]# ./configure \ > --prefix=3D/usr/local/nagios \ > --with-imagedir=3D/usr/local/nagios/share/images/ \ > --with-cgidir=3D/usr/local/nagios/sbin \ > --with-http_image_path=3D/nagios/images checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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...=20 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared = libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared = libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared = libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared = libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >=3D 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log = for the *** exact error that occured. This usually means GLIB is incorrectly = installed. Using Mysql checking for mysql_config... /home/mysql/bin/mysql_config checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... no checking for atexit... yes checking for modf... yes checking for pow... no checking for strstr... yes checking for vasprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libperfparse/Makefile config.status: creating perfparse/Makefile config.status: creating db_tools/Makefile config.status: creating cgi/Makefile config.status: creating images/Makefile config.status: creating config/Makefile config.status: creating contrib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands ***************************************************** Configuration options: Prefix: /usr/local/nagios HTTP path for images: /nagios/images Installation path for images: /usr/local/nagios/share/images/ Installation path for CGIs: /usr/local/nagios/sbin Using glib1.2: 1.2.10 Database support: mysql ***************************************************** WARNING WARNING WARNING WARNING WARNING WARNING WARNING CHANGE SINCE 0.99.04: PLEASE CHECK THAT xpdfile_service_perfdata_template IN nagios.cfg HAS THE FOLLOWING CONTENT: xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= OUTPUT$\t$SERVICESTATE$\t$PERFDATA$ ***************************************************** [root@IACCSINAGSV0001 perfparse-0.99.08]# make make all-recursive make[1]: Entering directory `/home/daniel/nagios/perfparse-0.99.08' Making all in libperfparse make[2]: Entering directory = `/home/daniel/nagios/perfparse-0.99.08/libperfparse' if /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. = -I/home/mysql/include/mysql '-DSYSCONFDIR=3D"/usr/local/nagios/etc"' = -g -O2 -Wall -MT libperfparse_la-config_file.lo -MD -MP -MF = ".deps/libperfparse_la-config_file.Tpo" -c -o = libperfparse_la-config_file.lo `test -f 'config_file.c' || echo = './'`config_file.c; \ then mv -f ".deps/libperfparse_la-config_file.Tpo" = ".deps/libperfparse_la-config_file.Plo"; else rm -f = ".deps/libperfparse_la-config_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/mysql/include/mysql = -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" -g -O2 -Wall -MT = libperfparse_la-config_file.lo -MD -MP -MF = .deps/libperfparse_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o = .libs/libperfparse_la-config_file.o config_file.c:39:18: glib.h: No such file or directory config_file.c: In function `conf_new': config_file.c:146: `FALSE' undeclared (first use in this function) config_file.c:146: (Each undeclared identifier is reported only once config_file.c:146: for each function it appears in.) config_file.c: In function `conf_load': config_file.c:208: `TRUE' undeclared (first use in this function) config_file.c:208: `FALSE' undeclared (first use in this function) make[2]: *** [libperfparse_la-config_file.lo] Error 1 make[2]: Leaving directory = `/home/daniel/nagios/perfparse-0.99.08/libperfparse' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/daniel/nagios/perfparse-0.99.08' make: *** [all] Error 2 [root@IACCSINAGSV0001 perfparse-0.99.08]#=20 |