The installation of GD-2.06 via CPAN dies on me. I've attached some
hopefully useful information in the mail. I apologize for the bulky noise.
Any help form the experts would be very much appreciated.

Thank you/h

Make install of libgd  2.0.11 run ok: (just the tail)

....... Clip ...............
/usr/bin/install -c .libs/libgd.lai /usr/local/lib/libgd.la
/usr/bin/install -c .libs/libgd.a /usr/local/lib/libgd.a
ranlib /usr/local/lib/libgd.a
chmod 644 /usr/local/lib/libgd.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ./config/mkinstalldirs /usr/local/bin
  /bin/sh ./libtool --mode=install /usr/bin/install -c annotate
/usr/local/bin/annotate
/usr/bin/install -c .libs/annotate /usr/local/bin/annotate
  /bin/sh ./libtool --mode=install /usr/bin/install -c gdparttopng
/usr/local/bin/gdparttopng
/usr/bin/install -c .libs/gdparttopng /usr/local/bin/gdparttopng
  /bin/sh ./libtool --mode=install /usr/bin/install -c gdtopng
/usr/local/bin/gdtopng
/usr/bin/install -c .libs/gdtopng /usr/local/bin/gdtopng
  /bin/sh ./libtool --mode=install /usr/bin/install -c gd2copypal
/usr/local/bin/gd2copypal
/usr/bin/install -c .libs/gd2copypal /usr/local/bin/gd2copypal
  /bin/sh ./libtool --mode=install /usr/bin/install -c gd2topng
/usr/local/bin/gd2topng
/usr/bin/install -c .libs/gd2topng /usr/local/bin/gd2topng
  /bin/sh ./libtool --mode=install /usr/bin/install -c pngtogd
/usr/local/bin/pngtogd
/usr/bin/install -c .libs/pngtogd /usr/local/bin/pngtogd
  /bin/sh ./libtool --mode=install /usr/bin/install -c pngtogd2
/usr/local/bin/pngtogd2
/usr/bin/install -c .libs/pngtogd2 /usr/local/bin/pngtogd2
  /bin/sh ./libtool --mode=install /usr/bin/install -c webpng
/usr/local/bin/webpng
/usr/bin/install -c .libs/webpng /usr/local/bin/webpng
/bin/sh ./config/mkinstalldirs /usr/local/bin
 /usr/bin/install -c bdftogd /usr/local/bin/bdftogd
/bin/sh ./config/mkinstalldirs /usr/local/include
 /usr/bin/install -c -m 644 gd.h /usr/local/include/gd.h
 /usr/bin/install -c -m 644 gd_io.h /usr/local/include/gd_io.h
 /usr/bin/install -c -m 644 gdcache.h /usr/local/include/gdcache.h
 /usr/bin/install -c -m 644 gdfontg.h /usr/local/include/gdfontg.h
 /usr/bin/install -c -m 644 gdfontl.h /usr/local/include/gdfontl.h
 /usr/bin/install -c -m 644 gdfontmb.h /usr/local/include/gdfontmb.h
 /usr/bin/install -c -m 644 gdfonts.h /usr/local/include/gdfonts.h
 /usr/bin/install -c -m 644 gdfontt.h /usr/local/include/gdfontt.h


cpan> install GD
CPAN: Storable loaded ok
Going to read /var/root/.cpan/Metadata
  Database was generated on Wed, 22 Jan 2003 20:49:21 GMT
