PDA

View Full Version : installation perfparse (compilation)


sebhm
09-09-2006, 08:15 PM
Bonjour,

je m'attaque à l'installation de Perfparse.
les fichiers README et INSTALL me dise de faire :
./configure
make
(make check)
make install

./configure : OK
make : KO

et voila ce qu'il me raconte :
make all-recursive
make[1]: Entering directory `/v/perfparse-0.106.1'
Making all in intl
make[2]: Entering directory `/v/perfparse-0.106.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/intl'
Making all in m4
make[2]: Entering directory `/v/perfparse-0.106.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/m4'
Making all in libnagios_perfdata_parser
make[2]: Entering directory `/v/perfparse-0.106.1/libnagios_perfdata_parser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/libnagios_perfdata_parser'
Making all in libpp_common
make[2]: Entering directory `/v/perfparse-0.106.1/libpp_common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/libpp_common'
Making all in libpp_mysql
make[2]: Entering directory `/v/perfparse-0.106.1/libpp_mysql'
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DSYSCONFDIR="/usr/share/nagios/etc"' '-DPREFIX="/usr/share/nagios"' '-DLOCALEDIR="/usr/share/nagios/share/locale"' -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/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/share/nagios/etc\" -DPREFIX=\"/usr/share/nagios\" -DLOCALEDIR=\"/usr/share/nagios/share/locale\" -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/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:29:19: mysql.h: No such file or directory
./dbms.h:30:20: errmsg.h: No such file or directory
In file included from dbms.c:36:
./dbms.h:36: error: syntax error before "db_mysql"
./dbms.h:36: warning: type defaults to `int' in declaration of `db_mysql'
./dbms.h:36: warning: data definition has no type or storage class
./dbms.h:37: error: syntax error before '*' token
./dbms.h:37: warning: type defaults to `int' in declaration of `query_result'
./dbms.h:37: warning: data definition has no type or storage class
./dbms.h:38: error: syntax error before "result_row"
./dbms.h:38: warning: type defaults to `int' in declaration of `result_row'
./dbms.h:38: 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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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:259: warning: implicit declaration of function `mysql_close'
dbms.c:263: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
make[2]: *** [libpp_mysql_la-dbms.lo] Error 1
make[2]: Leaving directory `/v/perfparse-0.106.1/libpp_mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/v/perfparse-0.106.1'
make: *** [all] Error 2


j'y comprends rien...

help...

Jpc_lgc
09-10-2006, 06:27 AM
Bonjour,

As tu libmysqlX-devel d'installe ? (le X correspond a la version de ton mysql, perso c'est libmysql15-devel-5.0.24)

Bye

