macosx 10.2.6
perl 5.8.0

hello

out of many
i have 2 problems
one
i am trying to install the perl module GD-1.41 on my system

and get the following output when i make test

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD....dyld: /usr/bin/perl Undefined symbols:
_gdImageCreateFromJpeg
_gdImageCreateFromJpegCtx
_gdImageCreateFromPng
_gdImageCreateFromPngCtx
_gdImageJpegPtr
_gdImagePngPtr
t/GD....dubious
Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------ -------
t/GD.t 0 5 10 10 100.00% 1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2


======================================================================
======================================================================
======================================================================
======================================================================
======================================================================
======================================================================

two
trying to install the graphviz module

i do have the necessary libs installed ( using fink )
and residing in /sw/..

for example the missing libpng.3.dylib
resides here on my system : /sw/lib/libpng.3.dylib

when i make test ---->

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00graphviz....dyld: /usr/local/bin/graphviz-local/bin/dot can't open library: /Local/DarwinPorts/lib/libpng.3.dylib (No such file or directory, errno = 2)
t/00graphviz....ok
t/dumper........ok
t/foo...........dyld: /usr/local/bin/graphviz-local/bin/dot can't open library: /Local/DarwinPorts/lib/libpng.3.dylib (No such file or directory, errno = 2)
# Failed test (t/foo.t at line 91)
# undef
# doesn't match '(?-xism:^digraph test {)'
# Failed test (t/foo.t at line 92)
# undef
# doesn't match '(?-xism:^\s*node\s*\[\s*label\s*=\s*"\\N"\s*\];\s*)'
t/foo...........NOK 2# Failed test (t/foo.t at line 93)
# undef
# doesn't match '(?-xism:^\s*graph\s*\[bb=.*)'


etc..

how can i force '/usr/local/bin/graphviz-local/bin/dot' to find the libpng lib ?

thanks for your time and patience
jmcs3



Reply via email to