I'm attempting to install GD on my system (solaris8,intel) and I had no problem installing the GD library (the C code) and now I'm attempting to install the perl bindings and I'm getting an error that I can't make sense of when it self-tests. It looks like this:
The tests skipped have to do with not installing the part that handles text (don't want/need it) but the error seems a bit ambiguous.
I went back in re-./configured and make/make install for the gdlibrary, verified what directory libgd.so was in, and then re-ran the install for GD.pm with the same results.
Anyone have any idea?? Just in case its helpful, I've included the entire output of the CPAN.pm module whilst trying to install GD.pm inside the (more) tags.
cpan shell -- CPAN exploration and modules installation (v1.70)
ReadLine support enabled
cpan> install GD
Going to read /.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Wed, 28 Jan 2004 07:55:47 GMT
CPAN: HTTP::Date loaded ok
There's a new CPAN.pm version (v1.76) available!
[Current version is v1.70]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrad
+e
while we are running...
Going to read /.cpan/sources/modules/03modlist.data.gz
Running install for module GD
Running make for L/LD/LDS/GD-2.11.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /.cpan/sources/authors/id/L/LD/LDS/GD-2.11.tar.gz ok
Scanning cache /.cpan/build for sizes
x GD-2.11, 0 bytes, 0 tape blocks
x GD-2.11/t, 0 bytes, 0 tape blocks
x GD-2.11/t/GD.t, 8693 bytes, 17 tape blocks
x GD-2.11/t/Polyline.t, 492 bytes, 1 tape blocks
x GD-2.11/t/test.out.1.png, 1270 bytes, 3 tape blocks
x GD-2.11/t/test.out.2.png, 1270 bytes, 3 tape blocks
x GD-2.11/t/test.out.3.png, 3229 bytes, 7 tape blocks
x GD-2.11/t/test.out.4.png, 269 bytes, 1 tape blocks
x GD-2.11/t/test.out.5.png, 637 bytes, 2 tape blocks
x GD-2.11/t/test.out.6.png, 3218 bytes, 7 tape blocks
x GD-2.11/t/test.out.7.png, 1979 bytes, 4 tape blocks
x GD-2.11/t/test.out.8.png, 3424 bytes, 7 tape blocks
x GD-2.11/t/test.out.9.png, 2804 bytes, 6 tape blocks
x GD-2.11/t/Generic.ttf, 22660 bytes, 45 tape blocks
x GD-2.11/t/frog.jpg, 1555 bytes, 4 tape blocks
x GD-2.11/t/frog.xpm, 10540 bytes, 21 tape blocks
x GD-2.11/t/test.out.8.png-1, 3607 bytes, 8 tape blocks
x GD-2.11/t/test.out.8.png-2, 3603 bytes, 8 tape blocks
x GD-2.11/t/test.out.8.png-3, 3605 bytes, 8 tape blocks
x GD-2.11/t/test.out.8.png-4, 3424 bytes, 7 tape blocks
x GD-2.11/t/test.out.8.png-5, 3340 bytes, 7 tape blocks
x GD-2.11/t/tile.png, 280 bytes, 1 tape blocks
x GD-2.11/t/palettemap.png, 2166 bytes, 5 tape blocks
x GD-2.11/t/test.out.10.png, 2797 bytes, 6 tape blocks
x GD-2.11/GD, 0 bytes, 0 tape blocks
x GD-2.11/GD/Polyline.pm, 21744 bytes, 43 tape blocks
x GD-2.11/GD.pm, 59267 bytes, 116 tape blocks
x GD-2.11/GD.xs, 38126 bytes, 75 tape blocks
x GD-2.11/demos, 0 bytes, 0 tape blocks
x GD-2.11/demos/brushes.pl, 929 bytes, 2 tape blocks
x GD-2.11/demos/font_list.png, 22078 bytes, 44 tape blocks
x GD-2.11/demos/fonttest, 920 bytes, 2 tape blocks
x GD-2.11/demos/polys.pl, 791 bytes, 2 tape blocks
x GD-2.11/demos/fills.pl, 596 bytes, 2 tape blocks
x GD-2.11/demos/truetype_test, 870 bytes, 2 tape blocks
x GD-2.11/demos/shapes.pl, 1299 bytes, 3 tape blocks
x GD-2.11/demos/copies.pl, 1097 bytes, 3 tape blocks
x GD-2.11/demos/ttf.pl, 742 bytes, 2 tape blocks
x GD-2.11/demos/gd_example.cgi, 689 bytes, 2 tape blocks
x GD-2.11/demos/tile.png, 280 bytes, 1 tape blocks
x GD-2.11/demos/polyline.pl, 8848 bytes, 18 tape blocks
x GD-2.11/demos/transform.pl, 704 bytes, 2 tape blocks
x GD-2.11/qd.pl, 32810 bytes, 65 tape blocks
x GD-2.11/README, 14043 bytes, 28 tape blocks
x GD-2.11/Makefile.PL, 7206 bytes, 15 tape blocks
x GD-2.11/README.QUICKDRAW, 467 bytes, 1 tape blocks
x GD-2.11/typemap, 66 bytes, 1 tape blocks
x GD-2.11/bdf_scripts, 0 bytes, 0 tape blocks
x GD-2.11/bdf_scripts/README, 362 bytes, 1 tape blocks
x GD-2.11/bdf_scripts/cvtbdf.pl, 7264 bytes, 15 tape blocks
x GD-2.11/bdf_scripts/bdftogd, 4005 bytes, 8 tape blocks
x GD-2.11/README.unix, 2221 bytes, 5 tape blocks
x GD-2.11/ChangeLog, 2768 bytes, 6 tape blocks
x GD-2.11/MANIFEST, 772 bytes, 2 tape blocks
Removing previously used /.cpan/build/GD-2.11
CPAN.pm: Going to build L/LD/LDS/GD-2.11.tar.gz
NOTICE: This module requires libgd 2.0.12 or higher.
it will NOT work with earlier versions.
See www.cpan.org for versions of GD that are compatible
with earlier versions of libgd.
If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You m
+ay
safely ignore this warning.
Type perl Makefile.PL -h for command-line option summary
Where is libgd installed? [/usr/lib] /usr/local/lib/
Please choose the features that match how libgd was built:
Build JPEG support? [y] y
Build FreeType support? [y] n
Build XPM support? [y] n
If you experience compile problems, please check the @INC, @LIBPATH an
+d @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.
Checking if your kit is complete...
Looks good
Writing Makefile for GD
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i86pc-solaris -I/usr/local/
+lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
+/usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap GD.xs >
+GD.xsc && mv GD.xsc GD.c
gcc -c -I/usr/local/lib//include -I/usr/local/include -I/usr/local/inc
+lude/gd -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
+ -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.11\" -DXS_VERSION=\"2.1
+1\" -fPIC -I/usr/local/lib/perl5/5.6.1/i86pc-solaris/CORE -DHAVE_JPEG
+ GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" gcc -W,l-E -G -L/usr/local/lib
+GD.o -o blib/arch/auto/GD/GD.so -L/usr/local/lib -lgd -lpng -lz -l
+jpeg -lm
chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
Manifying blib/man3/GD.3
Manifying blib/man3/GD::Polyline.3
/usr/ccs/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/li
+b/perl5/5.6.1/i86pc-solaris -I/usr/local/lib/perl5/5.6.1 -e 'use Test
+::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/GD................FAILED test 10
+
Failed 1/10 tests, 90.00% okay (-2 skipped tests: 7 okay, 70.0
+0%)
t/Polyline..........ok
+
Failed Test Status Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------
+----------
t/GD.t 10 1 10.00% 10
2 subtests skipped.
Failed 1/2 test scripts, 50.00% okay. 1/11 subtests failed, 90.91% oka
+y.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
/usr/ccs/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force