Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 94279
Status: resolved
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: gabor [...] szabgab.com
Cc:
AdminCc:

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



Subject: GD-2.52 fails to install on OSX
Date: Fri, 28 Mar 2014 13:17:25 +0300
To: bug-gd [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
After installing header files using: $ brew install gd the installation failed: cpanm (App::cpanminus) 1.6937 on perl 5.018002 built for darwin-2level Work directory is /Users/gabor/.cpanm/work/1396001315.6845 You have make /usr/bin/make You have LWP 6.05 You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3 You have /usr/bin/unzip Searching GD on cpanmetadb ... --> Working on GD Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.52.tar.gz -> OK Unpacking GD-2.52.tar.gz Entering GD-2.52 Checking configure dependencies from META.yml Configuring GD-2.52 Running Makefile.PL Notice: Type perl Makefile.PL -h for command-line option summary. Configuring for libgd version 2.1.0. Checking for stray libgd header files... ** WARNING: found gd.h header file in /usr/local/include/gd.h, but it is expected at /usr/local/Cellar/gd/2.1.0/include/gd.h. This may cause compile errors! ** ** Possible problems found ** Included Features: GD_JPEG GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD library used from: /usr/local/Cellar/gd/2.1.0 Checking if your kit is complete... Looks good Writing Makefile for GD Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.66) Checking if you have Math::Trig 0 ... Yes (1.23) Building and testing GD-2.52 /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/bin/perl GD/Image.pm.PLS GD/Image.pm Extracting Image.pm (with variable substitutions) cp GD/Polyline.pm blib/lib/GD/Polyline.pm cp GD/Group.pm blib/lib/GD/Group.pm cp qd.pl blib/lib/qd.pl cp GD/Image.pm blib/lib/GD/Image.pm cp GD/Polygon.pm blib/lib/GD/Polygon.pm cp GD/Simple.pm blib/lib/GD/Simple.pm cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD) /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/bin/perl /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/ExtUtils/xsubpp -typemap /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c cc -c -I/usr/local/Cellar/gd/2.1.0/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Wformat=0 -O3 -DVERSION=\"2.52\" -DXS_VERSION=\"2.52\" "-I/Users/gabor/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/darwin-2level/CORE" -DHAVE_JPEG -DHAVE_GIF -DHAVE_PNG GD.c GD.xs:2192:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GD.xs:2192:16: note: place parentheses around the assignment to silence this warning if (value = hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { ^ ( ) GD.xs:2192:16: note: use '==' to turn this assignment into an equality comparison if (value = hv_fetch(hash,"linespacing",strlen("linespacing"),0)) { ^ == GD.xs:2196:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GD.xs:2196:16: note: place parentheses around the assignment to silence this warning if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) { ^ ( ) GD.xs:2196:16: note: use '==' to turn this assignment into an equality comparison if (value = hv_fetch(hash,"charmap",strlen("charmap"),0)) { ^ == 2 warnings generated. Running Mkbootstrap for GD () chmod 644 GD.bs rm -f blib/arch/auto/GD/GD.bundle LD_RUN_PATH="/usr/local/opt/jpeg/lib:/usr/lib:/usr/local/lib:/usr/local/Cellar/gd/2.1.0/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector GD.o -o blib/arch/auto/GD/GD.bundle \ -L/usr/X11/lib -L/usr/local/opt/jpeg/lib -L/usr/local/Cellar/gd/2.1.0/lib -ljpeg -lz -lpng15 -liconv -lgd \ chmod 755 blib/arch/auto/GD/GD.bundle cp GD.bs blib/arch/auto/GD/GD.bs chmod 644 blib/arch/auto/GD/GD.bs /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/bin/perl "-Iblib/arch" "-Iblib/lib" bdf_scripts/bdf2gdfont.PLS bdf_scripts/bdf2gdfont.pl Extracting bdf2gdfont.pl (with variable substitutions) cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/bdf2gdfont.pl Manifying blib/man1/bdf2gdfont.pl.1 Manifying blib/man3/GD::Polyline.3 Manifying blib/man3/GD::Image.3 Manifying blib/man3/GD::Simple.3 Manifying blib/man3/GD::Polygon.3 Manifying blib/man3/GD.3 PERL_DL_NONLAZY=1 /Users/gabor/perl5/perlbrew/perls/perl-5.18.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Testing using png support. t/GD.t ........ Failed 1/12 subtests (less 2 skipped subtests: 9 okay) t/Polyline.t .. ok Test Summary Report ------------------- t/GD.t (Wstat: 0 Tests: 12 Failed: 1) Failed test: 10 Files=2, Tests=13, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.12 cusr 0.02 csys = 0.17 CPU) Result: FAIL Failed 1/2 test programs. 1/13 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing GD failed. See /Users/gabor/.cpanm/work/1396001315.6845/build.log for details. Retry with --force to force install it.
Subject: Re: [rt.cpan.org #94279] AutoReply: GD-2.52 fails to install on OSX
Date: Tue, 22 Jul 2014 09:29:45 +0200
To: bug-GD [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
On Fri, Mar 28, 2014 at 11:17 AM, Bugs in GD via RT <bug-GD@rt.cpan.org> wrote: Show quoted text
> > ** WARNING: found gd.h header file in /usr/local/include/gd.h, but it > is expected at /usr/local/Cellar/gd/2.1.0/include/gd.h. This may cause > compile errors! ** > ** Possible problems found ** > > >
This is probably a false warning as those two files are the same: $ ls -l /usr/local/Cellar/gd/2.1.0/include/gd.h /usr/local/include/gd.h -rw-r--r-- 1 gabor admin 46133 Feb 22 20:15 /usr/local/Cellar/gd/2.1.0/include/gd.h lrwxr-xr-x 1 gabor admin 31 Mar 28 11:08 /usr/local/include/gd.h -> ../Cellar/gd/2.1.0/include/gd.h Same problem with GD 2.53
Fixed in version 2.56