[Bioperl-l] GD installation problems for Solaris 9

Lincoln Stein lstein at cshl.edu
Mon Oct 6 18:58:26 EDT 2003


Hi,

The CAPI warning comes from using a newer version of perl.  I will issue a new 
version of GD that avoids this warning.  The Math::Trig errors warning 
because Jarkko forgot to return a 1; at the bottom of Math::Trig in the 
latest version, and hence Perl things it didn't load properly.  You will have 
to wait for version 1.02 of Math::Trig or add a 1; to the Trig.pm file 
yourself.

To track down the runtime errors, make sure that libgd passed its regression 
tests when you installed it (there are a number of example applications that 
it compiles; make sure they run).  Then make sure that it is installed in a 
library that is included in your standard library path.  Finally, make sure 
that there is not an older version of libgd lurking somewhere.

Lincoln



On Monday 06 October 2003 01:50 pm, Stephen DiFazio wrote:
> Hello,
>
> I'd like to use Bio::Graphics but can't get GD.pm to work under Solaris 9
> on a Sun Blade 2000.  I'm attempting GD 2.07, though I've tried various
> earlier versions as well with no luck.  I've installed the necessary
> prerequisites:
>
> zlib-1.1.3
> libgd-2.0.15
> libpng-1.2.5
> jpeg-6b
>
> Makefile.PL throws the following warnings for GD.pm (only):
>
> WARNING: CAPI is not a known parameter.
> Warning: prerequisite Math::Trig 1 not found.
>
> In fact, Math::Trig 1.01 is installed and functioning on my system.
>
> 'make install' gives no errors.
>
> Here's the output I get from 'make test':
>
> 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.so' for module GD:
> ld.so.1: /usr/bin/perl: fatal: relocation error: file
> ./blib/arch/auto/GD/GD.so: symbol gdImageCreateFromPng: referenced symbol
> not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line
> 229. at t/GD.t line 13
> Compilation failed in require at t/GD.t line 13.
> BEGIN failed--compilation aborted at t/GD.t line 13.
> t/GD..........dubious
>          Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-10
>          Failed 10/10 tests, 0.00% okay
> t/Polyline....Can't load '/usr/local/GD-2.07/blib/arch/auto/GD/GD.so' for
> module GD: ld.so.1: /usr/bin/perl: fatal: relocation error: file
> /usr/local/GD-2.07/blib/arch/auto/GD/GD.so: symbol gdImageCreateFromPng:
> referenced symbol not found at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
>   at /usr/local/GD-2.07/blib/lib/GD/Polyline.pm line 49
> Compilation failed in require at /usr/local/GD-2.07/blib/lib/GD/Polyline.pm
> line 49.
> BEGIN failed--compilation aborted at
> /usr/local/GD-2.07/blib/lib/GD/Polyline.pm line 49.
> 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  Failed  List of Failed
> ---------------------------------------------------------------------------
>---- t/GD.t        255 65280    10   10 100.00%  1-10
> t/Polyline.t  255 65280     1    1 100.00%  1
> Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
> make: *** [test_dynamic] Error 2
>
> thanks in advance for any suggestions you may have.
>
> Steve
>
> Stephen P. DiFazio, Ph.D
>
> Staff Scientist
> Oak Ridge National Laboratory
> Bldg. 1062-206
> P.O. Box 2008
> Oak Ridge, TN 37831-6422
> (865) 574-7844; fax:(865) 576-8143
> difazios at ornl.gov
> http://www.esd.ornl.gov/PGG/home.html
> Stephen P. DiFazio, Ph.D
> Staff Scientist
> Oak Ridge National Laboratory
> Bldg. 1062-206
> P.O. Box 2008
> Oak Ridge, TN 37831-6422
> (865) 574-7844; fax:(865) 576-8143
> difazios at ornl.gov
> http://www.esd.ornl.gov/PGG/home.html
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l

-- 
Lincoln Stein
lstein at cshl.edu
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)


More information about the Bioperl-l mailing list