> an easy way to install Perl modules is by using the perl shell
>
> ~$perl -MCPAN -e shell
>
> once you are in the shell (first time you start it up you need to answer
> some simple questions) you can do:
>
>  >install GD
>
> and you should be good to go
>
> LB


Not sure which part of the following error is important, so here it all is.

<error>

Warning: prerequisite Math::Trig 0 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 /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
GD.xsc GD.c

gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT -D_GNU_SOUR
CE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/in
clude/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.11\" -DXS_VERSION=\"2.11
\" -fpic
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT 
-DHAVE_XPM 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

GD.xs: In function `newDynamicCtx':

GD.xs:430: structure has no member named `gd_free'

GD.xs: In function `gd_cloneDim':

GD.xs:450: structure has no member named `alpha'

GD.xs:450: structure has no member named `alpha'

GD.xs:456: structure has no member named `thick'

GD.xs:456: structure has no member named `thick'

GD.xs: In function `XS_GD__Image_newFromPngData':

GD.xs:584: structure has no member named `gd_free'

GD.xs: In function `XS_GD__Image_newFromGdData':

GD.xs:603: structure has no member named `gd_free'

GD.xs: In function `XS_GD__Image_newFromGd2Data':

GD.xs:620: structure has no member named `gd_free'

GD.xs: In function `XS_GD__Image_newFromJpegData':

GD.xs:640: structure has no member named `gd_free'

GD.xs: In function `XS_GD__Image_newFromWBMPData':

GD.xs:665: structure has no member named `gd_free'

GD.xs: In function `XS_GD__Image_copyRotate90':

GD.xs:1026: invalid lvalue in assignment

GD.xs:1026: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_copyRotate180':

GD.xs:1047: invalid lvalue in assignment

GD.xs:1047: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_copyRotate270':

GD.xs:1068: invalid lvalue in assignment

GD.xs:1068: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_copyFlipHorizontal':

GD.xs:1089: invalid lvalue in assignment

GD.xs:1089: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_copyFlipVertical':

GD.xs:1110: invalid lvalue in assignment

GD.xs:1110: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_copyTranspose':

GD.xs:1131: invalid lvalue in assignment

GD.xs:1131: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_copyReverseTranspose':

GD.xs:1152: invalid lvalue in assignment

GD.xs:1152: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_rotate180':

GD.xs:1172: invalid lvalue in assignment

GD.xs:1172: invalid lvalue in assignment

GD.xs:1173: invalid lvalue in assignment

GD.xs:1173: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_flipHorizontal':

GD.xs:1190: invalid lvalue in assignment

GD.xs:1190: invalid lvalue in assignment

GD.xs:1191: invalid lvalue in assignment

GD.xs:1191: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_flipVertical':

GD.xs:1208: invalid lvalue in assignment

GD.xs:1208: invalid lvalue in assignment

GD.xs:1209: invalid lvalue in assignment

GD.xs:1209: invalid lvalue in assignment

GD.xs: In function `XS_GD__Image_stringFT':

GD.xs:1858: `gdFTStringExtra' undeclared (first use in this function)

GD.xs:1858: (Each undeclared identifier is reported only once

GD.xs:1858: for each function it appears in.)

GD.xs:1858: parse error before "strex"

GD.xs:1877: `strex' undeclared (first use in this function)

GD.xs:1881: `gdFTEX_LINESPACE' undeclared (first use in this function)

GD.xs:1885: `gdFTEX_CHARMAP' undeclared (first use in this function)

GD.xs:1887: `gdFTEX_Unicode' undeclared (first use in this function)

GD.xs:1889: `gdFTEX_Shift_JIS' undeclared (first use in this function)

GD.xs:1891: `gdFTEX_Big5' undeclared (first use in this function)

GD.xs:1895: warning: assignment makes pointer from integer without a cast

make: *** [GD.o] Error 1

/usr/bin/make -- NOT OK

Running make test

Can't test without successful make

Running make install

make had returned bad status, install seems impossible


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list