You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(56) |
Jul
(68) |
Aug
(141) |
Sep
(82) |
Oct
(76) |
Nov
(115) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(65) |
Feb
(113) |
Mar
(82) |
Apr
(37) |
May
(44) |
Jun
(22) |
Jul
(12) |
Aug
(3) |
Sep
(17) |
Oct
(11) |
Nov
(23) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(9) |
Mar
(6) |
Apr
(12) |
May
(10) |
Jun
(23) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(4) |
Nov
(6) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(14) |
Mar
(20) |
Apr
(7) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(13) |
Aug
(2) |
Sep
(16) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Flo G. <fl...@bi...> - 2005-05-18 11:58:49
|
look at this: dbms.h:30:19: mysql.h: No such file or directory where did the mysql.h come from? did you mix some source packages? read=20 your config.log. Mine looks like this: less config.log =2E.. configure:26413: checking for mysql_config configure:26432: found /usr/bin/mysql_config configure:26445: result: /usr/bin/mysql_config =2E.. MYSQL_CFLAGS=3D'-I/usr/include/mysql -fmessage-length=3D0 -DPIC -fPIC=20 -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing' MYSQL_CONFIG=3D'/usr/bin/mysql_config' MYSQL_LIBS=3D'-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm' =2E.. using Suse 9.2 i guess you should create a fresh compile directory and try: =2E/configure --prefix=3D/usr/local/nagios \ --with-imagedir=3D/usr/local/nagios/share/images \=20 --with-cgidir=3D/usr/local/nagios/sbin \ --with-http_image_path=3D/nagios/images \ --with-glib12=3D/opt/gnome/include/glib-1.2 (Example) Flo On Wed, 18 May 2005, wil son wrote: > There was a mysql.h file. I move the file away but > there are still errors > > make all-recursive > make[1]: Entering directory > `/usr/local/nagios/perfparse' > Making all in intl > make[2]: Entering directory > `/usr/local/nagios/perfparse/intl' > make[2]: F=C3=BCr das Ziel =C2=BBall=C2=AB ist nichts zu tun. > make[2]: Leaving directory > `/usr/local/nagios/perfparse/intl' > Making all in m4 > make[2]: Entering directory > `/usr/local/nagios/perfparse/m4' > make[2]: F=C3=BCr das Ziel =C2=BBall=C2=AB ist nichts zu tun. > make[2]: Leaving directory > `/usr/local/nagios/perfparse/m4' > Making all in libnagios_perfdata_parser > make[2]: Entering directory > `/usr/local/nagios/perfparse/libnagios_perfdata_parser' > if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc > -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo" -c -o > log_parser.lo log_parser.c; \ > then mv -f ".deps/log_parser.Tpo" > ".deps/log_parser.Plo"; else rm -f > ".deps/log_parser.Tpo"; exit 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c > log_parser.c -fPIC -DPIC -o .libs/log_parser.o > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c > log_parser.c -o log_parser.o >/dev/null 2>&1 > /bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 > -Wall -o libnagios_perfdata_parser.la -rpath > /usr/local/nagios/lib log_parser.lo -ldl -lm > gcc -shared .libs/log_parser.o -ldl -lm -Wl,-soname > -Wl,libnagios_perfdata_parser.so.0 -o > .libs/libnagios_perfdata_parser.so.0.0.0 > (cd .libs && rm -f libnagios_perfdata_parser.so.0 && > ln -s libnagios_perfdata_parser.so.0.0.0 > libnagios_perfdata_parser.so.0) > (cd .libs && rm -f libnagios_perfdata_parser.so && ln > -s libnagios_perfdata_parser.so.0.0.0 > libnagios_perfdata_parser.so) > ar cru .libs/libnagios_perfdata_parser.a log_parser.o > ranlib .libs/libnagios_perfdata_parser.a > creating libnagios_perfdata_parser.la > (cd .libs && rm -f libnagios_perfdata_parser.la && ln > -s ../libnagios_perfdata_parser.la > libnagios_perfdata_parser.la) > make[2]: Leaving directory > `/usr/local/nagios/perfparse/libnagios_perfdata_parser' > Making all in libpp_common > make[2]: Entering directory > `/usr/local/nagios/perfparse/libpp_common' > if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile 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"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > '-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 -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=3D\"/usr/local/nagios/lib\" > -DLOCALSTATEDIR=3D\"/usr/local/nagios/var\" > -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" > -DPREFIX=3D\"/usr/local/nagios\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -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 > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -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 -o libpp_common_la-config_file.o >> /dev/null 2>&1 > if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile 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"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > '-DLOCALEDIR=3D"/usr/local/nagios/share/locale"' -I.. > -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > ".deps/libpp_common_la-log.Tpo" -c -o > libpp_common_la-log.lo `test -f 'log.c' || echo > './'`log.c; \ > then mv -f ".deps/libpp_common_la-log.Tpo" > ".deps/libpp_common_la-log.Plo"; else rm -f > ".deps/libpp_common_la-log.Tpo"; exit 1; fi > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > .deps/libpp_common_la-log.Tpo -c log.c -fPIC -DPIC -o > .libs/libpp_common_la-log.o > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > .deps/libpp_common_la-log.Tpo -c log.c -o > libpp_common_la-log.o >/dev/null 2>&1 > if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile 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"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > '-DLOCALEDIR=3D"/usr/local/nagios/share/locale"' -I.. > -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD > -MP -MF ".deps/libpp_common_la-clean_tools.Tpo" -c -o > libpp_common_la-clean_tools.lo `test -f > 'clean_tools.c' || echo './'`clean_tools.c; \ > then mv -f ".deps/libpp_common_la-clean_tools.Tpo" > ".deps/libpp_common_la-clean_tools.Plo"; else rm -f > ".deps/libpp_common_la-clean_tools.Tpo"; exit 1; fi > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP > -MF .deps/libpp_common_la-clean_tools.Tpo -c > clean_tools.c -fPIC -DPIC -o > .libs/libpp_common_la-clean_tools.o > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP > -MF .deps/libpp_common_la-clean_tools.Tpo -c > clean_tools.c -o libpp_common_la-clean_tools.o >> /dev/null 2>&1 > /bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 > -Wall -o libpp_common.la -rpath > /usr/local/nagios/lib libpp_common_la-config_file.lo > libpp_common_la-log.lo libpp_common_la-clean_tools.lo > -lz -ldl -lm > gcc -shared .libs/libpp_common_la-config_file.o > .libs/libpp_common_la-log.o > .libs/libpp_common_la-clean_tools.o -lz -ldl -lm > -Wl,-soname -Wl,libpp_common.so.0 -o > .libs/libpp_common.so.0.0.0 > (cd .libs && rm -f libpp_common.so.0 && ln -s > libpp_common.so.0.0.0 libpp_common.so.0) > (cd .libs && rm -f libpp_common.so && ln -s > libpp_common.so.0.0.0 libpp_common.so) > ar cru .libs/libpp_common.a > libpp_common_la-config_file.o libpp_common_la-log.o > libpp_common_la-clean_tools.o > ranlib .libs/libpp_common.a > creating libpp_common.la > (cd .libs && rm -f libpp_common.la && ln -s > ../libpp_common.la libpp_common.la) > make[2]: Leaving directory > `/usr/local/nagios/perfparse/libpp_common' > Making all in libpp_mysql > make[2]: Entering directory > `/usr/local/nagios/perfparse/libpp_mysql' > if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc > -DHAVE_CONFIG_H -I. -I. -I.. > '-DSYSCONFDIR=3D"/usr/local/nagios/etc"' > '-DPREFIX=3D"/usr/local/nagios"' > '-DLOCALEDIR=3D"/usr/local/nagios/share/locale"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD > -MP -MF ".deps/libpp_mysql_la-common.Tpo" -c -o > libpp_mysql_la-common.lo `test -f 'common.c' || echo > './'`common.c; \ > then mv -f ".deps/libpp_mysql_la-common.Tpo" > ".deps/libpp_mysql_la-common.Plo"; else rm -f > ".deps/libpp_mysql_la-common.Tpo"; exit 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I.. > -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" > -DPREFIX=3D\"/usr/local/nagios\" > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP > -MF .deps/libpp_mysql_la-common.Tpo -c common.c -fPIC > -DPIC -o .libs/libpp_mysql_la-common.o > gcc -DHAVE_CONFIG_H -I. -I. -I.. > -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" > -DPREFIX=3D\"/usr/local/nagios\" > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP > -MF .deps/libpp_mysql_la-common.Tpo -c common.c -o > libpp_mysql_la-common.o >/dev/null 2>&1 > if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc > -DHAVE_CONFIG_H -I. -I. -I.. > '-DSYSCONFDIR=3D"/usr/local/nagios/etc"' > '-DPREFIX=3D"/usr/local/nagios"' > '-DLOCALEDIR=3D"/usr/local/nagios/share/locale"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP > -MF ".deps/libpp_mysql_la-dbms.Tpo" -c -o > libpp_mysql_la-dbms.lo `test -f 'dbms.c' || echo > './'`dbms.c; \ > then mv -f ".deps/libpp_mysql_la-dbms.Tpo" > ".deps/libpp_mysql_la-dbms.Plo"; else rm -f > ".deps/libpp_mysql_la-dbms.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. > -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" > -DPREFIX=3D\"/usr/local/nagios\" > -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP > -MF .deps/libpp_mysql_la-dbms.Tpo -c dbms.c -fPIC > -DPIC -o .libs/libpp_mysql_la-dbms.o > In file included from dbms.c:36: > dbms.h:30:19: mysql.h: No such file or directory > dbms.h:31:20: errmsg.h: No such file or directory > In file included from dbms.c:36: > dbms.h:37: error: parse error before "db_mysql" > dbms.h:37: warning: type defaults to `int' in > declaration of `db_mysql' > dbms.h:37: warning: data definition has no type or > storage class > dbms.h:38: error: parse error before '*' token > dbms.h:38: warning: type defaults to `int' in > declaration of `query_result' > dbms.h:38: warning: data definition has no type or > storage class > dbms.h:39: error: parse error before "result_row" > dbms.h:39: warning: type defaults to `int' in > declaration of `result_row' > dbms.h:39: warning: data definition has no type or > storage class > dbms.c:53: error: `MYSQL_PORT' undeclared here (not in > a function) > dbms.c:54: error: parse error before "db_mysql" > dbms.c:54: warning: type defaults to `int' in > declaration of `db_mysql' > dbms.c:54: warning: data definition has no type or > storage class > dbms.c:55: error: parse error before '*' token > dbms.c:55: warning: type defaults to `int' in > declaration of `query_result' > dbms.c:55: warning: data definition has no type or > storage class > dbms.c:56: error: parse error before "result_row" > dbms.c:56: warning: type defaults to `int' in > declaration of `result_row' > dbms.c:56: warning: data definition has no type or > storage class > dbms.c: In function `iData': > dbms.c:65: error: subscripted value is neither array > nor pointer > dbms.c:65: error: subscripted value is neither array > nor pointer > dbms.c:66: error: subscripted value is neither array > nor pointer > dbms.c: In function `isNull': > dbms.c:73: error: subscripted value is neither array > nor pointer > dbms.c: In function `sData': > dbms.c:80: error: subscripted value is neither array > nor pointer > dbms.c:80: error: subscripted value is neither array > nor pointer > dbms.c:81: error: subscripted value is neither array > nor pointer > dbms.c: In function `libpp_mysql_query': > dbms.c:103: warning: implicit declaration of function > `mysql_query' > dbms.c:104: warning: implicit declaration of function > `mysql_error' > dbms.c:104: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c:106: warning: implicit declaration of function > `mysql_affected_rows' > dbms.c:108: warning: implicit declaration of function > `mysql_store_result' > dbms.c:108: warning: assignment makes pointer from > integer without a cast > dbms.c: In function `libpp_mysql_query_int': > dbms.c:121: error: `MYSQL_ROW' undeclared (first use > in this function) > dbms.c:121: error: (Each undeclared identifier is > reported only once > dbms.c:121: error: for each function it appears in.) > dbms.c:121: error: parse error before "row" > dbms.c:122: error: `MYSQL_RES' undeclared (first use > in this function) > dbms.c:122: error: `result' undeclared (first use in > this function) > dbms.c:130: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c:132: warning: implicit declaration of function > `mysql_use_result' > dbms.c:133: error: `row' undeclared (first use in this > function) > dbms.c:133: warning: implicit declaration of function > `mysql_fetch_row' > dbms.c:140: warning: implicit declaration of function > `mysql_free_result' > dbms.c: In function `libpp_mysql_query_char': > dbms.c:150: error: `MYSQL_RES' undeclared (first use > in this function) > dbms.c:150: error: `result' undeclared (first use in > this function) > dbms.c:151: error: `MYSQL_ROW' undeclared (first use > in this function) > dbms.c:151: error: parse error before "row" > dbms.c:161: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c:164: error: `row' undeclared (first use in this > function) > dbms.c: In function `libpp_mysql_query_no_return': > dbms.c:181: error: `MYSQL_RES' undeclared (first use > in this function) > dbms.c:181: error: `discaud' undeclared (first use in > this function) > dbms.c:189: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c: In function `rows': > dbms.c:221: warning: implicit declaration of function > `mysql_num_rows' > dbms.c: In function `now_connect': > dbms.c:229: warning: implicit declaration of function > `mysql_init' > dbms.c:236: warning: implicit declaration of function > `mysql_options' > dbms.c:236: error: `MYSQL_READ_DEFAULT_GROUP' > undeclared (first use in this function) > dbms.c:239: warning: implicit declaration of function > `mysql_real_connect' > dbms.c:252: warning: implicit declaration of function > `mysql_close' > dbms.c:256: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > make[2]: *** [libpp_mysql_la-dbms.lo] Fehler 1 > make[2]: Leaving directory > `/usr/local/nagios/perfparse/libpp_mysql' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory > `/usr/local/nagios/perfparse' > make: *** [all] Fehler 2 > --- Flo Gleixner <fl...@bi...> schrieb: >> >> >> In file included from dbms.h:30, >> from dbms.c:36: >> ../mysql.h:1: error: parse error before '.' token >> >> is it possible that you have a stray mysql.h? In >> your perfparse compile >> directory? >> >> Flo >> >> >> > > > > > > > ___________________________________________________________ > Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmeld= en: http://mail.yahoo.de > |
From: wil s. <wil...@ya...> - 2005-05-18 11:41:29
|
There was a mysql.h file. I move the file away but there are still errors make all-recursive make[1]: Entering directory `/usr/local/nagios/perfparse' Making all in intl make[2]: Entering directory `/usr/local/nagios/perfparse/intl' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/usr/local/nagios/perfparse/intl' Making all in m4 make[2]: Entering directory `/usr/local/nagios/perfparse/m4' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/usr/local/nagios/perfparse/m4' Making all in libnagios_perfdata_parser make[2]: Entering directory `/usr/local/nagios/perfparse/libnagios_perfdata_parser' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo" -c -o log_parser.lo log_parser.c; \ then mv -f ".deps/log_parser.Tpo" ".deps/log_parser.Plo"; else rm -f ".deps/log_parser.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c log_parser.c -fPIC -DPIC -o .libs/log_parser.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c log_parser.c -o log_parser.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libnagios_perfdata_parser.la -rpath /usr/local/nagios/lib log_parser.lo -ldl -lm gcc -shared .libs/log_parser.o -ldl -lm -Wl,-soname -Wl,libnagios_perfdata_parser.so.0 -o .libs/libnagios_perfdata_parser.so.0.0.0 (cd .libs && rm -f libnagios_perfdata_parser.so.0 && ln -s libnagios_perfdata_parser.so.0.0.0 libnagios_perfdata_parser.so.0) (cd .libs && rm -f libnagios_perfdata_parser.so && ln -s libnagios_perfdata_parser.so.0.0.0 libnagios_perfdata_parser.so) ar cru .libs/libnagios_perfdata_parser.a log_parser.o ranlib .libs/libnagios_perfdata_parser.a creating libnagios_perfdata_parser.la (cd .libs && rm -f libnagios_perfdata_parser.la && ln -s ../libnagios_perfdata_parser.la libnagios_perfdata_parser.la) make[2]: Leaving directory `/usr/local/nagios/perfparse/libnagios_perfdata_parser' Making all in libpp_common make[2]: Entering directory `/usr/local/nagios/perfparse/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"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include '-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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -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 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -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 -o libpp_common_la-config_file.o >/dev/null 2>&1 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"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF ".deps/libpp_common_la-log.Tpo" -c -o libpp_common_la-log.lo `test -f 'log.c' || echo './'`log.c; \ then mv -f ".deps/libpp_common_la-log.Tpo" ".deps/libpp_common_la-log.Plo"; else rm -f ".deps/libpp_common_la-log.Tpo"; exit 1; fi 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF .deps/libpp_common_la-log.Tpo -c log.c -fPIC -DPIC -o .libs/libpp_common_la-log.o 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF .deps/libpp_common_la-log.Tpo -c log.c -o libpp_common_la-log.o >/dev/null 2>&1 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"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP -MF ".deps/libpp_common_la-clean_tools.Tpo" -c -o libpp_common_la-clean_tools.lo `test -f 'clean_tools.c' || echo './'`clean_tools.c; \ then mv -f ".deps/libpp_common_la-clean_tools.Tpo" ".deps/libpp_common_la-clean_tools.Plo"; else rm -f ".deps/libpp_common_la-clean_tools.Tpo"; exit 1; fi 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP -MF .deps/libpp_common_la-clean_tools.Tpo -c clean_tools.c -fPIC -DPIC -o .libs/libpp_common_la-clean_tools.o 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP -MF .deps/libpp_common_la-clean_tools.Tpo -c clean_tools.c -o libpp_common_la-clean_tools.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libpp_common.la -rpath /usr/local/nagios/lib libpp_common_la-config_file.lo libpp_common_la-log.lo libpp_common_la-clean_tools.lo -lz -ldl -lm gcc -shared .libs/libpp_common_la-config_file.o .libs/libpp_common_la-log.o .libs/libpp_common_la-clean_tools.o -lz -ldl -lm -Wl,-soname -Wl,libpp_common.so.0 -o .libs/libpp_common.so.0.0.0 (cd .libs && rm -f libpp_common.so.0 && ln -s libpp_common.so.0.0.0 libpp_common.so.0) (cd .libs && rm -f libpp_common.so && ln -s libpp_common.so.0.0.0 libpp_common.so) ar cru .libs/libpp_common.a libpp_common_la-config_file.o libpp_common_la-log.o libpp_common_la-clean_tools.o ranlib .libs/libpp_common.a creating libpp_common.la (cd .libs && rm -f libpp_common.la && ln -s ../libpp_common.la libpp_common.la) make[2]: Leaving directory `/usr/local/nagios/perfparse/libpp_common' Making all in libpp_mysql make[2]: Entering directory `/usr/local/nagios/perfparse/libpp_mysql' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF ".deps/libpp_mysql_la-common.Tpo" -c -o libpp_mysql_la-common.lo `test -f 'common.c' || echo './'`common.c; \ then mv -f ".deps/libpp_mysql_la-common.Tpo" ".deps/libpp_mysql_la-common.Plo"; else rm -f ".deps/libpp_mysql_la-common.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF .deps/libpp_mysql_la-common.Tpo -c common.c -fPIC -DPIC -o .libs/libpp_mysql_la-common.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF .deps/libpp_mysql_la-common.Tpo -c common.c -o libpp_mysql_la-common.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP -MF ".deps/libpp_mysql_la-dbms.Tpo" -c -o libpp_mysql_la-dbms.lo `test -f 'dbms.c' || echo './'`dbms.c; \ then mv -f ".deps/libpp_mysql_la-dbms.Tpo" ".deps/libpp_mysql_la-dbms.Plo"; else rm -f ".deps/libpp_mysql_la-dbms.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP -MF .deps/libpp_mysql_la-dbms.Tpo -c dbms.c -fPIC -DPIC -o .libs/libpp_mysql_la-dbms.o In file included from dbms.c:36: dbms.h:30:19: mysql.h: No such file or directory dbms.h:31:20: errmsg.h: No such file or directory In file included from dbms.c:36: dbms.h:37: error: parse error before "db_mysql" dbms.h:37: warning: type defaults to `int' in declaration of `db_mysql' dbms.h:37: warning: data definition has no type or storage class dbms.h:38: error: parse error before '*' token dbms.h:38: warning: type defaults to `int' in declaration of `query_result' dbms.h:38: warning: data definition has no type or storage class dbms.h:39: error: parse error before "result_row" dbms.h:39: warning: type defaults to `int' in declaration of `result_row' dbms.h:39: warning: data definition has no type or storage class dbms.c:53: error: `MYSQL_PORT' undeclared here (not in a function) dbms.c:54: error: parse error before "db_mysql" dbms.c:54: warning: type defaults to `int' in declaration of `db_mysql' dbms.c:54: warning: data definition has no type or storage class dbms.c:55: error: parse error before '*' token dbms.c:55: warning: type defaults to `int' in declaration of `query_result' dbms.c:55: warning: data definition has no type or storage class dbms.c:56: error: parse error before "result_row" dbms.c:56: warning: type defaults to `int' in declaration of `result_row' dbms.c:56: warning: data definition has no type or storage class dbms.c: In function `iData': dbms.c:65: error: subscripted value is neither array nor pointer dbms.c:65: error: subscripted value is neither array nor pointer dbms.c:66: error: subscripted value is neither array nor pointer dbms.c: In function `isNull': dbms.c:73: error: subscripted value is neither array nor pointer dbms.c: In function `sData': dbms.c:80: error: subscripted value is neither array nor pointer dbms.c:80: error: subscripted value is neither array nor pointer dbms.c:81: error: subscripted value is neither array nor pointer dbms.c: In function `libpp_mysql_query': dbms.c:103: warning: implicit declaration of function `mysql_query' dbms.c:104: warning: implicit declaration of function `mysql_error' dbms.c:104: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c:106: warning: implicit declaration of function `mysql_affected_rows' dbms.c:108: warning: implicit declaration of function `mysql_store_result' dbms.c:108: warning: assignment makes pointer from integer without a cast dbms.c: In function `libpp_mysql_query_int': dbms.c:121: error: `MYSQL_ROW' undeclared (first use in this function) dbms.c:121: error: (Each undeclared identifier is reported only once dbms.c:121: error: for each function it appears in.) dbms.c:121: error: parse error before "row" dbms.c:122: error: `MYSQL_RES' undeclared (first use in this function) dbms.c:122: error: `result' undeclared (first use in this function) dbms.c:130: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c:132: warning: implicit declaration of function `mysql_use_result' dbms.c:133: error: `row' undeclared (first use in this function) dbms.c:133: warning: implicit declaration of function `mysql_fetch_row' dbms.c:140: warning: implicit declaration of function `mysql_free_result' dbms.c: In function `libpp_mysql_query_char': dbms.c:150: error: `MYSQL_RES' undeclared (first use in this function) dbms.c:150: error: `result' undeclared (first use in this function) dbms.c:151: error: `MYSQL_ROW' undeclared (first use in this function) dbms.c:151: error: parse error before "row" dbms.c:161: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c:164: error: `row' undeclared (first use in this function) dbms.c: In function `libpp_mysql_query_no_return': dbms.c:181: error: `MYSQL_RES' undeclared (first use in this function) dbms.c:181: error: `discaud' undeclared (first use in this function) dbms.c:189: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c: In function `rows': dbms.c:221: warning: implicit declaration of function `mysql_num_rows' dbms.c: In function `now_connect': dbms.c:229: warning: implicit declaration of function `mysql_init' dbms.c:236: warning: implicit declaration of function `mysql_options' dbms.c:236: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function) dbms.c:239: warning: implicit declaration of function `mysql_real_connect' dbms.c:252: warning: implicit declaration of function `mysql_close' dbms.c:256: warning: passing arg 4 of pointer to function makes pointer from integer without a cast make[2]: *** [libpp_mysql_la-dbms.lo] Fehler 1 make[2]: Leaving directory `/usr/local/nagios/perfparse/libpp_mysql' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/usr/local/nagios/perfparse' make: *** [all] Fehler 2 --- Flo Gleixner <fl...@bi...> schrieb: > > > In file included from dbms.h:30, > from dbms.c:36: > ../mysql.h:1: error: parse error before '.' token > > is it possible that you have a stray mysql.h? In > your perfparse compile > directory? > > Flo > > > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: wil s. <wil...@ya...> - 2005-05-18 08:47:03
|
Hello Ben I use the mysql-4.0.21-4 from the distribution. I have also installes the mysql-devel 4.0.21 packages from suse. --- Ben Clewett <bcl...@pe...> schrieb: > I think this line is the interesting one: > > dbms.h:31:20: errmsg.h: No such file or directory > > This should be part of mysql. Can you ensure the > MySQL development > package, or full source code, has been correctly > installed? > > What version of MySQL are you using? > > Ben > > wil son wrote: > > Hello > > > > I get the following when i trying to compile > PerfParse > > 0.150.6 on Suse 9.2. > > Ich have glib,glib2 and devel packages installed. > > I hope you can help ... > > Thanks > > > > make all-recursive > > make[1]: Entering directory > > `/usr/local/nagios/perfparse' > > Making all in intl > > make[2]: Entering directory > > `/usr/local/nagios/perfparse/intl' > > make[2]: Für das Ziel »all« ist nichts zu tun. > > make[2]: Leaving directory > > `/usr/local/nagios/perfparse/intl' > > Making all in m4 > > make[2]: Entering directory > > `/usr/local/nagios/perfparse/m4' > > make[2]: Für das Ziel »all« ist nichts zu tun. > > make[2]: Leaving directory > > `/usr/local/nagios/perfparse/m4' > > Making all in libnagios_perfdata_parser > > make[2]: Entering directory > > > `/usr/local/nagios/perfparse/libnagios_perfdata_parser' > > if /bin/sh ../libtool --tag=CC --mode=compile gcc > > -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > > log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo" > -c -o > > log_parser.lo log_parser.c; \ > > then mv -f ".deps/log_parser.Tpo" > > ".deps/log_parser.Plo"; else rm -f > > ".deps/log_parser.Tpo"; exit 1; fi > > mkdir .libs > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > > log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c > > log_parser.c -fPIC -DPIC -o .libs/log_parser.o > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > > log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c > > log_parser.c -o log_parser.o >/dev/null 2>&1 > > /bin/sh ../libtool --tag=CC --mode=link gcc -g > -O2 > > -Wall -o libnagios_perfdata_parser.la -rpath > > /usr/local/nagios/lib log_parser.lo -ldl -lm > > gcc -shared .libs/log_parser.o -ldl -lm > -Wl,-soname > > -Wl,libnagios_perfdata_parser.so.0 -o > > .libs/libnagios_perfdata_parser.so.0.0.0 > > (cd .libs && rm -f libnagios_perfdata_parser.so.0 > && > > ln -s libnagios_perfdata_parser.so.0.0.0 > > libnagios_perfdata_parser.so.0) > > (cd .libs && rm -f libnagios_perfdata_parser.so && > ln > > -s libnagios_perfdata_parser.so.0.0.0 > > libnagios_perfdata_parser.so) > > ar cru .libs/libnagios_perfdata_parser.a > log_parser.o > > ranlib .libs/libnagios_perfdata_parser.a > > creating libnagios_perfdata_parser.la > > (cd .libs && rm -f libnagios_perfdata_parser.la && > ln > > -s ../libnagios_perfdata_parser.la > > libnagios_perfdata_parser.la) > > make[2]: Leaving directory > > > `/usr/local/nagios/perfparse/libnagios_perfdata_parser' > > Making all in libpp_common > > make[2]: Entering directory > > `/usr/local/nagios/perfparse/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"' > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > '-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\" > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > -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 > > 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\" > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > -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 -o libpp_common_la-config_file.o > > > >>/dev/null 2>&1 > > > > 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"' > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > '-DLOCALEDIR="/usr/local/nagios/share/locale"' > -I.. > > -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP > -MF > > ".deps/libpp_common_la-log.Tpo" -c -o > > libpp_common_la-log.lo `test -f 'log.c' || echo > > './'`log.c; \ > > then mv -f ".deps/libpp_common_la-log.Tpo" > > ".deps/libpp_common_la-log.Plo"; else rm -f > > ".deps/libpp_common_la-log.Tpo"; exit 1; fi > > 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\" > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -I.. -g > > -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > > .deps/libpp_common_la-log.Tpo -c log.c -fPIC > -DPIC -o > > .libs/libpp_common_la-log.o > > 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\" > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -I.. -g > > -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > > .deps/libpp_common_la-log.Tpo -c log.c -o > > libpp_common_la-log.o >/dev/null 2>&1 > > 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"' > > -I/opt/gnome/include/glib-2.0 > > -I/opt/gnome/lib/glib-2.0/include > > '-DLOCALEDIR="/usr/local/nagios/share/locale"' > -I.. > > -g -O2 -Wall -MT libpp_common_la-clean_tools.lo > -MD > > -MP -MF ".deps/libpp_common_la-clean_tools.Tpo" -c > -o > > libpp_common_la-clean_tools.lo `test -f > > 'clean_tools.c' || echo './'`clean_tools.c; \ > > then mv -f ".deps/libpp_common_la-clean_tools.Tpo" > > ".deps/libpp_common_la-clean_tools.Plo"; else rm > -f > === message truncated === ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Ben C. <bcl...@pe...> - 2005-05-18 08:26:30
|
I think this line is the interesting one: dbms.h:31:20: errmsg.h: No such file or directory This should be part of mysql. Can you ensure the MySQL development package, or full source code, has been correctly installed? What version of MySQL are you using? Ben wil son wrote: > Hello > > I get the following when i trying to compile PerfParse > 0.150.6 on Suse 9.2. > Ich have glib,glib2 and devel packages installed. > I hope you can help ... > Thanks > > make all-recursive > make[1]: Entering directory > `/usr/local/nagios/perfparse' > Making all in intl > make[2]: Entering directory > `/usr/local/nagios/perfparse/intl' > make[2]: Für das Ziel »all« ist nichts zu tun. > make[2]: Leaving directory > `/usr/local/nagios/perfparse/intl' > Making all in m4 > make[2]: Entering directory > `/usr/local/nagios/perfparse/m4' > make[2]: Für das Ziel »all« ist nichts zu tun. > make[2]: Leaving directory > `/usr/local/nagios/perfparse/m4' > Making all in libnagios_perfdata_parser > make[2]: Entering directory > `/usr/local/nagios/perfparse/libnagios_perfdata_parser' > if /bin/sh ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo" -c -o > log_parser.lo log_parser.c; \ > then mv -f ".deps/log_parser.Tpo" > ".deps/log_parser.Plo"; else rm -f > ".deps/log_parser.Tpo"; exit 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c > log_parser.c -fPIC -DPIC -o .libs/log_parser.o > gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT > log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c > log_parser.c -o log_parser.o >/dev/null 2>&1 > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 > -Wall -o libnagios_perfdata_parser.la -rpath > /usr/local/nagios/lib log_parser.lo -ldl -lm > gcc -shared .libs/log_parser.o -ldl -lm -Wl,-soname > -Wl,libnagios_perfdata_parser.so.0 -o > .libs/libnagios_perfdata_parser.so.0.0.0 > (cd .libs && rm -f libnagios_perfdata_parser.so.0 && > ln -s libnagios_perfdata_parser.so.0.0.0 > libnagios_perfdata_parser.so.0) > (cd .libs && rm -f libnagios_perfdata_parser.so && ln > -s libnagios_perfdata_parser.so.0.0.0 > libnagios_perfdata_parser.so) > ar cru .libs/libnagios_perfdata_parser.a log_parser.o > ranlib .libs/libnagios_perfdata_parser.a > creating libnagios_perfdata_parser.la > (cd .libs && rm -f libnagios_perfdata_parser.la && ln > -s ../libnagios_perfdata_parser.la > libnagios_perfdata_parser.la) > make[2]: Leaving directory > `/usr/local/nagios/perfparse/libnagios_perfdata_parser' > Making all in libpp_common > make[2]: Entering directory > `/usr/local/nagios/perfparse/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"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > '-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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -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 > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -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 -o libpp_common_la-config_file.o > >>/dev/null 2>&1 > > 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"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. > -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > ".deps/libpp_common_la-log.Tpo" -c -o > libpp_common_la-log.lo `test -f 'log.c' || echo > './'`log.c; \ > then mv -f ".deps/libpp_common_la-log.Tpo" > ".deps/libpp_common_la-log.Plo"; else rm -f > ".deps/libpp_common_la-log.Tpo"; exit 1; fi > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > .deps/libpp_common_la-log.Tpo -c log.c -fPIC -DPIC -o > .libs/libpp_common_la-log.o > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF > .deps/libpp_common_la-log.Tpo -c log.c -o > libpp_common_la-log.o >/dev/null 2>&1 > 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"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. > -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD > -MP -MF ".deps/libpp_common_la-clean_tools.Tpo" -c -o > libpp_common_la-clean_tools.lo `test -f > 'clean_tools.c' || echo './'`clean_tools.c; \ > then mv -f ".deps/libpp_common_la-clean_tools.Tpo" > ".deps/libpp_common_la-clean_tools.Plo"; else rm -f > ".deps/libpp_common_la-clean_tools.Tpo"; exit 1; fi > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP > -MF .deps/libpp_common_la-clean_tools.Tpo -c > clean_tools.c -fPIC -DPIC -o > .libs/libpp_common_la-clean_tools.o > 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\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g > -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP > -MF .deps/libpp_common_la-clean_tools.Tpo -c > clean_tools.c -o libpp_common_la-clean_tools.o > >>/dev/null 2>&1 > > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 > -Wall -o libpp_common.la -rpath > /usr/local/nagios/lib libpp_common_la-config_file.lo > libpp_common_la-log.lo libpp_common_la-clean_tools.lo > -lz -ldl -lm > gcc -shared .libs/libpp_common_la-config_file.o > .libs/libpp_common_la-log.o > .libs/libpp_common_la-clean_tools.o -lz -ldl -lm > -Wl,-soname -Wl,libpp_common.so.0 -o > .libs/libpp_common.so.0.0.0 > (cd .libs && rm -f libpp_common.so.0 && ln -s > libpp_common.so.0.0.0 libpp_common.so.0) > (cd .libs && rm -f libpp_common.so && ln -s > libpp_common.so.0.0.0 libpp_common.so) > ar cru .libs/libpp_common.a > libpp_common_la-config_file.o libpp_common_la-log.o > libpp_common_la-clean_tools.o > ranlib .libs/libpp_common.a > creating libpp_common.la > (cd .libs && rm -f libpp_common.la && ln -s > ../libpp_common.la libpp_common.la) > make[2]: Leaving directory > `/usr/local/nagios/perfparse/libpp_common' > Making all in libpp_mysql > make[2]: Entering directory > `/usr/local/nagios/perfparse/libpp_mysql' > if /bin/sh ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I. -I.. > '-DSYSCONFDIR="/usr/local/nagios/etc"' > '-DPREFIX="/usr/local/nagios"' > '-DLOCALEDIR="/usr/local/nagios/share/locale"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD > -MP -MF ".deps/libpp_mysql_la-common.Tpo" -c -o > libpp_mysql_la-common.lo `test -f 'common.c' || echo > './'`common.c; \ > then mv -f ".deps/libpp_mysql_la-common.Tpo" > ".deps/libpp_mysql_la-common.Plo"; else rm -f > ".deps/libpp_mysql_la-common.Tpo"; exit 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I.. > -DSYSCONFDIR=\"/usr/local/nagios/etc\" > -DPREFIX=\"/usr/local/nagios\" > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP > -MF .deps/libpp_mysql_la-common.Tpo -c common.c -fPIC > -DPIC -o .libs/libpp_mysql_la-common.o > gcc -DHAVE_CONFIG_H -I. -I. -I.. > -DSYSCONFDIR=\"/usr/local/nagios/etc\" > -DPREFIX=\"/usr/local/nagios\" > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP > -MF .deps/libpp_mysql_la-common.Tpo -c common.c -o > libpp_mysql_la-common.o >/dev/null 2>&1 > if /bin/sh ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I. -I.. > '-DSYSCONFDIR="/usr/local/nagios/etc"' > '-DPREFIX="/usr/local/nagios"' > '-DLOCALEDIR="/usr/local/nagios/share/locale"' > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP > -MF ".deps/libpp_mysql_la-dbms.Tpo" -c -o > libpp_mysql_la-dbms.lo `test -f 'dbms.c' || echo > './'`dbms.c; \ > then mv -f ".deps/libpp_mysql_la-dbms.Tpo" > ".deps/libpp_mysql_la-dbms.Plo"; else rm -f > ".deps/libpp_mysql_la-dbms.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. > -DSYSCONFDIR=\"/usr/local/nagios/etc\" > -DPREFIX=\"/usr/local/nagios\" > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" > -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -I../libpp_common > -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP > -MF .deps/libpp_mysql_la-dbms.Tpo -c dbms.c -fPIC > -DPIC -o .libs/libpp_mysql_la-dbms.o > In file included from dbms.h:30, > from dbms.c:36: > ../mysql.h:1: error: parse error before '.' token > ../mysql.h:40: error: syntax error at '@' token > ../mysql.h:42: error: syntax error at '@' token > In file included from dbms.h:30, > from dbms.c:36: > ../mysql.h:298:37: too many decimal points in number > ../mysql.h:348:63: too many decimal points in number > In file included from dbms.c:36: > dbms.h:31:20: errmsg.h: No such file or directory > In file included from dbms.c:36: > dbms.h:37: error: parse error before "db_mysql" > dbms.h:37: warning: type defaults to `int' in > declaration of `db_mysql' > dbms.h:37: warning: data definition has no type or > storage class > dbms.h:38: error: parse error before '*' token > dbms.h:38: warning: type defaults to `int' in > declaration of `query_result' > dbms.h:38: warning: data definition has no type or > storage class > dbms.h:39: error: parse error before "result_row" > dbms.h:39: warning: type defaults to `int' in > declaration of `result_row' > dbms.h:39: warning: data definition has no type or > storage class > dbms.c:53: error: `MYSQL_PORT' undeclared here (not in > a function) > dbms.c:54: error: parse error before "db_mysql" > dbms.c:54: warning: type defaults to `int' in > declaration of `db_mysql' > dbms.c:54: warning: data definition has no type or > storage class > dbms.c:55: error: parse error before '*' token > dbms.c:55: warning: type defaults to `int' in > declaration of `query_result' > dbms.c:55: warning: data definition has no type or > storage class > dbms.c:56: error: parse error before "result_row" > dbms.c:56: warning: type defaults to `int' in > declaration of `result_row' > dbms.c:56: warning: data definition has no type or > storage class > dbms.c: In function `iData': > dbms.c:65: error: subscripted value is neither array > nor pointer > dbms.c:65: error: subscripted value is neither array > nor pointer > dbms.c:66: error: subscripted value is neither array > nor pointer > dbms.c: In function `isNull': > dbms.c:73: error: subscripted value is neither array > nor pointer > dbms.c: In function `sData': > dbms.c:80: error: subscripted value is neither array > nor pointer > dbms.c:80: error: subscripted value is neither array > nor pointer > dbms.c:81: error: subscripted value is neither array > nor pointer > dbms.c: In function `libpp_mysql_query': > dbms.c:103: warning: implicit declaration of function > `mysql_query' > dbms.c:104: warning: implicit declaration of function > `mysql_error' > dbms.c:104: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c:106: warning: implicit declaration of function > `mysql_affected_rows' > dbms.c:108: warning: implicit declaration of function > `mysql_store_result' > dbms.c:108: warning: assignment makes pointer from > integer without a cast > dbms.c: In function `libpp_mysql_query_int': > dbms.c:121: error: `MYSQL_ROW' undeclared (first use > in this function) > dbms.c:121: error: (Each undeclared identifier is > reported only once > dbms.c:121: error: for each function it appears in.) > dbms.c:121: error: parse error before "row" > dbms.c:122: error: `MYSQL_RES' undeclared (first use > in this function) > dbms.c:122: error: `result' undeclared (first use in > this function) > dbms.c:130: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c:132: warning: implicit declaration of function > `mysql_use_result' > dbms.c:133: error: `row' undeclared (first use in this > function) > dbms.c:133: warning: implicit declaration of function > `mysql_fetch_row' > dbms.c:140: warning: implicit declaration of function > `mysql_free_result' > dbms.c: In function `libpp_mysql_query_char': > dbms.c:150: error: `MYSQL_RES' undeclared (first use > in this function) > dbms.c:150: error: `result' undeclared (first use in > this function) > dbms.c:151: error: `MYSQL_ROW' undeclared (first use > in this function) > dbms.c:151: error: parse error before "row" > dbms.c:161: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c:164: error: `row' undeclared (first use in this > function) > dbms.c: In function `libpp_mysql_query_no_return': > dbms.c:181: error: `MYSQL_RES' undeclared (first use > in this function) > dbms.c:181: error: `discaud' undeclared (first use in > this function) > dbms.c:189: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > dbms.c: In function `rows': > dbms.c:221: warning: implicit declaration of function > `mysql_num_rows' > dbms.c: In function `now_connect': > dbms.c:229: warning: implicit declaration of function > `mysql_init' > dbms.c:236: warning: implicit declaration of function > `mysql_options' > dbms.c:236: error: `MYSQL_READ_DEFAULT_GROUP' > undeclared (first use in this function) > dbms.c:239: warning: implicit declaration of function > `mysql_real_connect' > dbms.c:252: warning: implicit declaration of function > `mysql_close' > dbms.c:256: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > make[2]: *** [libpp_mysql_la-dbms.lo] Fehler 1 > make[2]: Leaving directory > `/usr/local/nagios/perfparse/libpp_mysql' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory > `/usr/local/nagios/perfparse' > make: *** [all] Fehler 2 > > > > > > > ___________________________________________________________ > Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: wil s. <wil...@ya...> - 2005-05-18 08:08:28
|
Hello I get the following when i trying to compile PerfParse 0.150.6 on Suse 9.2. Ich have glib,glib2 and devel packages installed. I hope you can help ... Thanks make all-recursive make[1]: Entering directory `/usr/local/nagios/perfparse' Making all in intl make[2]: Entering directory `/usr/local/nagios/perfparse/intl' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/usr/local/nagios/perfparse/intl' Making all in m4 make[2]: Entering directory `/usr/local/nagios/perfparse/m4' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/usr/local/nagios/perfparse/m4' Making all in libnagios_perfdata_parser make[2]: Entering directory `/usr/local/nagios/perfparse/libnagios_perfdata_parser' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo" -c -o log_parser.lo log_parser.c; \ then mv -f ".deps/log_parser.Tpo" ".deps/log_parser.Plo"; else rm -f ".deps/log_parser.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c log_parser.c -fPIC -DPIC -o .libs/log_parser.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT log_parser.lo -MD -MP -MF .deps/log_parser.Tpo -c log_parser.c -o log_parser.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libnagios_perfdata_parser.la -rpath /usr/local/nagios/lib log_parser.lo -ldl -lm gcc -shared .libs/log_parser.o -ldl -lm -Wl,-soname -Wl,libnagios_perfdata_parser.so.0 -o .libs/libnagios_perfdata_parser.so.0.0.0 (cd .libs && rm -f libnagios_perfdata_parser.so.0 && ln -s libnagios_perfdata_parser.so.0.0.0 libnagios_perfdata_parser.so.0) (cd .libs && rm -f libnagios_perfdata_parser.so && ln -s libnagios_perfdata_parser.so.0.0.0 libnagios_perfdata_parser.so) ar cru .libs/libnagios_perfdata_parser.a log_parser.o ranlib .libs/libnagios_perfdata_parser.a creating libnagios_perfdata_parser.la (cd .libs && rm -f libnagios_perfdata_parser.la && ln -s ../libnagios_perfdata_parser.la libnagios_perfdata_parser.la) make[2]: Leaving directory `/usr/local/nagios/perfparse/libnagios_perfdata_parser' Making all in libpp_common make[2]: Entering directory `/usr/local/nagios/perfparse/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"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include '-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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -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 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -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 -o libpp_common_la-config_file.o >/dev/null 2>&1 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"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF ".deps/libpp_common_la-log.Tpo" -c -o libpp_common_la-log.lo `test -f 'log.c' || echo './'`log.c; \ then mv -f ".deps/libpp_common_la-log.Tpo" ".deps/libpp_common_la-log.Plo"; else rm -f ".deps/libpp_common_la-log.Tpo"; exit 1; fi 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF .deps/libpp_common_la-log.Tpo -c log.c -fPIC -DPIC -o .libs/libpp_common_la-log.o 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF .deps/libpp_common_la-log.Tpo -c log.c -o libpp_common_la-log.o >/dev/null 2>&1 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"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP -MF ".deps/libpp_common_la-clean_tools.Tpo" -c -o libpp_common_la-clean_tools.lo `test -f 'clean_tools.c' || echo './'`clean_tools.c; \ then mv -f ".deps/libpp_common_la-clean_tools.Tpo" ".deps/libpp_common_la-clean_tools.Plo"; else rm -f ".deps/libpp_common_la-clean_tools.Tpo"; exit 1; fi 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP -MF .deps/libpp_common_la-clean_tools.Tpo -c clean_tools.c -fPIC -DPIC -o .libs/libpp_common_la-clean_tools.o 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\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-clean_tools.lo -MD -MP -MF .deps/libpp_common_la-clean_tools.Tpo -c clean_tools.c -o libpp_common_la-clean_tools.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libpp_common.la -rpath /usr/local/nagios/lib libpp_common_la-config_file.lo libpp_common_la-log.lo libpp_common_la-clean_tools.lo -lz -ldl -lm gcc -shared .libs/libpp_common_la-config_file.o .libs/libpp_common_la-log.o .libs/libpp_common_la-clean_tools.o -lz -ldl -lm -Wl,-soname -Wl,libpp_common.so.0 -o .libs/libpp_common.so.0.0.0 (cd .libs && rm -f libpp_common.so.0 && ln -s libpp_common.so.0.0.0 libpp_common.so.0) (cd .libs && rm -f libpp_common.so && ln -s libpp_common.so.0.0.0 libpp_common.so) ar cru .libs/libpp_common.a libpp_common_la-config_file.o libpp_common_la-log.o libpp_common_la-clean_tools.o ranlib .libs/libpp_common.a creating libpp_common.la (cd .libs && rm -f libpp_common.la && ln -s ../libpp_common.la libpp_common.la) make[2]: Leaving directory `/usr/local/nagios/perfparse/libpp_common' Making all in libpp_mysql make[2]: Entering directory `/usr/local/nagios/perfparse/libpp_mysql' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF ".deps/libpp_mysql_la-common.Tpo" -c -o libpp_mysql_la-common.lo `test -f 'common.c' || echo './'`common.c; \ then mv -f ".deps/libpp_mysql_la-common.Tpo" ".deps/libpp_mysql_la-common.Plo"; else rm -f ".deps/libpp_mysql_la-common.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF .deps/libpp_mysql_la-common.Tpo -c common.c -fPIC -DPIC -o .libs/libpp_mysql_la-common.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-common.lo -MD -MP -MF .deps/libpp_mysql_la-common.Tpo -c common.c -o libpp_mysql_la-common.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/local/nagios/etc"' '-DPREFIX="/usr/local/nagios"' '-DLOCALEDIR="/usr/local/nagios/share/locale"' -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP -MF ".deps/libpp_mysql_la-dbms.Tpo" -c -o libpp_mysql_la-dbms.lo `test -f 'dbms.c' || echo './'`dbms.c; \ then mv -f ".deps/libpp_mysql_la-dbms.Tpo" ".deps/libpp_mysql_la-dbms.Plo"; else rm -f ".deps/libpp_mysql_la-dbms.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-dbms.lo -MD -MP -MF .deps/libpp_mysql_la-dbms.Tpo -c dbms.c -fPIC -DPIC -o .libs/libpp_mysql_la-dbms.o In file included from dbms.h:30, from dbms.c:36: ../mysql.h:1: error: parse error before '.' token ../mysql.h:40: error: syntax error at '@' token ../mysql.h:42: error: syntax error at '@' token In file included from dbms.h:30, from dbms.c:36: ../mysql.h:298:37: too many decimal points in number ../mysql.h:348:63: too many decimal points in number In file included from dbms.c:36: dbms.h:31:20: errmsg.h: No such file or directory In file included from dbms.c:36: dbms.h:37: error: parse error before "db_mysql" dbms.h:37: warning: type defaults to `int' in declaration of `db_mysql' dbms.h:37: warning: data definition has no type or storage class dbms.h:38: error: parse error before '*' token dbms.h:38: warning: type defaults to `int' in declaration of `query_result' dbms.h:38: warning: data definition has no type or storage class dbms.h:39: error: parse error before "result_row" dbms.h:39: warning: type defaults to `int' in declaration of `result_row' dbms.h:39: warning: data definition has no type or storage class dbms.c:53: error: `MYSQL_PORT' undeclared here (not in a function) dbms.c:54: error: parse error before "db_mysql" dbms.c:54: warning: type defaults to `int' in declaration of `db_mysql' dbms.c:54: warning: data definition has no type or storage class dbms.c:55: error: parse error before '*' token dbms.c:55: warning: type defaults to `int' in declaration of `query_result' dbms.c:55: warning: data definition has no type or storage class dbms.c:56: error: parse error before "result_row" dbms.c:56: warning: type defaults to `int' in declaration of `result_row' dbms.c:56: warning: data definition has no type or storage class dbms.c: In function `iData': dbms.c:65: error: subscripted value is neither array nor pointer dbms.c:65: error: subscripted value is neither array nor pointer dbms.c:66: error: subscripted value is neither array nor pointer dbms.c: In function `isNull': dbms.c:73: error: subscripted value is neither array nor pointer dbms.c: In function `sData': dbms.c:80: error: subscripted value is neither array nor pointer dbms.c:80: error: subscripted value is neither array nor pointer dbms.c:81: error: subscripted value is neither array nor pointer dbms.c: In function `libpp_mysql_query': dbms.c:103: warning: implicit declaration of function `mysql_query' dbms.c:104: warning: implicit declaration of function `mysql_error' dbms.c:104: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c:106: warning: implicit declaration of function `mysql_affected_rows' dbms.c:108: warning: implicit declaration of function `mysql_store_result' dbms.c:108: warning: assignment makes pointer from integer without a cast dbms.c: In function `libpp_mysql_query_int': dbms.c:121: error: `MYSQL_ROW' undeclared (first use in this function) dbms.c:121: error: (Each undeclared identifier is reported only once dbms.c:121: error: for each function it appears in.) dbms.c:121: error: parse error before "row" dbms.c:122: error: `MYSQL_RES' undeclared (first use in this function) dbms.c:122: error: `result' undeclared (first use in this function) dbms.c:130: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c:132: warning: implicit declaration of function `mysql_use_result' dbms.c:133: error: `row' undeclared (first use in this function) dbms.c:133: warning: implicit declaration of function `mysql_fetch_row' dbms.c:140: warning: implicit declaration of function `mysql_free_result' dbms.c: In function `libpp_mysql_query_char': dbms.c:150: error: `MYSQL_RES' undeclared (first use in this function) dbms.c:150: error: `result' undeclared (first use in this function) dbms.c:151: error: `MYSQL_ROW' undeclared (first use in this function) dbms.c:151: error: parse error before "row" dbms.c:161: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c:164: error: `row' undeclared (first use in this function) dbms.c: In function `libpp_mysql_query_no_return': dbms.c:181: error: `MYSQL_RES' undeclared (first use in this function) dbms.c:181: error: `discaud' undeclared (first use in this function) dbms.c:189: warning: passing arg 4 of pointer to function makes pointer from integer without a cast dbms.c: In function `rows': dbms.c:221: warning: implicit declaration of function `mysql_num_rows' dbms.c: In function `now_connect': dbms.c:229: warning: implicit declaration of function `mysql_init' dbms.c:236: warning: implicit declaration of function `mysql_options' dbms.c:236: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function) dbms.c:239: warning: implicit declaration of function `mysql_real_connect' dbms.c:252: warning: implicit declaration of function `mysql_close' dbms.c:256: warning: passing arg 4 of pointer to function makes pointer from integer without a cast make[2]: *** [libpp_mysql_la-dbms.lo] Fehler 1 make[2]: Leaving directory `/usr/local/nagios/perfparse/libpp_mysql' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/usr/local/nagios/perfparse' make: *** [all] Fehler 2 ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Ben C. <bcl...@pe...> - 2005-05-18 07:25:17
|
Hosts, Services and Metrics are all automatically created when valid data for those is found. Does your input data from Nagios contain these? You may not get any Metrics if you do not have valid performance data. Ben Horvath Tamas wrote: > Hi List! > > I installed PP 0.105.6 with method #3. I use Nagios 1.2 on Debian Woody 3.1. > > First I add every host groups via the 'Administration Menu' -> 'View / Edit > Host Groups' | 'Add New Group:' input box. > > Then I would like to add some hosts via the 'Administration Menu' -> 'View / > Edit Host Groups List' | 'Select Host Group:' -> 'Add new Host to Group:' > function. But this drop down list is empty and I did not write to it. > > Is it OK? Do hosts appear in this list after some perfdata is written to the > DBS? If yes, is it enough, if I only enabled service perfdata in nagios? > > Thanks in advance, Tamas! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Ben C. <bcl...@pe...> - 2005-05-18 07:24:00
|
This sounds correct. You can run 'ldconfig --verbose | more' which should show all libs it finds. Does this show the correct libs? You can also run 'ldd [program_name]' which should tell you all the libs and where they are found. Do you have any missing? Ben Horvath Tamas wrote: > Hi! > > "Would have been better to put /usr/local/nagios/lib into the file > /etc/ld.so.conf and then run ldconfig. You can recheck in your system > finds the libs by running ldconfig -p" > > > I did the above steps, but, when I run ldconfig -p the > libpp_storage_*.so.0.0.0 files were missing. > > And the libpp_mysql.so.0, libpp_mysql.so, libpp_common.so.0, libpp_common.so > files were in the cache in addition to the libpp_storage_*.so files. > > > It is ok? > > Thanks, Tamas! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: <Mat...@ka...> - 2005-05-17 17:23:52
|
> Is it OK? Do hosts appear in this list after some perfdata is written to the > DBS? just to give you a fast hint... I don't know pp very good, but I never added hosts manually (using method 4 which shouldn't make a difference here). Last time I used pp, hosts were available in the pp cgis as soon as performance data was inserted into the db. > If yes, is it enough, if I only enabled service perfdata in nagios? Are you using nagios 1,3 or Nagios 2? correct me if I'm wrong.. matthias |
From: Horvath T. <zs...@ax...> - 2005-05-17 17:12:35
|
Hi List! I installed PP 0.105.6 with method #3. I use Nagios 1.2 on Debian Woody 3.1. First I add every host groups via the 'Administration Menu' -> 'View / Edit Host Groups' | 'Add New Group:' input box. Then I would like to add some hosts via the 'Administration Menu' -> 'View / Edit Host Groups List' | 'Select Host Group:' -> 'Add new Host to Group:' function. But this drop down list is empty and I did not write to it. Is it OK? Do hosts appear in this list after some perfdata is written to the DBS? If yes, is it enough, if I only enabled service perfdata in nagios? Thanks in advance, Tamas! |
From: Horvath T. <zs...@ax...> - 2005-05-17 16:56:01
|
Hi! "Would have been better to put /usr/local/nagios/lib into the file /etc/ld.so.conf and then run ldconfig. You can recheck in your system finds the libs by running ldconfig -p" I did the above steps, but, when I run ldconfig -p the libpp_storage_*.so.0.0.0 files were missing. And the libpp_mysql.so.0, libpp_mysql.so, libpp_common.so.0, libpp_common.so files were in the cache in addition to the libpp_storage_*.so files. It is ok? Thanks, Tamas! |
From: Flo G. <fl...@bi...> - 2005-05-16 22:50:18
|
Hi, you can easyly integrate perfparse in the sidebar of nagios by editing the share/side.html file in nagios. But you would have to patch nagios cgi files to link perfparse graphs to nagios status views. The other way, integrating nagios in perfparse is also only possible by integrating all that the nagios cgi's do into perfparse. I'm working on a php based GUI for perfparse and i think about integrating nagios GUI functionality too. But this work propagates very slowly :-) Flo On Fri, 13 May 2005, garrett honeycutt wrote: > > Are there any references for integrating nagios into perfparse? I noticed on > the screenshots that there is a box to search for hosts and a link for > PerfData graphs. > > Thanks. > -g > > // Garrett Honeycutt > // Systems Administrator > // 3GUpload.com, Inc. > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Horvath T. <zs...@ax...> - 2005-05-16 18:48:55
|
Hi Flo! Thank you your reply. I would do it! Have a nice day. Tamas. -----Original Message----- From: Flo Gleixner [mailto:fl...@bi...] Sent: Monday, May 16, 2005 9:47 AM To: Horvath Tamas Subject: Re: [Perfparse-users] install libpp_storage_*.so files Would have been better to put /usr/local/nagios/lib into the file /etc/ld.so.conf and then run ldconfig. You can recheck in your system finds the libs by running ldconfig -p Flo On Fri, 13 May 2005, Horvath Tamas wrote: > Hi List! > > After I ran configure (for PP 0.105.6) there was the following message in he > screen: > > WARNING WARNING WARNING WARNING WARNING WARNING WARNING > Be sure to install libpp_storage_*.so files in a directory > that ld.so knows (/etc/ld.so.conf, run ldconfig if needed, > or $LD_LIBRARY_PATH) > WARNING WARNING WARNING WARNING WARNING WARNING WARNING > > I managed to succesfully make and configure PP, but I don't know how to > procede the above step. > > I did the following: > > 1. antsz1:/etc# cat /etc/ld.so.conf > /usr/X11R6/lib > antsz1:/etc# > > 2. > I did symlinks for the following files (which are in /usr/local/nagios/lib > directory)to /usr/X11R6/lib > > libpp_storage_file_output.so > libpp_storage_file_output.so.0 > libpp_storage_file_output.so.0.0.0 > > libpp_storage_gnuplot.so > libpp_storage_gnuplot.so.0 > libpp_storage_gnuplot.so.0.0.0 > > libpp_storage_mysql.so > libpp_storage_mysql.so.0 > libpp_storage_mysql.so.0.0.0 > > libpp_storage_print.so > libpp_storage_print.so.0 > libpp_storage_print.so.0.0.0 > > libpp_storage_socket_output.so > libpp_storage_socket_output.so.0 > libpp_storage_socket_output.so.0.0.0 > > libpp_storage_stdout.so > libpp_storage_stdout.so.0 > libpp_storage_stdout.so.0.0.0 > > 3. antsz1:~# ldconfig > > Are the above steps correct? Is something missing? > > Please help me what to do. > > Thanks in advance! > > Bye, Tamas! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: garrett h. <gh...@3g...> - 2005-05-13 22:39:45
|
Are there any references for integrating nagios into perfparse? I noticed on the screenshots that there is a box to search for hosts and a link for PerfData graphs. Thanks. -g // Garrett Honeycutt // Systems Administrator // 3GUpload.com, Inc. |
From: Horvath T. <zs...@ax...> - 2005-05-13 17:53:41
|
Hi List! After I ran configure (for PP 0.105.6) there was the following message in he screen: WARNING WARNING WARNING WARNING WARNING WARNING WARNING Be sure to install libpp_storage_*.so files in a directory that ld.so knows (/etc/ld.so.conf, run ldconfig if needed, or $LD_LIBRARY_PATH) WARNING WARNING WARNING WARNING WARNING WARNING WARNING I managed to succesfully make and configure PP, but I don't know how to procede the above step. I did the following: 1. antsz1:/etc# cat /etc/ld.so.conf /usr/X11R6/lib antsz1:/etc# 2. I did symlinks for the following files (which are in /usr/local/nagios/lib directory)to /usr/X11R6/lib libpp_storage_file_output.so libpp_storage_file_output.so.0 libpp_storage_file_output.so.0.0.0 libpp_storage_gnuplot.so libpp_storage_gnuplot.so.0 libpp_storage_gnuplot.so.0.0.0 libpp_storage_mysql.so libpp_storage_mysql.so.0 libpp_storage_mysql.so.0.0.0 libpp_storage_print.so libpp_storage_print.so.0 libpp_storage_print.so.0.0.0 libpp_storage_socket_output.so libpp_storage_socket_output.so.0 libpp_storage_socket_output.so.0.0.0 libpp_storage_stdout.so libpp_storage_stdout.so.0 libpp_storage_stdout.so.0.0.0 3. antsz1:~# ldconfig Are the above steps correct? Is something missing? Please help me what to do. Thanks in advance! Bye, Tamas! |
From: Horvath T. <zs...@ax...> - 2005-05-12 19:32:16
|
Hi List! According to PP's installation document, if I choose method3 (Periodic User Log Parse), I have to "Edit a script like this : #!/bin/sh $USER2=/perfparse/installation/directory mv ${USER2}/var/perfdata-service.log ${USER2}/var/perfdata-service.log1 cat ${USER2}/var/perfdata-service.log1 | ${USER2}/bin/perfparse-log2mysql -c ${USER2}/etc/perfparse.cfg rm ${USER2}/var/perfdata-service.log1" I can not find after I create the above script when will it be used. Or do I have to edit an existing script? If yes which one? Thanks you very much. Bye, Tamas! |
From: Horvath T. <zs...@ax...> - 2005-05-12 19:27:14
|
Hi List! I installed PP 0.105.6 yesterday. I chose method3, Periodic User Log Parse. As I can see in the PP's install documentation (http://perfparse.sourceforge.net/docs.php#AEN277) I have to add the following to misccommands.cfg file: define command{ command_name process-service-perfdata command_line $USER2$/bin/perfparse_nagios_command.pl $USER2$/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" } According to Nagios documentation (http://nagios.sourceforge.net/docs/1_0/xpddefault.html) I can add the following to misccommands.cfg file: define command{ command_name process-service-perfdata command_line /bin/echo -e "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$ STATETYPE$\t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" >> /usr/local/nagios/var/service-perfdata } I would like to graph $EXECUTIONTIME$ and $LATENCY$ values in PP, but I don't want to experiment with PP. Can someone help me how to do that? Thanks in advance! Bye, Tamas! |
From: Jessica H. <Je...@gm...> - 2005-05-10 13:33:29
|
Hi, I've an problem... Everything works finde, but when I'm starting nagios on the command line I have this output and I don't know why: mnlinux:~ # /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL Nagios 2.0b3 starting... (PID=9849) 2005/05/10 15:04:12 [ storage.c:95 9872 ] storage_mysql module successfully loaded 2005/05/10 15:04:12 [ storage.c:95 9876 ] storage_mysql module successfully loaded 2005/05/10 15:04:12 [ storage.c:95 9880 ] storage_mysql module successfully loaded 2005/05/10 15:04:12 [ storage.c:95 9884 ] storage_mysql module successfully loaded 2005/05/10 15:04:13 [ storage.c:95 9888 ] storage_mysql module successfully loaded 2005/05/10 15:04:13 [ storage.c:95 9892 ] storage_mysql module successfully loaded This output goes on and on and does not stop... Any ideas? -- +++ Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS +++ GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail -- +++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++ Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl |
From: Yves M. <yme...@li...> - 2005-05-04 12:29:09
|
> Ok I'm trying to follow that link to building method 4 > http://wiki.perfparse.org/tiki-index.php?page=3DBuildingMethod4Example > but getting "page not found" from wiki > > have you moved it or something ??????? Moved :) http://wiki.perfparse.org/tiki-index.php?page=3DExample+for+configuration= +with+a+pipe The title is more clear now :) Yves --=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/ - |
From: Arnar T. <ar...@ca...> - 2005-05-04 10:08:21
|
Ok I'm trying to follow that link to building method 4 http://wiki.perfparse.org/tiki-index.php?page=BuildingMethod4Example but getting "page not found" from wiki have you moved it or something ??????? On Thu, 2005-02-10 at 10:22, Ben Clewett wrote: > The document you mention I believe is: > > http://wiki.perfparse.org/tiki-index.php?page=BuildingMethod4Example > > Supplied kindly by Alex Peeters. > > If you have found this useful, I'll link this from our FAQ. > > Thanks for the advise on Nagios 2.x. PerfParse is not 'officially' able > to read this, but only because I don't use Nagios 2.x and I have yet to > get back comments about how this works. > > I am after any such comments in order to update our documentation, so > thanks for your observations. Would you have a tested example of a > configuration? > > Regards, > > Ben. > > > Tong Young wrote: > > Thanks. Just want to say that someone posted a link to a document on installing Perfparse with the pipe method and I followed the instructions contained there and it works perfectly. So if anyone is having problems they should have a look at that link. It was posted within the last two days I believe. The subject line is Good Documentation or something similar. > > > > And someone posted that they are getting perfdata written to the perfdata-service.log in the form of $ signs. I would guess that you are using Nagios 2.0.. The variables $PERFDATA$ and one other has changed to $SERVICEPERFDATA$ and so forth.. Check out the documentation for Nagios 2.0 or the sample config files. One of them contains the changes made to the variables. > > > > ________________________________ > > > > From: per...@li... on behalf of Yves > > Sent: Thu 2/10/2005 12:50 AM > > To: per...@li... > > Subject: Re: [Perfparse-users] Perparse Method 4 (pipe) > > > > > > > > > > > >>I have read through the documentation and groups and got it working, but > >>I need to manually run ./perfparsed before the service-perfdata.log file > >>is created by nagios. Is this by design? > > > > > > > > If you are running nagios-1.2, yes, this is by design. > > Perfparsed reads from a pipe, and creates it if necessary. If you run nagios-1.2 before, > > it will write to whatever the file is, and if it does not exist, write a new file. > > If the design was to run perfparsed after nagios, you would loose the data written in > > that file, or have perfparsed block because of that regular file. > > > > Yves > > > > -- > > - 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/ - > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&opÌk > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users -- Kveðja Arnar Þórarinsson Tölvunarfræðingur Kerfisdeild Sími : 569 4289 GSM : 861 2871 ---------------------- Flugmálastjórn Íslands Reykjavíkurflugvöllur 121 Reykjavík http://www.caa.is ---------------------- |
From: Christophe <cgo...@gm...> - 2005-04-29 16:02:02
|
Hello, I try to connect to Mysql on a non standard port (host:port) with pp=20 v0.100.7. It seems to not work. Is there something special to do ? Thanks. --=20 Christophe |
From: Pavol L. <pavol.luptak@i.cz> - 2005-04-26 18:35:52
|
Hello, I set up Nagios users/groups, so only given authenticated users have an access to given hosts or services (according to the contacts.cfg), but each authenticated user has full access to perfparse.cgi script, i.e. to all groups/services. I found the perfdata_users table which is used to store Apache authenticated user names. Is it possible to specify which users can access to which perfparse groups. By default any user has full access to all perfparse groups. Thanks a lot, Pavol -- ___________________________________________________________________ [Pavol Luptak, ICZ a.s.] [Pavol.Luptak@i.cz] [tel: +420(2)44100111] |
From: Yves <yme...@pe...> - 2005-04-25 12:39:50
|
You think right : we are very pleased to learn that Perfparse is a projec= t serious enough to be taken into account when nagios is the chosen tool :) Thanks for the feedback, Ricardo :) Yves > Hi > > I thought it could be interesting to you guys to know that my solution > for nagios in high availability environments was accepted as a paper > (strangeley :) ) at IADIS international virtual conference about > Informatics (http://www.iadis.org/multi2005/Program_MULTI2005.htm - > check the 14th of April). The work is also available in > www.nagios.org/docs/ > > I am telling you this because Perfparse is part of the solution. > > Regards > > -- > Ricardo David Martins > --=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/ - |
From: Yves <yme...@pe...> - 2005-04-25 10:29:41
|
Hi everybody, I made some changes on the Wiki (http://wiki.perfparse.org). In fact, I added a new page http://wiki.perfparse.org/tiki-index.php?page= =3DDocuments and a new link bar on the top of the home page : [homepage|Documents|FAQS] The idea for the new "Documents" page is to reference all the pages that = are on the Wiki that are not in the FAQ. I ask the admins and page authors to update that "Documents" page for all= the docs they wrote. Please check those URLs : http://wiki.perfparse.org/tiki-listpages.php http://wiki.perfparse.org/tiki-orphan_pages.php And for the users, just enjoy those new pages and older pages that were h= idden in the deepness of the database :) Yves --=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/ - |
From: <m.w...@au...> - 2005-04-20 14:14:55
|
Thank you, I changed the plugin (commas to spaces) and it works. mikus -----Original Message----- From: Flo Gleixner [mailto:fl...@bi...]=20 Sent: Wednesday, April 20, 2005 3:39 PM To: Miko=C5=82aj Wi=C5=9Bniewski Cc: PerfParse Subject: Re: [Perfparse-users] FW: nagios-2.0b3 and perfparse-0.105.6: = second metric missing Here: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN142 is defined: multiple metrics have to be separated by spaces not ",". If=20 the metric name contains spaces, then the metric name has to be enclosed = by single quotes. Wrong: = ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 Right: ram_used=3D246156;;;0;255136 swap_used=3D7392;416045;468050;0;520056 Did this Syntax change? I don't think so. Flo On Wed, 20 Apr 2005, [iso-8859-2] Miko=C2=B3aj Wi=C2=B6niewski wrote: > Hi all, > I'm testing right now the nagios-2.0b3 and perfparse-0.105.6 with=20 > Patrick Proy's snmp plugins. >> From plugin check_snmp_mem I receive following performance data: > > ./check_snmp_mem.pl -H x.x.x.x -C public -f -w 0,80 -c 0,90 > > Ram : 96%, Swap : 1% : ; OK |=20 > ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 > > But perfparse show only: > Host: X Service: MEMORY LOAD Metric: ram_used > > What I have to do to draw swap_used also ? > > The same problem i have with other plugins: > > ./check_snmp_load.pl -H x.x.x.x -C public -I -w 50,50,50 -c 90,90,90=20 > -f CPU : 1 0 0 : OK |=20 > load_5_sec=3D1%;50;90,load_1_min=3D0%;50;90,load_5_min=3D0%;50;90 > > There is no load_1_min and load_5_min with this host & service. > > mikus > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. Version 11=20 > adds new functionality designed to reduce time involved in creating,=20 > integrating, and deploying reporting solutions. Free runtime info, new = > features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Perfparse-users mailing list Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Yves <yme...@pe...> - 2005-04-20 13:45:40
|
Does this help ? http://wiki.perfparse.org/tiki-view_faq.php?faqId=3D5#q8 http://wiki.perfparse.org/tiki-view_faq.php?faqId=3D7#q12 http://wiki.perfparse.org/tiki-view_faq.php?faqId=3D6#q7 If not, I hope that nagios-2.0x users can help (I'm still with 1.2 :) Yves > Hi all, > I'm testing right now the nagios-2.0b3 and perfparse-0.105.6 with > Patrick Proy's snmp plugins. > From plugin check_snmp_mem I receive following performance data: > > ./check_snmp_mem.pl -H x.x.x.x -C public -f -w 0,80 -c 0,90 > > Ram : 96%, Swap : 1% : ; OK | > ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 > > But perfparse show only: > Host: X Service: MEMORY LOAD Metric: ram_used > > What I have to do to draw swap_used also ? > > The same problem i have with other plugins: > > ./check_snmp_load.pl -H x.x.x.x -C public -I -w 50,50,50 -c 90,90,90 -f > CPU : 1 0 0 : OK | > load_5_sec=3D1%;50;90,load_1_min=3D0%;50;90,load_5_min=3D0%;50;90 > > There is no load_1_min and load_5_min with this host & service. > > mikus > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime = info, > new features, or free trial, at: http://www.businessobjects.com/devxi/7= 28 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > --=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/ - |