From: schnitzel m. <sch...@gm...> - 2005-03-31 15:03:11
|
Hello. I'm trying to install perfparse on Debian 3.1 We have php4-gd installed, which relies on libgd (i.e. not libgd2) I think this is why I cannot compile, however I would have expected the configure script to pick this up. Here is the output I get from make when I run it a second time: # make make all-recursive make[1]: Entering directory `/root/building/perfparse-0.105.6' Making all in intl make[2]: Entering directory `/root/building/perfparse-0.105.6/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/intl' Making all in m4 make[2]: Entering directory `/root/building/perfparse-0.105.6/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/m4' Making all in libnagios_perfdata_parser make[2]: Entering directory `/root/building/perfparse-0.105.6/libnagios_perfdata_parser' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/libnagios_perfdata_parser' Making all in libpp_common make[2]: Entering directory `/root/building/perfparse-0.105.6/libpp_common' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/libpp_common' Making all in libpp_mysql make[2]: Entering directory `/root/building/perfparse-0.105.6/libpp_mysql' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/libpp_mysql' Making all in modules make[2]: Entering directory `/root/building/perfparse-0.105.6/modules' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/modules' Making all in perfparse make[2]: Entering directory `/root/building/perfparse-0.105.6/perfparse' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/perfparse' Making all in db_tools make[2]: Entering directory `/root/building/perfparse-0.105.6/db_tools' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/building/perfparse-0.105.6/db_tools' Making all in cgi make[2]: Entering directory `/root/building/perfparse-0.105.6/cgi' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L../libpp_mysql -lpp_mysql -L'/usr/lib' -lmysqlclient -lz -lcrypt -lnsl -lm -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/root/building/perfparse-0.105.6/libpp_mysql /root/building/perfparse-0.105.6/libpp_mysql/.libs/libpp_mysql.so -L/usr/lib /usr/lib/libmysqlclient.so -lcrypt -lnsl -L/root/building/perfparse-0.105.6/libpp_common /root/building/perfparse-0.105.6/libpp_common/.libs/libpp_common.so -lz /usr/lib/libglib-2.0.so -ldl -lm -Wl,--rpath -Wl,/usr/local/perfparse-0.105.6/lib perfchart_png-perfchart.o(.text+0x1b2): In function `main': /root/building/perfparse-0.105.6/cgi/perfchart.c:277: undefined reference to `gdImageRectangle' perfchart_png-perfchart.o(.text+0x1f2):/root/building/perfparse-0.105.6/cgi/perfchart.c:278: undefined reference to `gdImageRectangle' perfchart_png-perfchart.o(.text+0x22f):/root/building/perfparse-0.105.6/cgi/perfchart.c:281: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x26e):/root/building/perfparse-0.105.6/cgi/perfchart.c:282: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x29c):/root/building/perfparse-0.105.6/cgi/perfchart.c:295: undefined reference to `gdImagePng' perfchart_png-perfchart.o(.text+0x6f8): In function `initChartGraphics': /root/building/perfparse-0.105.6/cgi/perfchart.c:464: undefined reference to `gdImageCreate' perfchart_png-perfchart.o(.text+0x728):/root/building/perfparse-0.105.6/cgi/perfchart.c:468: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x74c):/root/building/perfparse-0.105.6/cgi/perfchart.c:469: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x773):/root/building/perfparse-0.105.6/cgi/perfchart.c:470: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x7a0):/root/building/perfparse-0.105.6/cgi/perfchart.c:471: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x7c7):/root/building/perfparse-0.105.6/cgi/perfchart.c:472: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x7f1):/root/building/perfparse-0.105.6/cgi/perfchart.c:473: more undefined references to `gdImageColorAllocate' follow perfchart_png-perfchart.o(.text+0xba0): In function `drawHeadings': /root/building/perfparse-0.105.6/cgi/perfchart.c:600: undefined reference to `gdImageRectangle' perfchart_png-perfchart.o(.text+0xbea):/root/building/perfparse-0.105.6/cgi/perfchart.c:605: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xbfb):/root/building/perfparse-0.105.6/cgi/perfchart.c:605: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xc73):/root/building/perfparse-0.105.6/cgi/perfchart.c:621: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xc84):/root/building/perfparse-0.105.6/cgi/perfchart.c:621: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xcfa):/root/building/perfparse-0.105.6/cgi/perfchart.c:632: undefined reference to `gdFontMediumBold' perfchart_png-perfchart.o(.text+0xd0b):/root/building/perfparse-0.105.6/cgi/perfchart.c:632: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xe27):/root/building/perfparse-0.105.6/cgi/perfchart.c:595: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xe38):/root/building/perfparse-0.105.6/cgi/perfchart.c:595: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xe64):/root/building/perfparse-0.105.6/cgi/perfchart.c:596: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xe90):/root/building/perfparse-0.105.6/cgi/perfchart.c:597: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xeca):/root/building/perfparse-0.105.6/cgi/perfchart.c:589: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xedb):/root/building/perfparse-0.105.6/cgi/perfchart.c:589: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xf07):/root/building/perfparse-0.105.6/cgi/perfchart.c:590: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xf33):/root/building/perfparse-0.105.6/cgi/perfchart.c:591: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xf6a):/root/building/perfparse-0.105.6/cgi/perfchart.c:583: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xf7b):/root/building/perfparse-0.105.6/cgi/perfchart.c:583: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xfa7):/root/building/perfparse-0.105.6/cgi/perfchart.c:584: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xfd3):/root/building/perfparse-0.105.6/cgi/perfchart.c:585: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x100a):/root/building/perfparse-0.105.6/cgi/perfchart.c:577: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x101b):/root/building/perfparse-0.105.6/cgi/perfchart.c:577: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x1047):/root/building/perfparse-0.105.6/cgi/perfchart.c:578: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x1073):/root/building/perfparse-0.105.6/cgi/perfchart.c:579: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x10a1):/root/building/perfparse-0.105.6/cgi/perfchart.c:571: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x10b2):/root/building/perfparse-0.105.6/cgi/perfchart.c:571: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x10ea):/root/building/perfparse-0.105.6/cgi/perfchart.c:572: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x1116):/root/building/perfparse-0.105.6/cgi/perfchart.c:573: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x1281): In function `drawAverage': /root/building/perfparse-0.105.6/cgi/perfchart.c:743: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x1396):/root/building/perfparse-0.105.6/cgi/perfchart.c:691: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x1400):/root/building/perfparse-0.105.6/cgi/perfchart.c:696: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x147a):/root/building/perfparse-0.105.6/cgi/perfchart.c:715: more undefined references to `gdImageLine' follow perfchart_png-perfchart.o(.text+0x1e8b): In function `drawYScalePercent': /root/building/perfparse-0.105.6/cgi/perfchart.c:1002: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x1ea6):/root/building/perfparse-0.105.6/cgi/perfchart.c:1002: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x1fa9): In function `drawYScale': /root/building/perfparse-0.105.6/cgi/perfchart.c:1065: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x1fba):/root/building/perfparse-0.105.6/cgi/perfchart.c:1065: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x23c1): In function `drawXScale': /root/building/perfparse-0.105.6/cgi/perfchart.c:1236: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x23d2):/root/building/perfparse-0.105.6/cgi/perfchart.c:1236: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x2480):/root/building/perfparse-0.105.6/cgi/perfchart.c:1182: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x2491):/root/building/perfparse-0.105.6/cgi/perfchart.c:1182: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x2539):/root/building/perfparse-0.105.6/cgi/perfchart.c:1123: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x254a):/root/building/perfparse-0.105.6/cgi/perfchart.c:1123: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x25a7):/root/building/perfparse-0.105.6/cgi/perfchart.c:1129: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x25b8):/root/building/perfparse-0.105.6/cgi/perfchart.c:1129: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x2681):/root/building/perfparse-0.105.6/cgi/perfchart.c:1087: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x2692):/root/building/perfparse-0.105.6/cgi/perfchart.c:1087: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x3286): In function `print_failure_html': /root/building/perfparse-0.105.6/cgi/perfchart.c:1606: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x32c5):/root/building/perfparse-0.105.6/cgi/perfchart.c:1608: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x32da):/root/building/perfparse-0.105.6/cgi/perfchart.c:1608: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x3301):/root/building/perfparse-0.105.6/cgi/perfchart.c:1609: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x3312):/root/building/perfparse-0.105.6/cgi/perfchart.c:1609: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x3328):/root/building/perfparse-0.105.6/cgi/perfchart.c:1612: undefined reference to `gdImagePng' perfchart_png-perfchart.o(.text+0x3672): In function `print_sql_failure_image': /root/building/perfparse-0.105.6/cgi/perfchart.c:1738: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x36b1):/root/building/perfparse-0.105.6/cgi/perfchart.c:1740: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x36c6):/root/building/perfparse-0.105.6/cgi/perfchart.c:1740: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x36ea):/root/building/perfparse-0.105.6/cgi/perfchart.c:1741: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x36fb):/root/building/perfparse-0.105.6/cgi/perfchart.c:1741: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x373a):/root/building/perfparse-0.105.6/cgi/perfchart.c:1743: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x374f):/root/building/perfparse-0.105.6/cgi/perfchart.c:1743: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x3773):/root/building/perfparse-0.105.6/cgi/perfchart.c:1744: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x3784):/root/building/perfparse-0.105.6/cgi/perfchart.c:1744: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x37aa):/root/building/perfparse-0.105.6/cgi/perfchart.c:1751: undefined reference to `gdImagePng' collect2: ld returned 1 exit status make[2]: *** [perfchart.png] Error 1 make[2]: Leaving directory `/root/building/perfparse-0.105.6/cgi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/building/perfparse-0.105.6' make: *** [all] Error 2 Thanks a lot. |
From: Yves <yme...@pe...> - 2005-04-01 15:21:10
|
Hi, Somebody already did this. I hope he would answer with the exact way to d= o... Do you have gdlib-config somewhere with ph4-gd ? If yes, ./configure --with-gdlib_config=3D/path/to/that/location If not, ./configure CFLAGS=3D-I/path/to/gd/include LDFLAGS=3D-L/path/to/gd/lib -l= gd make CFLAGS=3D-I/path/to/gd/include LDFLAGS=3D-L/path/to/gd/lib -lgd This is not exact and I'm not sure it works. Maybe you will have to add CPPFLAGS=3D-I/path/to/gd/include. Maybe you will have to do LDADD like LD= FLAGS ? Could you send us how you did it if it works for you ? And better, if you= can, write this to the wiki : http://wiki.perfparse.org/tiki-view_faq.php?faqId=3D1 Thanks in advance, Yves > Hello. > I'm trying to install perfparse on Debian 3.1 > > We have php4-gd installed, which relies on libgd (i.e. not libgd2) > I think this is why I cannot compile, however I would have expected > the configure script to pick this up. > > Here is the output I get from make when I run it a second time: > > # make > make all-recursive > make[1]: Entering directory `/root/building/perfparse-0.105.6' > Making all in intl > make[2]: Entering directory `/root/building/perfparse-0.105.6/intl' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/intl' > Making all in m4 > make[2]: Entering directory `/root/building/perfparse-0.105.6/m4' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/m4' > Making all in libnagios_perfdata_parser > make[2]: Entering directory > `/root/building/perfparse-0.105.6/libnagios_perfdata_parser' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/root/building/perfparse-0.105.6/libnagios_perfdata_parser' > Making all in libpp_common > make[2]: Entering directory `/root/building/perfparse-0.105.6/libpp_com= mon' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/libpp_comm= on' > Making all in libpp_mysql > make[2]: Entering directory `/root/building/perfparse-0.105.6/libpp_mys= ql' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/libpp_mysq= l' > Making all in modules > make[2]: Entering directory `/root/building/perfparse-0.105.6/modules' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/modules' > Making all in perfparse > make[2]: Entering directory `/root/building/perfparse-0.105.6/perfparse= ' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/perfparse' > Making all in db_tools > make[2]: Entering directory `/root/building/perfparse-0.105.6/db_tools' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/root/building/perfparse-0.105.6/db_tools' > Making all in cgi > make[2]: Entering directory `/root/building/perfparse-0.105.6/cgi' > /bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 -Wall -o > perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o > -L../libpp_mysql -lpp_mysql -L'/usr/lib' -lmysqlclient -lz -lcrypt > -lnsl -lm -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/root/building/perfparse-0.105.6/libpp_mysql > /root/building/perfparse-0.105.6/libpp_mysql/.libs/libpp_mysql.so > -L/usr/lib /usr/lib/libmysqlclient.so -lcrypt -lnsl > -L/root/building/perfparse-0.105.6/libpp_common > /root/building/perfparse-0.105.6/libpp_common/.libs/libpp_common.so > -lz /usr/lib/libglib-2.0.so -ldl -lm -Wl,--rpath > -Wl,/usr/local/perfparse-0.105.6/lib > perfchart_png-perfchart.o(.text+0x1b2): In function `main': > /root/building/perfparse-0.105.6/cgi/perfchart.c:277: undefined > reference to `gdImageRectangle' > perfchart_png-perfchart.o(.text+0x1f2):/root/building/perfparse-0.105.6= /cgi/perfchart.c:278: > undefined reference to `gdImageRectangle' > perfchart_png-perfchart.o(.text+0x22f):/root/building/perfparse-0.105.6= /cgi/perfchart.c:281: > undefined reference to `gdImageFilledRectangle' > perfchart_png-perfchart.o(.text+0x26e):/root/building/perfparse-0.105.6= /cgi/perfchart.c:282: > undefined reference to `gdImageFilledRectangle' > perfchart_png-perfchart.o(.text+0x29c):/root/building/perfparse-0.105.6= /cgi/perfchart.c:295: > undefined reference to `gdImagePng' > perfchart_png-perfchart.o(.text+0x6f8): In function `initChartGraphics'= : > /root/building/perfparse-0.105.6/cgi/perfchart.c:464: undefined > reference to `gdImageCreate' > perfchart_png-perfchart.o(.text+0x728):/root/building/perfparse-0.105.6= /cgi/perfchart.c:468: > undefined reference to `gdImageColorAllocate' > perfchart_png-perfchart.o(.text+0x74c):/root/building/perfparse-0.105.6= /cgi/perfchart.c:469: > undefined reference to `gdImageColorAllocate' > perfchart_png-perfchart.o(.text+0x773):/root/building/perfparse-0.105.6= /cgi/perfchart.c:470: > undefined reference to `gdImageColorAllocate' > perfchart_png-perfchart.o(.text+0x7a0):/root/building/perfparse-0.105.6= /cgi/perfchart.c:471: > undefined reference to `gdImageColorAllocate' > perfchart_png-perfchart.o(.text+0x7c7):/root/building/perfparse-0.105.6= /cgi/perfchart.c:472: > undefined reference to `gdImageColorAllocate' > perfchart_png-perfchart.o(.text+0x7f1):/root/building/perfparse-0.105.6= /cgi/perfchart.c:473: > more undefined references to `gdImageColorAllocate' follow > perfchart_png-perfchart.o(.text+0xba0): In function `drawHeadings': > /root/building/perfparse-0.105.6/cgi/perfchart.c:600: undefined > reference to `gdImageRectangle' > perfchart_png-perfchart.o(.text+0xbea):/root/building/perfparse-0.105.6= /cgi/perfchart.c:605: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0xbfb):/root/building/perfparse-0.105.6= /cgi/perfchart.c:605: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0xc73):/root/building/perfparse-0.105.6= /cgi/perfchart.c:621: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0xc84):/root/building/perfparse-0.105.6= /cgi/perfchart.c:621: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0xcfa):/root/building/perfparse-0.105.6= /cgi/perfchart.c:632: > undefined reference to `gdFontMediumBold' > perfchart_png-perfchart.o(.text+0xd0b):/root/building/perfparse-0.105.6= /cgi/perfchart.c:632: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0xe27):/root/building/perfparse-0.105.6= /cgi/perfchart.c:595: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0xe38):/root/building/perfparse-0.105.6= /cgi/perfchart.c:595: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0xe64):/root/building/perfparse-0.105.6= /cgi/perfchart.c:596: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0xe90):/root/building/perfparse-0.105.6= /cgi/perfchart.c:597: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0xeca):/root/building/perfparse-0.105.6= /cgi/perfchart.c:589: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0xedb):/root/building/perfparse-0.105.6= /cgi/perfchart.c:589: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0xf07):/root/building/perfparse-0.105.6= /cgi/perfchart.c:590: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0xf33):/root/building/perfparse-0.105.6= /cgi/perfchart.c:591: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0xf6a):/root/building/perfparse-0.105.6= /cgi/perfchart.c:583: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0xf7b):/root/building/perfparse-0.105.6= /cgi/perfchart.c:583: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0xfa7):/root/building/perfparse-0.105.6= /cgi/perfchart.c:584: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0xfd3):/root/building/perfparse-0.105.6= /cgi/perfchart.c:585: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x100a):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:577: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x101b):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:577: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x1047):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:578: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x1073):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:579: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x10a1):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:571: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x10b2):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:571: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x10ea):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:572: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x1116):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:573: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x1281): In function `drawAverage': > /root/building/perfparse-0.105.6/cgi/perfchart.c:743: undefined > reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x1396):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:691: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x1400):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:696: > undefined reference to `gdImageLine' > perfchart_png-perfchart.o(.text+0x147a):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:715: > more undefined references to `gdImageLine' follow > perfchart_png-perfchart.o(.text+0x1e8b): In function `drawYScalePercent= ': > /root/building/perfparse-0.105.6/cgi/perfchart.c:1002: undefined > reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x1ea6):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1002: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x1fa9): In function `drawYScale': > /root/building/perfparse-0.105.6/cgi/perfchart.c:1065: undefined > reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x1fba):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1065: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x23c1): In function `drawXScale': > /root/building/perfparse-0.105.6/cgi/perfchart.c:1236: undefined > reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x23d2):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1236: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x2480):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1182: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x2491):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1182: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x2539):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1123: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x254a):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1123: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x25a7):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1129: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x25b8):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1129: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x2681):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1087: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x2692):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1087: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x3286): In function `print_failure_htm= l': > /root/building/perfparse-0.105.6/cgi/perfchart.c:1606: undefined > reference to `gdImageFilledRectangle' > perfchart_png-perfchart.o(.text+0x32c5):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1608: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x32da):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1608: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x3301):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1609: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x3312):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1609: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x3328):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1612: > undefined reference to `gdImagePng' > perfchart_png-perfchart.o(.text+0x3672): In function `print_sql_failure= _image': > /root/building/perfparse-0.105.6/cgi/perfchart.c:1738: undefined > reference to `gdImageFilledRectangle' > perfchart_png-perfchart.o(.text+0x36b1):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1740: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x36c6):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1740: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x36ea):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1741: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x36fb):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1741: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x373a):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1743: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x374f):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1743: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x3773):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1744: > undefined reference to `gdFontSmall' > perfchart_png-perfchart.o(.text+0x3784):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1744: > undefined reference to `gdImageString' > perfchart_png-perfchart.o(.text+0x37aa):/root/building/perfparse-0.105.= 6/cgi/perfchart.c:1751: > undefined reference to `gdImagePng' > collect2: ld returned 1 exit status > make[2]: *** [perfchart.png] Error 1 > make[2]: Leaving directory `/root/building/perfparse-0.105.6/cgi' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/building/perfparse-0.105.6' > make: *** [all] Error 2 > > Thanks a lot. > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > 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/ - |
From: schnitzel m. <sch...@gm...> - 2005-04-04 10:21:12
|
On Apr 1, 2005 5:20 PM, Yves <yme...@pe...> wrote: > Hi, > > Somebody already did this. I hope he would answer with the exact way to do... > Do you have gdlib-config somewhere with ph4-gd ? > If yes, ./configure --with-gdlib_config=/path/to/that/location > > If not, > ./configure CFLAGS=-I/path/to/gd/include LDFLAGS=-L/path/to/gd/lib -lgd > make CFLAGS=-I/path/to/gd/include LDFLAGS=-L/path/to/gd/lib -lgd > > This is not exact and I'm not sure it works. Maybe you will have to add > CPPFLAGS=-I/path/to/gd/include. Maybe you will have to do LDADD like LDFLAGS ? > > Could you send us how you did it if it works for you ? And better, if you can, write > this to the wiki : http://wiki.perfparse.org/tiki-view_faq.php?faqId=1 > Thanks in advance, > > Yves > Thanks for this. Unfortunately it doesn't work :( First I looked for the gd library: # locate include | grep gd /usr/include/gd.h /usr/include/gdc.h /usr/include/gdchart.h /usr/include/gdcpie.h /usr/include/gdfontg.h /usr/include/gdfontl.h /usr/include/gdfontmb.h /usr/include/gdfonts.h /usr/include/gdfontt.h /usr/include/gd_io.h /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h /usr/include/linux/ipmi_msgdefs.h So /usr/include looks likely for the path. Then I ran # ./configure CFLAGS=-I/usr/include LDFLAGS=-L/usr/include -lgd configure: error: unrecognized option: -lgd So then I ran # ./configure CFLAGS=-I/usr/include LDFLAGS=-L/usr/include && make which complained about perfchart_png-perfchart.o(.text+0x22a): In function `main': : undefined reference to `gdImageRectangle' again. Here are the GD packages I have installed: # dpkg -l|grep GD ii libgd-dev 1.8.4-36.1 GD Graphics Library (transitional package) ii libgd-noxpm-de 1.8.4-36.1 GD Graphics Library (old version, without XP ii libgd1 1.8.4-36.1 GD Graphics Library (transitional package) ii libgd1-noxpm 1.8.4-36.1 GD Graphics Library (old version, without XP ii libgd2 2.0.33-1.1 GD Graphics Library version 2 ii libgd2-xpm 2.0.33-1.1 GD Graphics Library version 2 ii libgdchart-gd2 0.11.4-6 Generate graphs using the GD library ii libgdchart-gd2 0.11.4-6 Generate graphs using the GD library (develo ii php4-gd 4.3.10-9 GD module for php4 Hope you can help me on this one. ss |
From: Yves <yme...@pe...> - 2005-04-04 10:41:39
|
> ii libgd2 2.0.33-1.1 GD Graphics Library version 2 > ii libgd2-xpm 2.0.33-1.1 GD Graphics Library version 2 Hey, you have libgd2. Why don't you have gdlib-config ? Try to install libgd2-dev ? With this package, restart the compilation from scratch (remove everythin= g and uncompress perfparse.tar.gz again) and it should work. I thought you had only gd1 :) 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: schnitzel m. <sch...@gm...> - 2005-04-06 09:31:15
|
packages.debian.org is backup, I've found that libgd2-xpm-dev was what I needed. The compile works now. Thanks for your help. A quick look shows that there are no performance flags for the debian compiled version of nagios, which is a shame. I'll read the docs to see if I can avoid a recompile. On Apr 6, 2005 11:30 AM, schnitzel meister <sch...@gm...> wrote: > packages.debian.org is backup, I've found that libgd2-xpm-dev was what I needed. > The compile works now. Thanks for your help. > > A quick look shows that there are no performance flags for the debian > compiled version of nagios, which is a shame. I'll read the docs to > see if I can avoid a recompile. > > On Apr 4, 2005 12:41 PM, Yves <yme...@pe...> wrote: > > > > > > > ii libgd2 2.0.33-1.1 GD Graphics Library version 2 > > > ii libgd2-xpm 2.0.33-1.1 GD Graphics Library version 2 > > > > Hey, you have libgd2. Why don't you have gdlib-config ? > > > > Try to install libgd2-dev ? > > With this package, restart the compilation from scratch (remove everything and > > uncompress perfparse.tar.gz again) and it should work. > > > > I thought you had only gd1 :) > > > > 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/ - > > > > > |