From: Sand P. <Phi...@sy...> - 2006-12-13 06:23:56
|
Ok, here's what I did: 1. Take a fresh untared perfparse directory 2. Modify the line in the configure script 3. run the following: # autoreconf autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_= VERSION perfparse/Makefile.am:13: variable `PERFPARSE_LDFLAGS' is defined but no = program or perfparse/Makefile.am:13: library has `PERFPARSE' as canonic name (possib= le typo) # autoconf # autoheader # aclocal aclocal:configure.ac:43: warning: macro `AM_GNU_GETTEXT' not found in lib= rary # automake perfparse/Makefile.am:13: variable `PERFPARSE_LDFLAGS' is defined but no = program or perfparse/Makefile.am:13: library has `PERFPARSE' as canonic name (possib= le typo) =2E/configure: checking for gdlib-config... /usr/bin/gdlib-config checking for gdImageCreate in -lgd... no configure: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details. Here's something from the config.log: ---schnipp----line 1801ff configure:26948: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib -L/us= r/X11R6/lib -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lgd conftest.c= -lgd >&5 /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status configure:26954: $? =3D 1 configure: failed program was: ---schnipp----line 1905ff | char gdImageCreate (); | int | main () | { | gdImageCreate (); | ; | return 0; | } configure:26980: result: no configure:26992: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details. ---schnipp----line 2013 ac_cv_lib_gd_gdImageCreate=3Dno ---schnipp---- I hate linux for doing this to us ;) Regards, Philipp > -----Urspr=FCngliche Nachricht----- > Von: Florian Gleixner [mailto:fl...@bi...] > Gesendet: Dienstag, 12. Dezember 2006 17:55 > An: Sand Philipp > Cc: per...@li... > Betreff: Re: [Perfparse-users] compilation problem perfparse on rhel4 >=20 > Hi, >=20 > somehow the configure script did not run automake/autoconf. It still > says "checking for gdMalloc in -lgd" which should say "checking for > gdImageCreate in -lgd". > Try to run autoreconf or autoconf, autoheader, aclocal and automake and= > then configure again. If it still fails, then search the compiletest in= > the config.log file. Search for the lines "checking for gdMalloc in > -lgd" (or gdImageCreate) and see what it tries to compile and what erro= r > messages you get. >=20 > Flo >=20 > Sand Philipp wrote: > > Hi Florian, > > > > this still won't work... I changed the line in configure.ac, but when= I > run configure, it still fails with: > > checking for your ability to administrate a database... you need more= > experience... > > checking for mysql_config... /usr/bin/mysql_config > > checking for gzopen in -lz... yes > > 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... no > > configure: error: required library libgd unusable. > > Install required and dependent files and rerun configure. > > See config.log or FAQs for details. > > > > Do I have to change something in the configure script itself? > > > > Here's the output from the rpm -Vv queries: > > [root@sygosrv14 perfparse-0.106.1]# rpm -Vv gd-devel > > ......... /usr/include/entities.h > > ......... /usr/include/gd.h > > ......... /usr/include/gd_io.h > > ......... /usr/include/gdcache.h > > ......... /usr/include/gdfontg.h > > ......... /usr/include/gdfontl.h > > ......... /usr/include/gdfontmb.h > > ......... /usr/include/gdfonts.h > > ......... /usr/include/gdfontt.h > > ......... /usr/include/gdfx.h > > ......... /usr/lib/libgd.a > > ......... /usr/lib/libgd.so > > [root@sygosrv14 perfparse-0.106.1]# rpm -Vv gd-progs > > ......... /usr/bin/annotate > > ......... /usr/bin/bdftogd > > ......... /usr/bin/gd2copypal > > ......... /usr/bin/gd2topng > > ......... /usr/bin/gdlib-config > > ......... /usr/bin/gdparttopng > > ......... /usr/bin/gdtopng > > ......... /usr/bin/pngtogd > > ......... /usr/bin/pngtogd2 > > ......... /usr/bin/webpng > > [root@sygosrv14 perfparse-0.106.1]# rpm -Vv gd > > ......... /usr/lib/libgd.so.2 > > ......... /usr/lib/libgd.so.2.0.0 > > ......... /usr/share/doc/gd-2.0.28 > > ......... d /usr/share/doc/gd-2.0.28/index.html > > > > _____________________________ > > > > Philipp Sand > > Sprach & Datenkommunikation > > > > SYCOR GmbH > > Heinrich-von-Stephan-Stra=DFe 1-5 > > D - 37073 G=F6ttingen > > > > Telefon +49 (0) 551 - 490 - 0 > > Telefax +49 (0) 551 - 490 - 232468 > > > > phi...@sy... > > www.sycor.de > > ------------------------------------------------ > > > > > >> -----Urspr=FCngliche Nachricht----- > >> Von: Florian Gleixner [mailto:fl...@bi...] > >> Gesendet: Dienstag, 12. Dezember 2006 13:10 > >> An: Sand Philipp > >> Cc: per...@li... > >> Betreff: Re: [Perfparse-users] compilation problem perfparse on rhel= 4 > >> > >> Hi, > >> > >> try to change the line in configure.ac: > >> from > >> AC_CHECK_LIB(gd,gdMalloc,,AC_MSG_ERROR(required library libgd unusab= le. > >> to > >> AC_CHECK_LIB(gd,gdImageCreate,,AC_MSG_ERROR(required library libgd > >> unusable. > >> > >> and rerun configure. > >> > >> if this fails too then check your system with > >> rpm -Vv gd-devel > >> rpm -Vv gd > >> rpm -Vv gd-progs > >> for any missing or modified files. Should look like this: > >> > >> rpm -Vv gd-devel > >> ........ /usr/include/entities.h > >> ........ /usr/include/gd.h > >> ........ /usr/include/gd_io.h > >> ........ /usr/include/gdcache.h > >> ........ /usr/include/gdfontg.h > >> ........ /usr/include/gdfontl.h > >> ........ /usr/include/gdfontmb.h > >> ........ /usr/include/gdfonts.h > >> ........ /usr/include/gdfontt.h > >> ........ /usr/include/gdfx.h > >> ........ /usr/lib64/libgd.a > >> ........ /usr/lib64/libgd.la > >> ........ /usr/lib64/libgd.so > >> > >> Hope this helps. > >> > >> Flo > >> > >> Sand Philipp wrote: > >>> Hi there, > >>> > >>> I still got a problem compiling perfparse on rhel4. > >>> Here's the significant part from the configure output: > >>> checking for GLIB - version >=3D 2.0.0... yes (version 2.4.7) > >>> configure: Using glib2 > >>> checking for what data source... Nagios > >>> checking for what database to use... Mysql > >>> checking for your ability to administrate a database... you need mo= re > >> experience... > >>> checking for mysql_config... /usr/bin/mysql_config > >>> checking for gzopen in -lz... yes > >>> 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... 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]# pwd > >>> /root/Nagios-Stuff/perfparse-0.106.1 > >>> > >>> I have installed the following gd libaries > >>> # rpm -qa | grep gd > >>> gdm-2.6.0.5-7.rhel4.12 > >>> gdbm-devel-1.8.0-24 > >>> gdb-6.3.0.0-1.132.EL4 > >>> sysklogd-1.4.1-26_EL > >>> gd-devel-2.0.28-4.4E.1 > >>> gd-progs-2.0.28-4.4E.1 > >>> gdk-pixbuf-0.22.0-17.el4.3 > >>> procfgd-2.2.26de-gcc3.4 > >>> gdbm-1.8.0-24 > >>> gd-2.0.28-4.4E.1 > >>> > >>> I hope you can help me! > >>> > >>> Philipp > >>> > >>> _____________________________ > >>> > >>> Philipp Sand > >>> Sprach & Datenkommunikation > >>> > >>> SYCOR GmbH > >>> Heinrich-von-Stephan-Stra=DFe 1-5 > >>> D - 37073 G=F6ttingen > >>> > >>> Telefon +49 (0) 551 - 490 - 0 > >>> Telefax +49 (0) 551 - 490 - 232468 > >>> > >>> phi...@sy... > >>> www.sycor.de > >>> ------------------------------------------------ > >>> > >>> > >>> > >>> > >> > ***********************************************************************= *** > >> ****************************************************** > >>> sycor plastics - die Branchenloesung fuer die Kunststoffindustrie > >> www.sycor-plastics.de > >>> sycor plastics - the solution for the plastic industry > >> www.sycor-plastics.com > >>> > >> > ***********************************************************************= *** > >> ****************************************************** > >>> > >>> > >>> Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche > >> Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse > >> Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge > sofort > >> und benachrichtigen Sie uns darueber. Die Firma sycor willigt in kei= ne > >> Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt > >> rechtsverbindliche Angebote, die in Form von E-Mail versandt werden,= > >> sofern dies nicht ausdruecklich in schriftlicher Form zwischen den > >> Parteien vereinbart wurde. > >>> This e-mail is confidential and may contain personal and/or privile= ged > >> information. If you are not the intended recipient please delete thi= s > e- > >> mail and all attachments immediately and inform us. The company syco= r > does > >> not agree with contracts or contract obligations sent by e-mail, > neither > >> do we transmit legally binding offers by e-mail, unless this is not > >> expressly agreed upon between the parties and documented in written > form. > >>> > >>> -------------------------------------------------------------------= --- > -- > >> - > >>> Take Surveys. Earn Cash. Influence the Future of IT > >>> Join SourceForge.net's Techsay panel and you'll get the chance to > share > >> your > >>> opinions on IT & business topics through brief surveys - and earn c= ash > >>> > >> > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > >>> _______________________________________________ > >>> Perfparse-users mailing list > >>> Per...@li... > >>> https://lists.sourceforge.net/lists/listinfo/perfparse-users > >>> > > > > > > > ***********************************************************************= *** > ****************************************************** > > sycor plastics - die Branchenloesung fuer die Kunststoffindustrie > www.sycor-plastics.de > > > > sycor plastics - the solution for the plastic industry > www.sycor-plastics.com > > > > > ***********************************************************************= *** > ****************************************************** > > > > > > > > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse > Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofor= t > und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine > Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdruecklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or privilege= d > information. If you are not the intended recipient please delete this e= - > mail and all attachments immediately and inform us. The company sycor d= oes > not agree with contracts or contract obligations sent by e-mail, neithe= r > do we transmit legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in written for= m. > > > > > > ---------------------------------------------------------------------= --- > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to sha= re > your > > opinions on IT & business topics through brief surveys - and earn cas= h > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > *************************************************************************= ******************************************************* sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sy= cor-plastics.de=20 sycor plastics - the solution for the plastic industry www.sycor-plast= ics.com=20 *************************************************************************= ******************************************************* Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Inform= ationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sin= d, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrich= tigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder v= ertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Ange= bote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrueck= lich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged in= formation. If you are not the intended recipient please delete this e-mai= l and all attachments immediately and inform us. The company sycor does n= ot agree with contracts or contract obligations sent by e-mail, neither d= o we transmit legally binding offers by e-mail, unless this is not expres= sly agreed upon between the parties and documented in written form. |