Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 29077
Status: new
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: kzembowe [...] jhuccp.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unable to build GD 2.35
Date: Thu, 30 Aug 2007 15:12:33 -0400
To: <bug-GD [...] rt.cpan.org>
From: "Zembower, Kevin" <kzembowe [...] jhuccp.org>
Download (untitled) / with headers
text/plain 6.6k
I'm unable to build GD.pm (2.35) on my RHEL4 system: -bash-3.00# perl -v This is perl, v5.8.5 built for x86_64-linux-thread-multi -bash-3.00# uname -a Linux www.jhuccp.org 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:58:20 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux -bash-3.00# I'm especially confused by this cryptic line: ** WARNING: found gd.h header file in /usr/include/gd.h, but it is expected at /usr/include/gd.h. This may cause compile errors! ** ** Possible problems found ** The whole output of the attempted installation is pasted in below. Just before I got this message, I installed gd-devel and gd-progs using RHEL4's up2date: -bash-3.00# up2date --install gd-devel gd-progs <snip> gd-devel 2.0.28 5.4E x86_64 gd-progs 2.0.28 5.4E x86_64 Prior to installing these two packages, I was also unable to install GD.pm. The first five errors it gave me were: GD.xs:7:16: gd.h: No such file or directory GD.xs:8:21: gdfontg.h: No such file or directory GD.xs:9:21: gdfontl.h: No such file or directory GD.xs:10:22: gdfontmb.h: No such file or directory GD.xs:11:21: gdfonts.h: No such file or directory At the end, it said: make: *** [GD.o] Error 1 LDS/GD-2.35.tar.gz /usr/bin/make -j3 -j3 -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible -bash-3.00# Thanks for looking into this problem. -Kevin Zembower -bash-3.00# perl -MCPAN -e 'install GD' CPAN: File::HomeDir loaded ok (v0.58) CPAN: Storable loaded ok (v2.13) Going to read /root/.cpan/Metadata Database was generated on Thu, 30 Aug 2007 10:36:43 GMT Running install for module 'GD' Running make for L/LD/LDS/GD-2.35.tar.gz CPAN: Digest::SHA loaded ok (v5.44) Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.35.tar.gz ok GD-2.35/ GD-2.35/t/ GD-2.35/t/test.out.3.jpeg GD-2.35/t/GD.t GD-2.35/t/tile.jpeg GD-2.35/t/test.out.4.jpeg GD-2.35/t/test.out.5.jpeg GD-2.35/t/test.out.6.jpeg GD-2.35/t/test.out.7.jpeg GD-2.35/t/test.out.8.jpeg GD-2.35/t/test.out.9.jpeg GD-2.35/t/test.out.3.png-1 GD-2.35/t/Polyline.t GD-2.35/t/test.out.4.png-1 GD-2.35/t/test.out.4.png-2 GD-2.35/t/test.out.10.png-1 GD-2.35/t/test.out.10.png-2 GD-2.35/t/test.out.10.png-3 GD-2.35/t/test.out.1.png GD-2.35/t/test.out.2.gif GD-2.35/t/test.out.2.png GD-2.35/t/test.out.3.gif GD-2.35/t/test.out.3.png GD-2.35/t/test.out.4.gif GD-2.35/t/test.out.4.png GD-2.35/t/test.out.5.gif GD-2.35/t/test.out.5.png GD-2.35/t/test.out.6.gif GD-2.35/t/test.out.6.png GD-2.35/t/test.out.7.gif GD-2.35/t/test.out.7.png GD-2.35/t/test.out.8.gif GD-2.35/t/test.out.8.png GD-2.35/t/test.out.9.gif GD-2.35/t/test.out.9.png GD-2.35/t/test.out.5.png-1 GD-2.35/t/Generic.ttf GD-2.35/t/test.out.6.png-1 GD-2.35/t/test.out.7.png-1 GD-2.35/t/frog.jpg GD-2.35/t/frog.xpm GD-2.35/t/test.out.10.jpeg GD-2.35/t/test.out.8.png-1 GD-2.35/t/test.out.8.png-2 GD-2.35/t/test.out.8.png-3 GD-2.35/t/test.out.8.png-4 GD-2.35/t/test.out.8.png-5 GD-2.35/t/test.out.8.png-6 GD-2.35/t/tile.gif GD-2.35/t/tile.png GD-2.35/t/test.out.2.png-1 GD-2.35/t/test.out.9.png-1 GD-2.35/t/test.out.9.png-2 GD-2.35/t/palettemap.png GD-2.35/t/test.out.10.gif GD-2.35/t/test.out.10.png GD-2.35/t/test.out.2.jpeg GD-2.35/GD/ GD-2.35/GD/Polygon.pm GD-2.35/GD/Simple.pm GD-2.35/GD/Image.pm.PLS GD-2.35/GD/Polyline.pm GD-2.35/GD.pm GD-2.35/GD.xs GD-2.35/demos/ GD-2.35/demos/brushes.pl GD-2.35/demos/font_list.png GD-2.35/demos/fonttest GD-2.35/demos/polys.pl GD-2.35/demos/fills.pl GD-2.35/demos/truetype_test GD-2.35/demos/shapes.pl GD-2.35/demos/copies.pl GD-2.35/demos/ttf.pl GD-2.35/demos/gd_example.cgi GD-2.35/demos/tile.png GD-2.35/demos/polyline.pl GD-2.35/demos/transform.pl GD-2.35/qd.pl GD-2.35/README GD-2.35/Makefile.PL GD-2.35/README.QUICKDRAW GD-2.35/META.yml GD-2.35/typemap GD-2.35/bdf_scripts/ GD-2.35/bdf_scripts/README GD-2.35/bdf_scripts/bdf2gdfont.PLS GD-2.35/bdf_scripts/bdftogd GD-2.35/bdf_scripts/bdf2gdfont.pl GD-2.35/README.unix GD-2.35/ChangeLog GD-2.35/MANIFEST CPAN: File::Temp loaded ok (v0.17) CPAN.pm: Going to build L/LD/LDS/GD-2.35.tar.gz NOTICE: This module requires libgd 2.0.28 or higher. If you are using Math::Trig 1.01 or lower, it has a bug that causes a "prerequisite not found" warning to be issued. You may safely ignore this warning. Type perl Makefile.PL -h for command-line option summary Configuring for libgd version 2.0.28. Checking for stray libgd header files... ** WARNING: found gd.h header file in /usr/include/gd.h, but it is expected at /usr/include/gd.h. This may cause compile errors! ** ** Possible problems found ** Included Features: GD_XPM GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD library used from: /usr Checking if your kit is complete... Looks good Writing Makefile for GD CPAN: YAML loaded ok (v0.62) /usr/bin/perl "-Iblib/arch" "-Iblib/lib" GD/Image.pm.PLS GD/Image.pm Extracting Image.pm (with variable substitutions) /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c Running Mkbootstrap for GD () chmod 644 GD.bs cp GD.bs blib/arch/auto/GD/GD.bs chmod 644 blib/arch/auto/GD/GD.bs cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl cp GD/Polyline.pm blib/lib/GD/Polyline.pm cp qd.pl blib/lib/qd.pl cp GD/Image.pm blib/lib/GD/Image.pm cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD) cp GD/Simple.pm blib/lib/GD/Simple.pm cp GD/Polygon.pm blib/lib/GD/Polygon.pm gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\"2.35\" -DXS_VERSION=\"2.35\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG GD.c GD.xs: In function `XS_GD__Image_STORABLE_thaw': GD.xs:923: warning: cast from pointer to integer of different size rm -f blib/arch/auto/GD/GD.so gcc -shared GD.o -o blib/arch/auto/GD/GD.so -L/usr/lib64 -L/usr/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lgd /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make: *** [blib/arch/auto/GD/GD.so] Error 1 LDS/GD-2.35.tar.gz /usr/bin/make -j3 -j3 -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible -bash-3.00# Kevin Zembower Internet Services Group manager Center for Communication Programs Bloomberg School of Public Health Johns Hopkins University 111 Market Place, Suite 310 Baltimore, Maryland 21202 410-659-6139
Subject: RE: [rt.cpan.org #29077] AutoReply: Unable to build GD 2.35
Date: Thu, 30 Aug 2007 15:35:41 -0400
To: <bug-GD [...] rt.cpan.org>
From: "Zembower, Kevin" <kzembowe [...] jhuccp.org>
Download (untitled) / with headers
text/plain 9.7k
You can mark this ticket closed. I installed the RHEL4 package 'xorg-x11-devel', which also installed 'freetype-devel' and 'fontconfig-devel' as dependencies. One of these allowed the GD module to be build. Note, however, that I still got the cryptic warning line, which you might want to fix so it's less confusing. Thanks for all you work on this system. -Kevin ================================== -bash-3.00# up2date --install xorg-x11-devel http://linux.dell.com/yum/software/mirrors-rhel4.txt using mirror: http://linux.dell.com/repo/software/el4 Fetching Obsoletes list for channel: rhel-x86_64-es-4... Fetching Obsoletes list for channel: rhel-x86_64-es-4-extras... Fetching Obsoletes list for channel: rhel-4-es-x86_64-rhaps-2... Fetching Obsoletes list for channel: rhel-4-es-x86_64-rhds-2.1... Fetching Obsoletes list for channel: dell-software... Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- xorg-x11-devel 6.8.2 1.EL.19 x86_64 Testing package set / solving RPM inter-dependencies... Downloading headers to solve dependencies... ###################################### Downloading headers to solve dependencies... ######################################## fontconfig-devel-2.2.3-7.x8 ########################## Done. xorg-x11-devel-6.8.2-1.EL.1 ########################## Done. freetype-devel-2.1.9-6.el4. ########################## Done. Preparing ########################################### [100%] Installing... 1:freetype-devel ########################################### [100%] 2:fontconfig-devel ########################################### [100%] 3:xorg-x11-devel ########################################### [100%] The following packages were added to your selection to satisfy dependencies: Name Version Release -------------------------------------------------------------- fontconfig-devel 2.2.3 7 freetype-devel 2.1.9 6.el4 -bash-3.00# Show quoted text
-----Original Message----- From: Bugs in GD via RT [mailto:bug-GD@rt.cpan.org] Sent: Thursday, August 30, 2007 3:20 PM To: Zembower, Kevin Subject: [rt.cpan.org #29077] AutoReply: Unable to build GD 2.35 Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "Unable to build GD 2.35", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [rt.cpan.org #29077]. Your ticket is accessible on the web at: http://rt.cpan.org/Ticket/Display.html?id=29077 Please include the string: [rt.cpan.org #29077] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-GD@rt.cpan.org ------------------------------------------------------------------------ - I'm unable to build GD.pm (2.35) on my RHEL4 system: -bash-3.00# perl -v This is perl, v5.8.5 built for x86_64-linux-thread-multi -bash-3.00# uname -a Linux www.jhuccp.org 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:58:20 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux -bash-3.00# I'm especially confused by this cryptic line: ** WARNING: found gd.h header file in /usr/include/gd.h, but it is expected at /usr/include/gd.h. This may cause compile errors! ** ** Possible problems found ** The whole output of the attempted installation is pasted in below. Just before I got this message, I installed gd-devel and gd-progs using RHEL4's up2date: -bash-3.00# up2date --install gd-devel gd-progs <snip> gd-devel 2.0.28 5.4E x86_64 gd-progs 2.0.28 5.4E x86_64 Prior to installing these two packages, I was also unable to install GD.pm. The first five errors it gave me were: GD.xs:7:16: gd.h: No such file or directory GD.xs:8:21: gdfontg.h: No such file or directory GD.xs:9:21: gdfontl.h: No such file or directory GD.xs:10:22: gdfontmb.h: No such file or directory GD.xs:11:21: gdfonts.h: No such file or directory At the end, it said: make: *** [GD.o] Error 1 LDS/GD-2.35.tar.gz /usr/bin/make -j3 -j3 -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible -bash-3.00# Thanks for looking into this problem. -Kevin Zembower -bash-3.00# perl -MCPAN -e 'install GD' CPAN: File::HomeDir loaded ok (v0.58) CPAN: Storable loaded ok (v2.13) Going to read /root/.cpan/Metadata Database was generated on Thu, 30 Aug 2007 10:36:43 GMT Running install for module 'GD' Running make for L/LD/LDS/GD-2.35.tar.gz CPAN: Digest::SHA loaded ok (v5.44) Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.35.tar.gz ok GD-2.35/ GD-2.35/t/ GD-2.35/t/test.out.3.jpeg GD-2.35/t/GD.t GD-2.35/t/tile.jpeg GD-2.35/t/test.out.4.jpeg GD-2.35/t/test.out.5.jpeg GD-2.35/t/test.out.6.jpeg GD-2.35/t/test.out.7.jpeg GD-2.35/t/test.out.8.jpeg GD-2.35/t/test.out.9.jpeg GD-2.35/t/test.out.3.png-1 GD-2.35/t/Polyline.t GD-2.35/t/test.out.4.png-1 GD-2.35/t/test.out.4.png-2 GD-2.35/t/test.out.10.png-1 GD-2.35/t/test.out.10.png-2 GD-2.35/t/test.out.10.png-3 GD-2.35/t/test.out.1.png GD-2.35/t/test.out.2.gif GD-2.35/t/test.out.2.png GD-2.35/t/test.out.3.gif GD-2.35/t/test.out.3.png GD-2.35/t/test.out.4.gif GD-2.35/t/test.out.4.png GD-2.35/t/test.out.5.gif GD-2.35/t/test.out.5.png GD-2.35/t/test.out.6.gif GD-2.35/t/test.out.6.png GD-2.35/t/test.out.7.gif GD-2.35/t/test.out.7.png GD-2.35/t/test.out.8.gif GD-2.35/t/test.out.8.png GD-2.35/t/test.out.9.gif GD-2.35/t/test.out.9.png GD-2.35/t/test.out.5.png-1 GD-2.35/t/Generic.ttf GD-2.35/t/test.out.6.png-1 GD-2.35/t/test.out.7.png-1 GD-2.35/t/frog.jpg GD-2.35/t/frog.xpm GD-2.35/t/test.out.10.jpeg GD-2.35/t/test.out.8.png-1 GD-2.35/t/test.out.8.png-2 GD-2.35/t/test.out.8.png-3 GD-2.35/t/test.out.8.png-4 GD-2.35/t/test.out.8.png-5 GD-2.35/t/test.out.8.png-6 GD-2.35/t/tile.gif GD-2.35/t/tile.png GD-2.35/t/test.out.2.png-1 GD-2.35/t/test.out.9.png-1 GD-2.35/t/test.out.9.png-2 GD-2.35/t/palettemap.png GD-2.35/t/test.out.10.gif GD-2.35/t/test.out.10.png GD-2.35/t/test.out.2.jpeg GD-2.35/GD/ GD-2.35/GD/Polygon.pm GD-2.35/GD/Simple.pm GD-2.35/GD/Image.pm.PLS GD-2.35/GD/Polyline.pm GD-2.35/GD.pm GD-2.35/GD.xs GD-2.35/demos/ GD-2.35/demos/brushes.pl GD-2.35/demos/font_list.png GD-2.35/demos/fonttest GD-2.35/demos/polys.pl GD-2.35/demos/fills.pl GD-2.35/demos/truetype_test GD-2.35/demos/shapes.pl GD-2.35/demos/copies.pl GD-2.35/demos/ttf.pl GD-2.35/demos/gd_example.cgi GD-2.35/demos/tile.png GD-2.35/demos/polyline.pl GD-2.35/demos/transform.pl GD-2.35/qd.pl GD-2.35/README GD-2.35/Makefile.PL GD-2.35/README.QUICKDRAW GD-2.35/META.yml GD-2.35/typemap GD-2.35/bdf_scripts/ GD-2.35/bdf_scripts/README GD-2.35/bdf_scripts/bdf2gdfont.PLS GD-2.35/bdf_scripts/bdftogd GD-2.35/bdf_scripts/bdf2gdfont.pl GD-2.35/README.unix GD-2.35/ChangeLog GD-2.35/MANIFEST CPAN: File::Temp loaded ok (v0.17) CPAN.pm: Going to build L/LD/LDS/GD-2.35.tar.gz NOTICE: This module requires libgd 2.0.28 or higher. If you are using Math::Trig 1.01 or lower, it has a bug that causes a "prerequisite not found" warning to be issued. You may safely ignore this warning. Type perl Makefile.PL -h for command-line option summary Configuring for libgd version 2.0.28. Checking for stray libgd header files... ** WARNING: found gd.h header file in /usr/include/gd.h, but it is expected at /usr/include/gd.h. This may cause compile errors! ** ** Possible problems found ** Included Features: GD_XPM GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD library used from: /usr Checking if your kit is complete... Looks good Writing Makefile for GD CPAN: YAML loaded ok (v0.62) /usr/bin/perl "-Iblib/arch" "-Iblib/lib" GD/Image.pm.PLS GD/Image.pm Extracting Image.pm (with variable substitutions) /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c Running Mkbootstrap for GD () chmod 644 GD.bs cp GD.bs blib/arch/auto/GD/GD.bs chmod 644 blib/arch/auto/GD/GD.bs cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl cp GD/Polyline.pm blib/lib/GD/Polyline.pm cp qd.pl blib/lib/qd.pl cp GD/Image.pm blib/lib/GD/Image.pm cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD) cp GD/Simple.pm blib/lib/GD/Simple.pm cp GD/Polygon.pm blib/lib/GD/Polygon.pm gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\"2.35\" -DXS_VERSION=\"2.35\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG GD.c GD.xs: In function `XS_GD__Image_STORABLE_thaw': GD.xs:923: warning: cast from pointer to integer of different size rm -f blib/arch/auto/GD/GD.so gcc -shared GD.o -o blib/arch/auto/GD/GD.so -L/usr/lib64 -L/usr/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/X11R6/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm -lgd /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make: *** [blib/arch/auto/GD/GD.so] Error 1 LDS/GD-2.35.tar.gz /usr/bin/make -j3 -j3 -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible -bash-3.00# Kevin Zembower Internet Services Group manager Center for Communication Programs Bloomberg School of Public Health Johns Hopkins University 111 Market Place, Suite 310 Baltimore, Maryland 21202 410-659-6139


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.