sebhm
09-10-2006, 04:59 PM
Merci.
en effet, ca devait manquer...
Mais ca suffit pas, maintenant, j'ai ceci et c'est toujours du chinois pour moi... :
make all-recursive
make[1]: Entering directory `/v/perfparse-0.106.1'
Making all in intl
make[2]: Entering directory `/v/perfparse-0.106.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/intl'
Making all in m4
make[2]: Entering directory `/v/perfparse-0.106.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/m4'
Making all in libnagios_perfdata_parser
make[2]: Entering directory `/v/perfparse-0.106.1/libnagios_perfdata_parser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/libnagios_perfdata_parser'
Making all in libpp_common
make[2]: Entering directory `/v/perfparse-0.106.1/libpp_common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/libpp_common'
Making all in libpp_mysql
make[2]: Entering directory `/v/perfparse-0.106.1/libpp_mysql'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/libpp_mysql'
Making all in modules
make[2]: Entering directory `/v/perfparse-0.106.1/modules'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/modules'
Making all in perfparse
make[2]: Entering directory `/v/perfparse-0.106.1/perfparse'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/perfparse'
Making all in db_tools
make[2]: Entering directory `/v/perfparse-0.106.1/db_tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/v/perfparse-0.106.1/db_tools'
Making all in cgi
make[2]: Entering directory `/v/perfparse-0.106.1/cgi'
/bin/sh ../libtool --mode=link --tag=CC gcc -g -O2 -Wall -o perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L../libpp_mysql -lpp_mysql -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -L../libpp_common -lpp_common -lglib-2.0 -ldl -lm
gcc -g -O2 -Wall -o .libs/perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L/v/perfparse-0.106.1/libpp_mysql /v/perfparse-0.106.1/libpp_mysql/.libs/libpp_mysql.so -L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -L/usr/lib -lssl -lcrypto -L/v/perfparse-0.106.1/libpp_common /v/perfparse-0.106.1/libpp_common/.libs/libpp_common.so -lz -lglib-2.0 -ldl -lm -Wl,--rpath -Wl,/usr/local/lib
perfchart_png-perfchart.o(.text+0x1d): In function `initChartGraphics':
/v/perfparse-0.106.1/cgi/perfchart.c:464: undefined reference to `gdImageCreate'
perfchart_png-perfchart.o(.text+0x4a):/v/perfparse-0.106.1/cgi/perfchart.c:468: undefined reference to `gdImageColorAllocate'
perfchart_png-perfchart.o(.text+0x74):/v/perfparse-0.106.1/cgi/perfchart.c:469: undefined reference to `gdImageColorAllocate'
perfchart_png-perfchart.o(.text+0x9e):/v/perfparse-0.106.1/cgi/perfchart.c:470: undefined reference to `gdImageColorAllocate'
perfchart_png-perfchart.o(.text+0xc8):/v/perfparse-0.106.1/cgi/perfchart.c:471: undefined reference to `gdImageColorAllocate'
perfchart_png-perfchart.o(.text+0xf2):/v/perfparse-0.106.1/cgi/perfchart.c:472: undefined reference to `gdImageColorAllocate'
perfchart_png-perfchart.o(.text+0x11c):/v/perfparse-0.106.1/cgi/perfchart.c:473: more undefined references to `gdImageColorAllocate' follow
perfchart_png-perfchart.o(.text+0x54b): In function `print_failure_html':
/v/perfparse-0.106.1/cgi/perfchart.c:1614: undefined reference to `gdImageFilledRectangle'
perfchart_png-perfchart.o(.text+0x570):/v/perfparse-0.106.1/cgi/perfchart.c:1616: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x59b):/v/perfparse-0.106.1/cgi/perfchart.c:1616: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x5c0):/v/perfparse-0.106.1/cgi/perfchart.c:1617: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x5d1):/v/perfparse-0.106.1/cgi/perfchart.c:1617: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x5e7):/v/perfparse-0.106.1/cgi/perfchart.c:1620: undefined reference to `gdImagePng'
perfchart_png-perfchart.o(.text+0x6ce): In function `drawHeadings':
/v/perfparse-0.106.1/cgi/perfchart.c:600: undefined reference to `gdImageRectangle'
perfchart_png-perfchart.o(.text+0x714):/v/perfparse-0.106.1/cgi/perfchart.c:605: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x725):/v/perfparse-0.106.1/cgi/perfchart.c:605: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x7a1):/v/perfparse-0.106.1/cgi/perfchart.c:621: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x7b2):/v/perfparse-0.106.1/cgi/perfchart.c:621: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x826):/v/perfparse-0.106.1/cgi/perfchart.c:632: undefined reference to `gdFontMediumBold'
perfchart_png-perfchart.o(.text+0x83b):/v/perfparse-0.106.1/cgi/perfchart.c:632: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x86c):/v/perfparse-0.106.1/cgi/perfchart.c:595: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x880):/v/perfparse-0.106.1/cgi/perfchart.c:595: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x8b2):/v/perfparse-0.106.1/cgi/perfchart.c:596: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x8de):/v/perfparse-0.106.1/cgi/perfchart.c:597: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x90a):/v/perfparse-0.106.1/cgi/perfchart.c:589: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x91b):/v/perfparse-0.106.1/cgi/perfchart.c:589: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x953):/v/perfparse-0.106.1/cgi/perfchart.c:590: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x97f):/v/perfparse-0.106.1/cgi/perfchart.c:591: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x9b1):/v/perfparse-0.106.1/cgi/perfchart.c:583: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x9c5):/v/perfparse-0.106.1/cgi/perfchart.c:583: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x9f7):/v/perfparse-0.106.1/cgi/perfchart.c:584: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xa23):/v/perfparse-0.106.1/cgi/perfchart.c:585: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xa53):/v/perfparse-0.106.1/cgi/perfchart.c:577: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0xa64):/v/perfparse-0.106.1/cgi/perfchart.c:577: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0xa9c):/v/perfparse-0.106.1/cgi/perfchart.c:578: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xac8):/v/perfparse-0.106.1/cgi/perfchart.c:579: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xafd):/v/perfparse-0.106.1/cgi/perfchart.c:571: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0xb11):/v/perfparse-0.106.1/cgi/perfchart.c:571: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0xb3d):/v/perfparse-0.106.1/cgi/perfchart.c:572: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xb69):/v/perfparse-0.106.1/cgi/perfchart.c:573: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xe24): In function `drawPoints':
/v/perfparse-0.106.1/cgi/perfchart.c:812: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xe54):/v/perfparse-0.106.1/cgi/perfchart.c:809: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xe8d):/v/perfparse-0.106.1/cgi/perfchart.c:810: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0xec6):/v/perfparse-0.106.1/cgi/perfchart.c:811: more undefined references to `gdImageLine' follow
perfchart_png-perfchart.o(.text+0x1494): In function `drawYScale':
/v/perfparse-0.106.1/cgi/perfchart.c:1072: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x14ad):/v/perfparse-0.106.1/cgi/perfchart.c:1072: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x1601): In function `drawYScalePercent':
/v/perfparse-0.106.1/cgi/perfchart.c:1002: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x161c):/v/perfparse-0.106.1/cgi/perfchart.c:1002: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x169a): In function `drawGrid':
/v/perfparse-0.106.1/cgi/perfchart.c:904: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x181b):/v/perfparse-0.106.1/cgi/perfchart.c:985: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x188b):/v/perfparse-0.106.1/cgi/perfchart.c:911: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x18e1):/v/perfparse-0.106.1/cgi/perfchart.c:937: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x192c):/v/perfparse-0.106.1/cgi/perfchart.c:931: undefined reference to `gdImageLine'
perfchart_png-perfchart.o(.text+0x1992):/v/perfparse-0.106.1/cgi/perfchart.c:946: more undefined references to `gdImageLine' follow
perfchart_png-perfchart.o(.text+0x1e8d): In function `drawXScale':
/v/perfparse-0.106.1/cgi/perfchart.c:1243: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x1e9e):/v/perfparse-0.106.1/cgi/perfchart.c:1243: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x1f31):/v/perfparse-0.106.1/cgi/perfchart.c:1094: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x1f42):/v/perfparse-0.106.1/cgi/perfchart.c:1094: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x1fcc):/v/perfparse-0.106.1/cgi/perfchart.c:1138: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x1fdd):/v/perfparse-0.106.1/cgi/perfchart.c:1138: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x2038):/v/perfparse-0.106.1/cgi/perfchart.c:1136: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x2049):/v/perfparse-0.106.1/cgi/perfchart.c:1136: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x2112):/v/perfparse-0.106.1/cgi/perfchart.c:1189: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x2123):/v/perfparse-0.106.1/cgi/perfchart.c:1189: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x2fc7): In function `print_sql_failure_image':
/v/perfparse-0.106.1/cgi/perfchart.c:1746: undefined reference to `gdImageFilledRectangle'
perfchart_png-perfchart.o(.text+0x2fec):/v/perfparse-0.106.1/cgi/perfchart.c:1748: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x3017):/v/perfparse-0.106.1/cgi/perfchart.c:1748: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x3029):/v/perfparse-0.106.1/cgi/perfchart.c:1749: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x304a):/v/perfparse-0.106.1/cgi/perfchart.c:1749: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x306f):/v/perfparse-0.106.1/cgi/perfchart.c:1751: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x309a):/v/perfparse-0.106.1/cgi/perfchart.c:1751: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x30ac):/v/perfparse-0.106.1/cgi/perfchart.c:1752: undefined reference to `gdFontSmall'
perfchart_png-perfchart.o(.text+0x30cd):/v/perfparse-0.106.1/cgi/perfchart.c:1752: undefined reference to `gdImageString'
perfchart_png-perfchart.o(.text+0x30f3):/v/perfparse-0.106.1/cgi/perfchart.c:1759: undefined reference to `gdImagePng'
perfchart_png-perfchart.o(.text+0x3927): In function `main':
/v/perfparse-0.106.1/cgi/perfchart.c:277: undefined reference to `gdImageRectangle'
perfchart_png-perfchart.o(.text+0x3965):/v/perfparse-0.106.1/cgi/perfchart.c:278: undefined reference to `gdImageRectangle'
perfchart_png-perfchart.o(.text+0x399f):/v/perfparse-0.106.1/cgi/perfchart.c:281: undefined reference to `gdImageFilledRectangle'
perfchart_png-perfchart.o(.text+0x39dd):/v/perfparse-0.106.1/cgi/perfchart.c:282: undefined reference to `gdImageFilledRectangle'
perfchart_png-perfchart.o(.text+0x3a0b):/v/perfparse-0.106.1/cgi/perfchart.c:295: undefined reference to `gdImagePng'
collect2: ld returned 1 exit status
make[2]: *** [perfchart.png] Error 1
make[2]: Leaving directory `/v/perfparse-0.106.1/cgi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/v/perfparse-0.106.1'
make: *** [all] Error 2

