Re: Installing GD



I thought the problem might be that I was telling perl to build the GD
module with support for things that the gd library was not built
with...however, this still failed.

With DarwinPorts (MacPorts), I built the gd2 port:

======
~ $port info gd2
gd2 2.0.33, Revision 2, graphics/gd2 (Variants: darwin_6, darwin)
http://www.boutell.com/gd/

gd is a graphics library. It allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and write out the result as a .PNG file.
This is particularly useful in World Wide Web applications, where .PNG
is the format used for inline images. gd is not a paint program. If you
are looking for a paint program, you are looking in the wrong place. If
you are not a programmer, you are looking in the wrong place.

Library Dependencies: libpng, jpeg, freetype, XFree86
------

and then tried:

perl Makefile.PL LIBS='-L/opt/local/lib -liconv' -options "JPEG,FT,PNG"

'make test' failed with the following output:

======
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.bundle' for module GD:
dlopen(./blib/arch/auto/GD/GD.bundle, 2): Symbol not found:
_gdImageAlphaBlending
Referenced from: ./blib/arch/auto/GD/GD.bundle
Expected in: dynamic lookup
at t/GD.t line 14
Compilation failed in require at t/GD.t line 14.
BEGIN failed--compilation aborted at t/GD.t line 14.
t/GD..........dubious

Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/Polyline....Can't load
'/Users/Eric/Desktop/Downloads/GD-2.35/blib/arch/auto/GD/GD.bundle' for
module GD:
dlopen(/Users/Eric/Desktop/Downloads/GD-2.35/blib/arch/auto/GD/GD.bundle,
2): Symbol not found: _gdImageAlphaBlending
Referenced from:
/Users/Eric/Desktop/Downloads/GD-2.35/blib/arch/auto/GD/GD.bundle
Expected in: dynamic lookup
at /Users/Eric/Desktop/Downloads/GD-2.35/blib/lib/GD/Polyline.pm line
45
Compilation failed in require at
/Users/Eric/Desktop/Downloads/GD-2.35/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at
/Users/Eric/Desktop/Downloads/GD-2.35/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious

Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 12 23 1-12
t/Polyline.t 255 65280 1 2 1
Failed 2/2 test scripts. 13/13 subtests failed.
Files=2, Tests=13, 0 wallclock secs ( 0.06 cusr + 0.02 csys = 0.08
CPU)
Failed 2/2 test programs. 13/13 subtests failed.
make: *** [test_dynamic] Error 255
------


Now, I did come across a comment in a google search on this problem
that the fact it is failing here is not likely a real problem and that
I can just go ahead and install the module. Is this true? However, I
would like to see it pass...

.



Relevant Pages

  • Re: GIF files
    ... The same problem exists throughout the code for all images. ... or SRBs. ... <TBODY> ... Because that's the way they built them in England and English expatriates built the US ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: GIF files
    ... I didn't scroll down far enough to see images properly embedded. ... or SRBs. ... <TBODY> ... Because that's the way they built them in England and English expatriates built the US ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: GIF files
    ... images properly embedded. ... rocket boosters, or SRBs. ... <TBODY> ... the way they built them in England and English expatriates built the US ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Re: Virtual PC Demo?
    ... > If I understand you,the images I have built and ... >invested so much time in will work on the mac, ... >VPCfor Mac,usb is supported. ...
    (microsoft.public.mac.virtualpc)
  • MS Paint will not save images to GIF
    ... I am stumped.....My MS Paint program has just decided it will not ... allow me to save my images as a gif this is what happens. ... paint cannot read this file this is not a valid bitmap file or it is ...
    (microsoft.public.windowsxp.help_and_support)