From: Ben C. <bcl...@pe...> - 2005-01-24 21:29:48
|
Bergström Sorry, my fault. In the program cgi/perfgraph.c please move the code on line 75: argvInt[0] = argv[0]; To bellow the next paragraph, around line 86. Will be fixed in next release :) Ben Bergström Sebastian wrote: > Installing libglib2.0-dev helpes make to go much further but I still get a problem: > > host:~/perfparse-0.104.9# make > make all-recursive > make[1]: Entering directory `/root/perfparse-0.104.9' > Making all in intl > make[2]: Entering directory `/root/perfparse-0.104.9/intl' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/intl' > Making all in m4 > make[2]: Entering directory `/root/perfparse-0.104.9/m4' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/m4' > Making all in libnagios_perfdata_parser > make[2]: Entering directory `/root/perfparse-0.104.9/libnagios_perfdata_parser' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/libnagios_perfdata_parser' > Making all in libpp_common > make[2]: Entering directory `/root/perfparse-0.104.9/libpp_common' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/libpp_common' > Making all in libpp_mysql > make[2]: Entering directory `/root/perfparse-0.104.9/libpp_mysql' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/libpp_mysql' > Making all in modules > make[2]: Entering directory `/root/perfparse-0.104.9/modules' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/modules' > Making all in perfparse > make[2]: Entering directory `/root/perfparse-0.104.9/perfparse' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/perfparse' > Making all in db_tools > make[2]: Entering directory `/root/perfparse-0.104.9/db_tools' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/perfparse-0.104.9/db_tools' > Making all in cgi > make[2]: Entering directory `/root/perfparse-0.104.9/cgi' > source='perfgraph.c' object='perfparse_cgi-perfgraph.o' libtool=no \ depfile='.deps/perfparse_cgi-perfgraph.Po' tmpdepfile='.deps/perfparse_cgi-perfgraph.TPo' \ depmode=gcc /bin/sh ../depcomp \ > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I'/usr/include/mysql' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../libpp_common -I../libpp_mysql -I.. '-DLOCALEDIR="/usr/local/nagios/share/locale"' '-DSYSCONFDIR="/usr/local/nagios/etc"' -g -O2 -Wall -c -o perfparse_cgi-perfgraph.o `test -f 'perfgraph.c' || echo './'`perfgraph.c > perfgraph.c: In function `main': > perfgraph.c:75: parse error before `int' > perfgraph.c:93: `options' undeclared (first use in this function) > perfgraph.c:93: (Each undeclared identifier is reported only once > perfgraph.c:93: for each function it appears in.) > perfgraph.c: In function `displayDatabaseError': > perfgraph.c:271: warning: use of `l' length character with `f' type character > make[2]: *** [perfparse_cgi-perfgraph.o] Error 1 > make[2]: Leaving directory `/root/perfparse-0.104.9/cgi' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/perfparse-0.104.9' > make: *** [all] Error 2 > > Any kind of solution/idea are welcome. > > -----Original Message----- > From: Yves [mailto:yme...@pe...] > Sent: den 24 januari 2005 17:11 > To: per...@li... > Subject: Re: [Perfparse-users] Problem with make - perfparse 0.104.9 > > A package called libglib2.0-dev is probably missing. > The missing file comes from glib. > > > >>config_file.c:40: glib.h: No such file or directory > > > Yves > |