DonKiShoot
09-10-2006, 07:51 PM
libgd developpement

phenigator
09-20-2006, 01:16 AM
bonjour à tous,
et je voudrais commencer mon premier post par féliciter toute l'équipe du projet.... Boulot énorme et bel interface. J'ai beaucoup tatonné au debut et je n'ai pas encore reussi à percer tous les mystères de votre logiciel. Mais malgré la deadline qui pèse sur mes épaules, je reste persuadé que le combat en vaut la peine....

J'experimente exactement la même erreur lors de l'a compile de perfparse et j'ai pourtant installé libgd et libgd-devel avec des RPMs me semblant corrects.
Liste des produits
# rpm -qa |grep gd
libgd-1.3-4
libgd-devel-1.3-4
php-gd-4.3.9-3.8
gdbm-1.8.0-24
sysklogd-1.4.1-26_EL
gd-2.0.28-4
gd-devel-2.0.28-4
gdbm-devel-1.8.0-24
gdm-2.6.0.5-7.rhel4.4
gdb-6.3.0.0-1.63

Coté Mysql également je crois avoir mis toutes les chances de mon coté:

# rpm -qa |grep mysql
mod_auth_mysql-2.6.1-2.2
mysqlclient10-3.23.58-4.RHEL4.1
mysqlclient10-devel-3.23.58-4.RHEL4.1
mysqlclient10-debuginfo-3.23.58-4.RHEL4.1
php-mysql-4.3.9-3.8

