Re: Installing GD
- From: "Eric" <ericgorr@xxxxxxxxx>
- Date: 26 Sep 2006 09:07:05 -0700
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...
.
- References:
- [Q] Installing GD
- From: ericgorr
- Re: [Q] Installing GD
- From: Sherm Pendley
- Re: Installing GD
- From: Eric
- [Q] Installing GD
- Prev by Date: Re: Installing GD
- Next by Date: Re: Installing GD
- Previous by thread: Re: Installing GD
- Next by thread: Re: Installing GD
- Index(es):
Relevant Pages
|