From: Sand P. <Phi...@sy...> - 2006-12-12 12:50:48
|
Hi Florian, this still won't work... I changed the line in configure.ac, but when I r= un configure, it still fails with: checking for your ability to administrate a database... you need more exp= erience... 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 =2E........ /usr/include/entities.h =2E........ /usr/include/gd.h =2E........ /usr/include/gd_io.h =2E........ /usr/include/gdcache.h =2E........ /usr/include/gdfontg.h =2E........ /usr/include/gdfontl.h =2E........ /usr/include/gdfontmb.h =2E........ /usr/include/gdfonts.h =2E........ /usr/include/gdfontt.h =2E........ /usr/include/gdfx.h =2E........ /usr/lib/libgd.a =2E........ /usr/lib/libgd.so [root@sygosrv14 perfparse-0.106.1]# rpm -Vv gd-progs =2E........ /usr/bin/annotate =2E........ /usr/bin/bdftogd =2E........ /usr/bin/gd2copypal =2E........ /usr/bin/gd2topng =2E........ /usr/bin/gdlib-config =2E........ /usr/bin/gdparttopng =2E........ /usr/bin/gdtopng =2E........ /usr/bin/pngtogd =2E........ /usr/bin/pngtogd2 =2E........ /usr/bin/webpng [root@sygosrv14 perfparse-0.106.1]# rpm -Vv gd =2E........ /usr/lib/libgd.so.2 =2E........ /usr/lib/libgd.so.2.0.0 =2E........ /usr/share/doc/gd-2.0.28 =2E........ d /usr/share/doc/gd-2.0.28/index.html _____________________________ =20 Philipp Sand Sprach & Datenkommunikation =20 SYCOR GmbH Heinrich-von-Stephan-Stra=DFe 1-5 D - 37073 G=F6ttingen =20 Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 =20 phi...@sy... www.sycor.de ------------------------------------------------ =20 > -----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 rhel4 >=20 > Hi, >=20 > try to change the line in configure.ac: > from > AC_CHECK_LIB(gd,gdMalloc,,AC_MSG_ERROR(required library libgd unusable.= > to > AC_CHECK_LIB(gd,gdImageCreate,,AC_MSG_ERROR(required library libgd > unusable. >=20 > and rerun configure. >=20 > 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: >=20 > 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 >=20 > Hope this helps. >=20 > Flo >=20 > 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 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. > > [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 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. |
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. |
From: Florian G. <fl...@bi...> - 2006-12-13 08:40:43
|
Here is the problem: Sand Philipp wrote: ... > /usr/bin/ld: cannot find -lXpm ... You either have the Path to libXpm.so not in your linker path, or the package providing the lib is not installed. Usually we see the second case. Check if you find the file /usr/X11R6/lib/libXpm.so or on a 64 Bit System /usr/X11R6/lib64/libXpm.so If it is not there, install the package providing the file. On my very old Mandrake the package's name is libxpm4-devel, on my newer Suse it is xorg-x11-devel. Rerun configure and if you encounter the same error, check if the linker fails to find another library. > > I hate linux for doing this to us ;) > Dependencies in package databases like rpm are not always perfect. In this case the gd-devel package should depend on the x11 development package. Flo |
From: Sand P. <Phi...@sy...> - 2006-12-13 10:37:43
|
THANKS A LOT!!! It's working now! Wow, I wasted hours for solving this, next time i'll tr= y to ask the list a little bit earlier :) BTW, with the xorg-x11-devel installed, it's working with the "out of the= box" installation packed. No changes to do in the configure script. Thanks again! Philipp > -----Urspr=FCngliche Nachricht----- > Von: Florian Gleixner [mailto:fl...@bi...] > Gesendet: Mittwoch, 13. Dezember 2006 09:41 > An: Sand Philipp > Cc: per...@li... > Betreff: Re: AW: [Perfparse-users] compilation problem perfparse on rhe= l4 >=20 > Here is the problem: >=20 > Sand Philipp wrote: > ... > > /usr/bin/ld: cannot find -lXpm > ... >=20 > You either have the Path to libXpm.so not in your linker path, or the > package providing the lib is not installed. >=20 > Usually we see the second case. Check if you find the file > /usr/X11R6/lib/libXpm.so > or on a 64 Bit System > /usr/X11R6/lib64/libXpm.so >=20 > If it is not there, install the package providing the file. On my very > old Mandrake the package's name is libxpm4-devel, on my newer Suse it i= s > xorg-x11-devel. >=20 > Rerun configure and if you encounter the same error, check if the linke= r > fails to find another library. >=20 > > > > I hate linux for doing this to us ;) > > >=20 > Dependencies in package databases like rpm are not always perfect. In > this case the gd-devel package should depend on the x11 development > package. >=20 > Flo >=20 *************************************************************************= ******************************************************* 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. |
From: Hans E. <eng...@gm...> - 2007-07-11 14:49:50
|
I had the same problem today ... on CentOS 4 (which is built from the RHEL4 src.rpms) and in my case it ended up being /usr/lib/libXcompext.so.1 which is installed by NX (one of them anyway not sure if it is nxclient or nx itself). Removing NX did not help so I deleted the lib completely and it ran fine after. Very weird for some reason it was getting loaded up in the build of the testprogram and returned a bunch of errors on unreferenced _NX* symbols. Just don't feel up to testing it further but thought I would share. Cheers, Hans On 7/11/07, Hans Engelen <eng...@gm...> wrote: > I had the same problem today ... on CentOS 4 (which is built from the > RHEL4 src.rpms) and in my case it ended up being > /usr/lib/libXcompext.so.1 which is installed by NX (one of them anyway > not sure if it is nxclient or nx itself). Removing NX did not help so > I deleted the lib completely and it ran fine after. Very weird for > some reason it was getting loaded up in the build of the testprogram > and returned a bunch of errors on unreferenced _NX* symbols. > > Just don't feel up to testing it further but thought I would share. > > Cheers, > Hans > > On 12/13/06, Sand Philipp <Phi...@sy...> wrote: > > THANKS A LOT!!! > > > > It's working now! Wow, I wasted hours for solving this, next time i'll = try to ask the list a little bit earlier :) > > > > BTW, with the xorg-x11-devel installed, it's working with the "out of t= he box" installation packed. No changes to do in the configure script. > > > > Thanks again! > > > > Philipp > > > > > > > -----Urspr=FCngliche Nachricht----- > > > Von: Florian Gleixner [mailto:fl...@bi...] > > > Gesendet: Mittwoch, 13. Dezember 2006 09:41 > > > An: Sand Philipp > > > Cc: per...@li... > > > Betreff: Re: AW: [Perfparse-users] compilation problem perfparse on r= hel4 > > > > > > Here is the problem: > > > > > > Sand Philipp wrote: > > > ... > > > > /usr/bin/ld: cannot find -lXpm > > > ... > > > > > > You either have the Path to libXpm.so not in your linker path, or the > > > package providing the lib is not installed. > > > > > > Usually we see the second case. Check if you find the file > > > /usr/X11R6/lib/libXpm.so > > > or on a 64 Bit System > > > /usr/X11R6/lib64/libXpm.so > > > > > > If it is not there, install the package providing the file. On my ver= y > > > old Mandrake the package's name is libxpm4-devel, on my newer Suse it= is > > > xorg-x11-devel. > > > > > > Rerun configure and if you encounter the same error, check if the lin= ker > > > fails to find another library. > > > > > > > > > > > I hate linux for doing this to us ;) > > > > > > > > > > Dependencies in package databases like rpm are not always perfect. In > > > this case the gd-devel package should depend on the x11 development > > > package. > > > > > > Flo > > > > > > > > > ***********************************************************************= ********************************************************* > > 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 Info= rmationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sin= d, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichti= gen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertr= agliche 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 privileged = information. If you are not the intended recipient please delete this e-mai= l and all attachments immediately and inform us. The company sycor 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 ag= reed 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 cash > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > |
From: Florian G. <fl...@bi...> - 2006-12-12 16:55:49
|
Hi, 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 error messages you get. Flo Sand Philipp wrote: > Hi Florian, >=20 > 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 e= xperience... > 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. >=20 > Do I have to change something in the configure script itself? >=20 > 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 >=20 > _____________________________ > =20 > Philipp Sand > Sprach & Datenkommunikation > =20 > SYCOR GmbH > Heinrich-von-Stephan-Stra=DFe 1-5 > D - 37073 G=F6ttingen > =20 > Telefon +49 (0) 551 - 490 - 0 > Telefax +49 (0) 551 - 490 - 232468 > =20 > phi...@sy... > www.sycor.de > ------------------------------------------------ > =20 >=20 >> -----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 rhel4 >> >> Hi, >> >> try to change the line in configure.ac: >> from >> AC_CHECK_LIB(gd,gdMalloc,,AC_MSG_ERROR(required library libgd unusable. >> 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 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. >>> [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 sofo= rt >> 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 = does >> not agree with contracts or contract obligations sent by e-mail, neith= er >> do we transmit legally binding offers by e-mail, unless this is not >> expressly agreed upon between the parties and documented in written fo= rm. >>> >>> ---------------------------------------------------------------------= --- >> - >>> 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= =3DDEVDEV >>> _______________________________________________ >>> Perfparse-users mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >=20 >=20 > ***********************************************************************= ********************************************************* > sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.= sycor-plastics.de=20 >=20 > sycor plastics - the solution for the plastic industry www.sycor-pla= stics.com=20 >=20 > ***********************************************************************= ********************************************************* >=20 >=20 >=20 > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Info= rmationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger s= ind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachri= chtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder= vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche An= gebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrue= cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. >=20 > This e-mail is confidential and may contain personal and/or privileged = information. If you are not the intended recipient please delete this e-m= ail and all attachments immediately and inform us. The company sycor 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 expr= essly agreed upon between the parties and documented in written form. >=20 >=20 > -----------------------------------------------------------------------= -- > 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 cash > 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 >=20 |