mysql-4.1.12-3.RHEL4.1
mysql-bench-4.1.12-3.RHEL4.1
mysql-server-4.1.12-3.RHEL4.1
mysql-devel-4.1.12-3.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1

...malheureusement même après un updatedb et un redemarrage, les erreurs lors du make de perfparse ne disparaissent pas... :? :cry:

un coup de pouce serait hautement apprécié!!! Merci d'avance

templuche
09-20-2006, 10:48 AM
Bonjour,

Essaye:
make clean
./configure .......
make

johngibb
10-06-2006, 03:10 PM
rpm --install gd-progs-XXX.rpm (avec gdlib-config)
make clean
./configure .......
make

et voila !

Lau.f
10-10-2006, 11:07 AM
Bonjour,
je suis en train d'installer perfparse a partir des sources.

J'ai pas eu de probleme avec la version 105, mais ça a l'air d'etre different avec la 106

voila ce que j'ai fait :

$./configure --prefix=/srv/supervision/nagios --exec-prefix=/srv/supervision/nagios --disable-phpui --with-gnu-ld --with-apache-user=wwwrun --with-imagedir=/srv/supervision/nagios/share/images/ --with-http_image_path=/nagios/images

$make
$make install (faire $make install-strip lorsque tout marche)


$cat scripts/mysql_create.sql | mysql -u nagios -p -D perfparse

dans /etc/ld.so.conf
j'ai rajouté la ligne : /srv/supervision/nagios/lib
puis : $ldconfig

dans le repertoire etc de nagios je renome perfparse.cfg.example en perfparse.cfg

je modifie les parametres de la connexion.

Maintenant, je teste l'install :

$./perfparse-log2mysql -c ../etc/perfparse.cfg --show_config

j'ai une erreur : storage_mysql module failed to load (msg='/libpp_storage_mysql.so: cannot open shared object file: No such file or directory')

sans trop y croire j'ai créé un lien symbolique sur la racine :

ln -s /srv/supervision/nagios/lib/libpp_storage_mysql.so /libpp_storage_mysql.so

et .. ça marche !!!

sauf que j'ai une Segmentation fault a la fin.

a suivre ...