Running install for module GD
Running make for L/LD/LDS/GD-2.06.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /var/root/.cpan/sources/authors/id/L/LD/LDS/GD-2.06.tar.gz ok
Scanning cache /var/root/.cpan/build for sizes
GD-2.06
GD-2.06/demos
GD-2.06/demos/shapes.pl
GD-2.06/demos/brushes.pl
GD-2.06/demos/gd_example.cgi
GD-2.06/demos/fonttest
GD-2.06/demos/font_list.png
GD-2.06/demos/polyline.pl
GD-2.06/demos/copies.pl
GD-2.06/demos/transform.pl
GD-2.06/demos/truetype_test
GD-2.06/demos/tile.png
GD-2.06/demos/polys.pl
GD-2.06/demos/fills.pl
GD-2.06/demos/ttf.pl
GD-2.06/bdf_scripts
GD-2.06/bdf_scripts/README
GD-2.06/bdf_scripts/cvtbdf.pl
GD-2.06/bdf_scripts/bdftogd
GD-2.06/t
GD-2.06/t/test.out.1.png
GD-2.06/t/frog.xpm
GD-2.06/t/test.out.2.png
GD-2.06/t/Generic.ttf
GD-2.06/t/test.out.3.png
GD-2.06/t/test.out.4.png
GD-2.06/t/frog.jpg
GD-2.06/t/test.out.5.png
GD-2.06/t/test.out.8.png-1
GD-2.06/t/test.out.8.png-2
GD-2.06/t/test.out.8.png-3
GD-2.06/t/test.out.8.png-4
GD-2.06/t/test.out.8.png-5
GD-2.06/t/test.out.6.png
GD-2.06/t/test.out.7.png
GD-2.06/t/test.out.8.png
GD-2.06/t/palettemap.png
GD-2.06/t/GD.t
GD-2.06/t/test.out.9.png
GD-2.06/t/tile.png
GD-2.06/t/Polyline.t
GD-2.06/t/test.out.10.png
GD-2.06/MANIFEST
GD-2.06/README.unix
GD-2.06/GD.pm
GD-2.06/README.QUICKDRAW
GD-2.06/README
GD-2.06/GD
GD-2.06/GD/Polyline.pm
GD-2.06/Makefile.PL
GD-2.06/qd.pl
GD-2.06/GD.xs
GD-2.06/ChangeLog
GD-2.06/typemap
Removing previously used /var/root/.cpan/build/GD-2.06

  CPAN.pm: Going to build L/LD/LDS/GD-2.06.tar.gz

NOTICE: This module requires libgd 2.0.5 or higher.
        it will NOT work with earlier versions.
        For earlier versions of libgd, use GD version 1.41.

Where is libgd installed? [/usr/lib] /usr/local/lib

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y] n
Build XPM support? [y] n

If you experience compile problems, please check the @INC, @LIBPATH and
@LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

WARNING: CAPI is not a known parameter.
Checking if your kit is complete...
Looks good
Warning: prerequisite Math::Trig 1 not found.
Writing Makefile for GD
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
/usr/bin/perl /Library/Perl/ExtUtils/xsubpp  -typemap
/Library/Perl/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc && mv GD.xsc
GD.c
cc -c  -I/usr/local/include -I/usr/local/include -I/usr/local/include/gd
-pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3
-DVERSION=\"2.06\" -DXS_VERSION=\"2.06\"  "-I/Library/Perl/darwin/CORE"
-DHAVE_JPEG GD.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.bundle
LD_RUN_PATH="/usr/local/lib:/usr/lib" cc  -flat_namespace -bundle -undefined
suppress GD.o  -o blib/arch/auto/GD/GD.bundle   -L/usr/local/lib
-L/usr/local/lib -lgd -lpng -lz -ljpeg -lm
chmod 755 blib/arch/auto/GD/GD.bundle
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD.3
  /usr/bin/make  -- OK
Running 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 multiple definitions of symbol _main
/usr/bin/perl definition of _main
/usr/local/lib/libgd.2.dylib(libgd.2.0.0.dylib-master.o) definition of _main
t/GD..........dubious
        Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
t/Polyline....dyld: /usr/bin/perl multiple definitions of symbol _main
/usr/bin/perl definition of _main
/usr/local/lib/libgd.2.dylib(libgd.2.0.0.dylib-master.o) definition of _main
t/Polyline....dubious
        Test returned status 0 (wstat 5, 0x5)
DIED. FAILED test 1
        Failed 1/1 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
t/Polyline.t    0     5     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
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Reply via email to