From: Scott C. <sc...@gm...> - 2005-02-21 21:13:30
|
I am trying to compile perfparse 0.105.6 to use with Nagios 2.0b2. Nagios is running and functioning. The configure script appears to run without error but when I try to make perfparse I receive: make[2]: Leaving directory `/installs/perfparse-0.105.6/libnagios_perfdata_parser' Making all in libpp_common make[2]: Entering directory `/installs/perfparse-0.105.6/libpp_common' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DLIBDIR="/usr/local/nagios/lib"' '-DLOCALSTATEDIR="/usr/local/nagios/var"' '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF ".deps/libpp_common_la-config_file.Tpo" -c -o libpp_common_la-config_file.lo `test -f 'config_file.c' || echo './'`config_file.c; \ then mv -f ".deps/libpp_common_la-config_file.Tpo" ".deps/libpp_common_la-config_file.Plo"; else rm -f ".deps/libpp_common_la-config_file.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/usr/local/nagios/lib\" -DLOCALSTATEDIR=\"/usr/local/nagios/var\" -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o .libs/libpp_common_la-config_file.o config_file.c:40:18: glib.h: No such file or directory config_file.c: In function `config_argv': config_file.c:268: error: `gchar' undeclared (first use in this function) config_file.c:268: error: (Each undeclared identifier is reported only once config_file.c:268: error: for each function it appears in.) config_file.c:268: error: `str' undeclared (first use in this function) config_file.c:268: warning: implicit declaration of function `g_strdup_printf' config_file.c:270: warning: implicit declaration of function `g_free' make[2]: *** [libpp_common_la-config_file.lo] Error 1 make[2]: Leaving directory `/installs/perfparse-0.105.6/libpp_common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/installs/perfparse-0.105.6' make: *** [all] Error 2 linux1:/installs/perfparse-0.105.6 # Any help would be appreciated. Thanks |
From: <sc...@br...> - 2005-03-11 18:32:16
|
Perfparse is compiled and data is reaching the logs (/usr/local/nagios/var/perfdata-service=2Elog)=2E But for some reason the= data is not making it to the mysql database when I run perfparse-log2mysql=2E I receive the following in my perfparse=2Elog: linux1:/var/log # tail perfparse=2Elog=2E20050225=2Elog 2005/02/25 13:04:31 [ storage=2Ec:61 12760 ] storage_mysql module failed to load (msg=3D'/usr/local/nagios/lib/libpp_storage_mysql=2Eso: cannot open shared object file: No such file or directory') 2005/02/25 13:06:24 [ storage=2Ec:61 12884 ] storage_mysql module failed to load (msg=3D'/usr/local/nagios/lib/libpp_storage_mysql=2Eso: cannot open shared object file: No such file or directory') 2005/02/25 13:07:31 [ storage=2Ec:61 12923 ] storage_mysql module failed to load (msg=3D'/usr/local/nagios/lib/libpp_storage_mysql=2Eso: cannot open shared object file: No such file or directory') linux1:/var/log # libpp_storage_mysql=2Eso is not in /usr/local/nagios/lib but libpp_storage_mysql=2Ea and libpp_storage_mysql=2Ela are=2E What could cause this? Did something fail during the compile? Any assistance would be appreciated=2E Thanks -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E |
From: Yves <yme...@pe...> - 2005-02-22 07:33:23
|
Install glib. For more help, we need to know on what system you are running (debian, ma= ndrakelinux, solaris... ?) > gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=3D\"/usr/local/nagios/lib\" > -DLOCALSTATEDIR=3D\"/usr/local/nagios/var\" > -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" -DPREFIX=3D\"/usr/local/nagios= \" > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT > libpp_common_la-config_file.lo -MD -MP -MF > .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o > .libs/libpp_common_la-config_file.o > config_file.c:40:18: glib.h: No such file or directory --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |