From: Sand P. <Phi...@sy...> - 2006-11-01 14:15:43
|
Hi Flo, gd packages are installed: rpm -qa | grep gd gd-devel-2.0.28-4.4E.1 gd-2.0.28-4.4E.1 any other suggestions? Philipp _____________________________ Philipp Sand SYCOR GmbH - Sprach & Datenkommunikation _____________________________ =20 > -----Original Message----- > From: Florian Gleixner [mailto:fl...@bi...] > Sent: Wednesday, November 01, 2006 1:52 PM > To: Sand Philipp > Cc: per...@li... > Subject: Re: [Perfparse-users] Problem compiling perfparse 0.106.1 >=20 > Hi, >=20 > make sure you have gd (and the development packages) installed. On Suse > i have installed gd-2.0.32-23 and gd-devel-2.0.32-23. Ask your system with > rpm -qa |grep gd > and > rpm -ql gd > rpm -ql gd-devel > (or appropriate. I dont know how RH has named these packages). >=20 > Flo >=20 >=20 > Sand Philipp wrote: > > Hi, > > > > when I run make to compile perfparse 0.106.1 on a Red Hat Enterprise > Linux ES release 4 Server, I get the following error messages: > > [...] > > make[2]: Leaving directory `/root/Nagios-Stuff/perfparse- > 0.106.1/db_tools' > > Making all in cgi > > make[2]: Entering directory `/root/Nagios-Stuff/perfparse-0.106.1/cgi' > > /bin/sh ../libtool --mode=3Dlink --tag=3DCC 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/root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql > /root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql/.libs/libpp_mysql.so - > L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -L/usr/lib -lssl -lcrypto - > L/root/Nagios-Stuff/perfparse-0.106.1/libpp_common /root/Nagios- > Stuff/perfparse-0.106.1/libpp_common/.libs/libpp_common.so -lz -lglib-2.0 > -ldl -lm -Wl,--rpath -Wl,/usr/local/nagios/lib > > perfchart_png-perfchart.o(.text+0x1d): In function `initChartGraphics': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:464: undefined > reference to `gdImageCreate' > > perfchart_png-perfchart.o(.text+0x4a):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:468: undefined reference to `gdImageColorAllocate' > > perfchart_png-perfchart.o(.text+0x74):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:469: undefined reference to `gdImageColorAllocate' > > perfchart_png-perfchart.o(.text+0x9e):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:470: undefined reference to `gdImageColorAllocate' > > perfchart_png-perfchart.o(.text+0xc8):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:471: undefined reference to `gdImageColorAllocate' > > perfchart_png-perfchart.o(.text+0xf2):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:472: undefined reference to `gdImageColorAllocate' > > perfchart_png-perfchart.o(.text+0x11c):/root/Nagios-Stuff/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': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1614: undefined > reference to `gdImageFilledRectangle' > > perfchart_png-perfchart.o(.text+0x570):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1616: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x59b):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1616: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x5c0):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1617: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x5d1):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1617: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x5e7):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1620: undefined reference to `gdImagePng' > > perfchart_png-perfchart.o(.text+0x6ce): In function `drawHeadings': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:600: undefined > reference to `gdImageRectangle' > > perfchart_png-perfchart.o(.text+0x714):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:605: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x725):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:605: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x7a1):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:621: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x7b2):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:621: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x826):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:632: undefined reference to `gdFontMediumBold' > > perfchart_png-perfchart.o(.text+0x83b):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:632: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x86c):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:595: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x880):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:595: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x8b2):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:596: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x8de):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:597: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x90a):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:589: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x91b):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:589: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x953):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:590: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x97f):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:591: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x9b1):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:583: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x9c5):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:583: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x9f7):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:584: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xa23):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:585: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xa53):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:577: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0xa64):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:577: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0xa9c):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:578: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xac8):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:579: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xafd):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:571: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0xb11):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:571: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0xb3d):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:572: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xb69):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:573: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xe24): In function `drawPoints': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:812: undefined > reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xe54):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:809: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xe8d):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:810: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0xec6):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:811: more undefined references to `gdImageLine' > follow > > perfchart_png-perfchart.o(.text+0x1494): In function `drawYScale': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1072: undefined > reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x14ad):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1072: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x1601): In function > `drawYScalePercent': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1002: undefined > reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x161c):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1002: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x169a): In function `drawGrid': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:904: undefined > reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x181b):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:985: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x188b):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:911: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x18e1):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:937: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x192c):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:931: undefined reference to `gdImageLine' > > perfchart_png-perfchart.o(.text+0x1992):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:946: more undefined references to `gdImageLine' > follow > > perfchart_png-perfchart.o(.text+0x1e8d): In function `drawXScale': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1243: undefined > reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x1e9e):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1243: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x1f31):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1094: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x1f42):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1094: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x1fcc):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1138: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x1fdd):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1138: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x2038):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1136: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x2049):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1136: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x2112):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1189: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x2123):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1189: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x2fc7): In function > `print_sql_failure_image': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1746: undefined > reference to `gdImageFilledRectangle' > > perfchart_png-perfchart.o(.text+0x2fec):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1748: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x3017):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1748: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x3029):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1749: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x304a):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1749: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x306f):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1751: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x309a):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1751: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x30ac):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1752: undefined reference to `gdFontSmall' > > perfchart_png-perfchart.o(.text+0x30cd):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1752: undefined reference to `gdImageString' > > perfchart_png-perfchart.o(.text+0x30f3):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:1759: undefined reference to `gdImagePng' > > perfchart_png-perfchart.o(.text+0x3927): In function `main': > > /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:277: undefined > reference to `gdImageRectangle' > > perfchart_png-perfchart.o(.text+0x3965):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:278: undefined reference to `gdImageRectangle' > > perfchart_png-perfchart.o(.text+0x399f):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:281: undefined reference to > `gdImageFilledRectangle' > > perfchart_png-perfchart.o(.text+0x39dd):/root/Nagios-Stuff/perfparse- > 0.106.1/cgi/perfchart.c:282: undefined reference to > `gdImageFilledRectangle' > > perfchart_png-perfchart.o(.text+0x3a0b):/root/Nagios-Stuff/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 `/root/Nagios-Stuff/perfparse-0.106.1/cgi' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/Nagios-Stuff/perfparse-0.106.1' > > make: *** [all] Error 2 > > > > any suggestions? > > > > Thanks in advance, > > Philipp > > > > > > > > ------------------------------------------------------------------------ > - > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > |
From: Sand P. <Phi...@sy...> - 2006-11-02 06:30:53
|
Hi Florian, i recognized, that the gd-progs package hadn't been installed, and the gdlib-config couldn't be found... though the configure finished without an error... Anyway, I installed the gd-progs... and now I ran into the next Problem :-/... I couldn't remember that it was so hard compiling perfparse on fedora ... Check it out (snipped from config.log): ---------------[schnipp]-------------------------------- checking for gdlib-config... /usr/bin/gdlib-config checking for gdMalloc in -lgd... no configure: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details. [root@sygosrv14 perfparse-0.106.1]# less config.log | #define HAVE___ARGZ_STRINGIFY 1 | #define HAVE___ARGZ_NEXT 1 | #define HAVE___FSETLOCKING 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_DECL__SNWPRINTF 0 | #define HAVE_DECL_FEOF_UNLOCKED 1 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LC_MESSAGES 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define USE_SOURCE_NAGIOS 1 | #define USE_DB_MYSQL 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char gdMalloc (); | int | main () | { | gdMalloc (); | ; | return 0; | } configure:26962: result: no configure:26974: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details. ---------------[schnipp]-------------------------------- _____________________________ Philipp Sand SYCOR GmbH - Sprach & Datenkommunikation _____________________________ =20 > -----Original Message----- > From: Florian Gleixner [mailto:fl...@bi...] > Sent: Wednesday, November 01, 2006 4:44 PM > To: Sand Philipp > Cc: per...@li... > Subject: Re: [Perfparse-users] Problem compiling perfparse 0.106.1 >=20 > Sand Philipp wrote: > > Hi Flo, > > > > gd packages are installed: > > > > rpm -qa | grep gd > > gd-devel-2.0.28-4.4E.1 > > gd-2.0.28-4.4E.1 > > > > any other suggestions? > > > > Philipp > .... > > `/root/Nagios-Stuff/perfparse-0.106.1/cgi' > >>> /bin/sh ../libtool --mode=3Dlink --tag=3DCC 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/root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql > >> /root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql/.libs/libpp_mysql.so > > - > >> L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -L/usr/lib -lssl -lcrypto > > - > >> L/root/Nagios-Stuff/perfparse-0.106.1/libpp_common /root/Nagios- > >> Stuff/perfparse-0.106.1/libpp_common/.libs/libpp_common.so -lz > > -lglib-2.0 > >> -ldl -lm -Wl,--rpath -Wl,/usr/local/nagios/lib >=20 > I don't see a -lgd here. What was your configure command? Check your > config.log or configure output for gd messages. It should look like this: >=20 > checking gd.h usability... yes > checking gd.h presence... yes > checking for gd.h... yes > checking for gdlib-config... /usr/bin/gdlib-config > checking for gdMalloc in -lgd... yes >=20 > Flo |
From: Florian G. <fl...@bi...> - 2006-11-03 10:05:04
|
Though i'm not a autoconf/automake expert i tried to make a check for gd . This check tries to compile a simple program that only has a function call to gdMalloc(). In your sniplet of the config.log i cannot see why the compilation failed. If you want to disable the check, remove the lines AC_CHECK_LIB(gd,gdMalloc,,AC_MSG_ERROR(required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details.)) in configure.ac and run autoreconf. But i think you will runinto the problem later then. Flo Sand Philipp wrote: > Hi Florian, > > i recognized, that the gd-progs package hadn't been installed, and the > gdlib-config couldn't be found... though the configure finished without > an error... > > Anyway, I installed the gd-progs... and now I ran into the next Problem > :-/... I couldn't remember that it was so hard compiling perfparse on > fedora ... > > Check it out (snipped from config.log): > ---------------[schnipp]-------------------------------- > checking for gdlib-config... /usr/bin/gdlib-config > checking for gdMalloc in -lgd... no > configure: error: required library libgd unusable. > Install required and dependent files and rerun configure. > See config.log or FAQs for details. > [root@sygosrv14 perfparse-0.106.1]# less config.log > | #define HAVE___ARGZ_STRINGIFY 1 > | #define HAVE___ARGZ_NEXT 1 > | #define HAVE___FSETLOCKING 1 > | #define HAVE_DECL__SNPRINTF 0 > | #define HAVE_DECL__SNWPRINTF 0 > | #define HAVE_DECL_FEOF_UNLOCKED 1 > | #define HAVE_DECL_FGETS_UNLOCKED 0 > | #define HAVE_DECL_GETC_UNLOCKED 1 > | #define HAVE_ICONV 1 > | #define ICONV_CONST > | #define HAVE_LANGINFO_CODESET 1 > | #define HAVE_LC_MESSAGES 1 > | #define ENABLE_NLS 1 > | #define HAVE_GETTEXT 1 > | #define HAVE_DCGETTEXT 1 > | #define USE_SOURCE_NAGIOS 1 > | #define USE_DB_MYSQL 1 > | /* end confdefs.h. */ > | > | /* Override any gcc2 internal prototype to avoid an error. */ > | #ifdef __cplusplus > | extern "C" > | #endif > | /* We use char because int might match the return type of a gcc2 > | builtin and then its argument prototype would still apply. */ > | char gdMalloc (); > | int > | main () > | { > | gdMalloc (); > | ; > | return 0; > | } > configure:26962: result: no > configure:26974: error: required library libgd unusable. > Install required and dependent files and rerun configure. > See config.log or FAQs for details. > ---------------[schnipp]-------------------------------- > > > _____________________________ > > Philipp Sand > SYCOR GmbH - Sprach & Datenkommunikation > _____________________________ > > > > > > >>-----Original Message----- >>From: Florian Gleixner [mailto:fl...@bi...] >>Sent: Wednesday, November 01, 2006 4:44 PM >>To: Sand Philipp >>Cc: per...@li... >>Subject: Re: [Perfparse-users] Problem compiling perfparse 0.106.1 >> >>Sand Philipp wrote: >> >>>Hi Flo, >>> >>>gd packages are installed: >>> >>>rpm -qa | grep gd >>>gd-devel-2.0.28-4.4E.1 >>>gd-2.0.28-4.4E.1 >>> >>>any other suggestions? >>> >>>Philipp >> >>.... >> >>>`/root/Nagios-Stuff/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/root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql >>> > /root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql/.libs/libpp_mysql.so > >>>- >>> >>>>L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -L/usr/lib -lssl > > -lcrypto > >>>- >>> >>>>L/root/Nagios-Stuff/perfparse-0.106.1/libpp_common /root/Nagios- >>>>Stuff/perfparse-0.106.1/libpp_common/.libs/libpp_common.so -lz >>> >>>-lglib-2.0 >>> >>>>-ldl -lm -Wl,--rpath -Wl,/usr/local/nagios/lib >> >>I don't see a -lgd here. What was your configure command? Check your >>config.log or configure output for gd messages. It should look like > > this: > >>checking gd.h usability... yes >>checking gd.h presence... yes >>checking for gd.h... yes >>checking for gdlib-config... /usr/bin/gdlib-config >>checking for gdMalloc in -lgd... yes >> >>Flo > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Florian G. <fl...@bi...> - 2006-11-01 15:43:58
|
Sand Philipp wrote: > Hi Flo, > > gd packages are installed: > > rpm -qa | grep gd > gd-devel-2.0.28-4.4E.1 > gd-2.0.28-4.4E.1 > > any other suggestions? > > Philipp .... > `/root/Nagios-Stuff/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/root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql >> /root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql/.libs/libpp_mysql.so > - >> L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -L/usr/lib -lssl -lcrypto > - >> L/root/Nagios-Stuff/perfparse-0.106.1/libpp_common /root/Nagios- >> Stuff/perfparse-0.106.1/libpp_common/.libs/libpp_common.so -lz > -lglib-2.0 >> -ldl -lm -Wl,--rpath -Wl,/usr/local/nagios/lib I don't see a -lgd here. What was your configure command? Check your config.log or configure output for gd messages. It should look like this: checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for gdlib-config... /usr/bin/gdlib-config checking for gdMalloc in -lgd... yes Flo |