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 |