Thanks Andy for the quick response (thanks also getting the x86 debian
builds sorted out earlier this month!).

It turns out that I didn't have libgd-dev installed, but now I have via
apt-get. Here's what I get from the first command you suggested:

[EMAIL PROTECTED]:~$ perl -MGD\ 999
Can't locate GD.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4 .).
BEGIN failed--compilation aborted.-

I then re-ran build-perl-modules.pl, getting the same errors as before.
And here's what I get when I try to install GD from CPAN:

[EMAIL PROTECTED]:/usr/local/slimserver$ cpan GD
CPAN: Storable loaded ok
Going to read /home/ken/.cpan/Metadata
Database was generated on Fri, 12 Oct 2007 06:36:46 GMT
Running install for module GD
Running make for L/LD/LDS/GD-2.35.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/ken/.cpan/sources/authors/id/L/LD/LDS/GD-2.35.tar.gz
ok
Scanning cache /home/ken/.cpan/build for sizes
GD-2.35/
GD-2.35/t/
GD-2.35/t/test.out.3.jpeg
GD-2.35/t/GD.t
GD-2.35/t/tile.jpeg
GD-2.35/t/test.out.4.jpeg
GD-2.35/t/test.out.5.jpeg
GD-2.35/t/test.out.6.jpeg
GD-2.35/t/test.out.7.jpeg
GD-2.35/t/test.out.8.jpeg
GD-2.35/t/test.out.9.jpeg
GD-2.35/t/test.out.3.png-1
GD-2.35/t/Polyline.t
GD-2.35/t/test.out.4.png-1
GD-2.35/t/test.out.4.png-2
GD-2.35/t/test.out.10.png-1
GD-2.35/t/test.out.10.png-2
GD-2.35/t/test.out.10.png-3
GD-2.35/t/test.out.1.png
GD-2.35/t/test.out.2.gif
GD-2.35/t/test.out.2.png
GD-2.35/t/test.out.3.gif
GD-2.35/t/test.out.3.png
GD-2.35/t/test.out.4.gif
GD-2.35/t/test.out.4.png
GD-2.35/t/test.out.5.gif
GD-2.35/t/test.out.5.png
GD-2.35/t/test.out.6.gif
GD-2.35/t/test.out.6.png
GD-2.35/t/test.out.7.gif
GD-2.35/t/test.out.7.png
GD-2.35/t/test.out.8.gif
GD-2.35/t/test.out.8.png
GD-2.35/t/test.out.9.gif
GD-2.35/t/test.out.9.png
GD-2.35/t/test.out.5.png-1
GD-2.35/t/Generic.ttf
GD-2.35/t/test.out.6.png-1
GD-2.35/t/test.out.7.png-1
GD-2.35/t/frog.jpg
GD-2.35/t/frog.xpm
GD-2.35/t/test.out.10.jpeg
GD-2.35/t/test.out.8.png-1
GD-2.35/t/test.out.8.png-2
GD-2.35/t/test.out.8.png-3
GD-2.35/t/test.out.8.png-4
GD-2.35/t/test.out.8.png-5
GD-2.35/t/test.out.8.png-6
GD-2.35/t/tile.gif
GD-2.35/t/tile.png
GD-2.35/t/test.out.2.png-1
GD-2.35/t/test.out.9.png-1
GD-2.35/t/test.out.9.png-2
GD-2.35/t/palettemap.png
GD-2.35/t/test.out.10.gif
GD-2.35/t/test.out.10.png
GD-2.35/t/test.out.2.jpeg
GD-2.35/GD/
GD-2.35/GD/Polygon.pm
GD-2.35/GD/Simple.pm
GD-2.35/GD/Image.pm.PLS
GD-2.35/GD/Polyline.pm
GD-2.35/GD.pm
GD-2.35/GD.xs
GD-2.35/demos/
GD-2.35/demos/brushes.pl
GD-2.35/demos/font_list.png
GD-2.35/demos/fonttest
GD-2.35/demos/polys.pl
GD-2.35/demos/fills.pl
GD-2.35/demos/truetype_test
GD-2.35/demos/shapes.pl
GD-2.35/demos/copies.pl
GD-2.35/demos/ttf.pl
GD-2.35/demos/gd_example.cgi
GD-2.35/demos/tile.png
GD-2.35/demos/polyline.pl
GD-2.35/demos/transform.pl
GD-2.35/qd.pl
GD-2.35/README
GD-2.35/Makefile.PL
GD-2.35/README.QUICKDRAW
GD-2.35/META.yml
GD-2.35/typemap
GD-2.35/bdf_scripts/
GD-2.35/bdf_scripts/README
GD-2.35/bdf_scripts/bdf2gdfont.PLS
GD-2.35/bdf_scripts/bdftogd
GD-2.35/bdf_scripts/bdf2gdfont.pl
GD-2.35/README.unix
GD-2.35/ChangeLog
GD-2.35/MANIFEST
Removing previously used /home/ken/.cpan/build/GD-2.35

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


Where is libgd installed? [/usr/lib] 

Please choose the features that match how libgd was built:
Build JPEG support? [y] 
Build PNG support? [y] 
Build FreeType support? [y] 
Build GIF support? [y] 
Build support for animated GIFs? [y] 
Build XPM support? [y] 

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

Checking if your kit is complete...
Looks good
Writing Makefile for GD
/mnt/usr/bin/perl "-Iblib/arch" "-Iblib/lib" GD/Image.pm.PLS
GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
/mnt/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp  -typemap
/usr/share/perl/5.8/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc
&& mv GD.xsc GD.c
cc -c  -I/usr/include -I/usr/include/gd -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  
-DVERSION=\"2.35\" -DXS_VERSION=\"2.35\" -fPIC
"-I/usr/lib/perl/5.8/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF
-DHAVE_PNG -DHAVE_ANIMGIF GD.c
In file included from /usr/lib/perl/5.8/CORE/perl.h:3950,
from GD.xs:5:
/usr/lib/perl/5.8/CORE/proto.h:31: warning: `warn_unused_result'
attribute directive ignored
/usr/lib/perl/5.8/CORE/proto.h:42: warning: `warn_unused_result'
attribute directive ignored

<snip a few hundred similar errors.......>

/usr/lib/perl/5.8/CORE/proto.h:2294: warning: `warn_unused_result'
attribute directive ignored
GD.xs: In function `newDynamicCtx':
GD.xs:444: error: structure has no member named `gd_free'
GD.xs: In function `gd_cloneDim':
GD.xs:464: error: structure has no member named `alpha'
GD.xs:464: error: structure has no member named `alpha'
GD.xs:470: error: structure has no member named `thick'
GD.xs:470: error: structure has no member named `thick'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:640: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:696: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:723: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image__newFromGif':
GD.xs:855: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Image_newFromGifData':
GD.xs:878: error: structure has no member named `gd_free'
GD.xs: In function `XS_GD__Image_STORABLE_thaw':
GD.xs:922: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Image_copyRotate90':
GD.xs:1246: error: invalid lvalue in assignment
GD.xs:1246: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate180':
GD.xs:1267: error: invalid lvalue in assignment
GD.xs:1267: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyRotate270':
GD.xs:1288: error: invalid lvalue in assignment
GD.xs:1288: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipHorizontal':
GD.xs:1309: error: invalid lvalue in assignment
GD.xs:1309: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyFlipVertical':
GD.xs:1330: error: invalid lvalue in assignment
GD.xs:1330: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyTranspose':
GD.xs:1351: error: invalid lvalue in assignment
GD.xs:1351: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_copyReverseTranspose':
GD.xs:1372: error: invalid lvalue in assignment
GD.xs:1372: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_rotate180':
GD.xs:1392: error: invalid lvalue in assignment
GD.xs:1392: error: invalid lvalue in assignment
GD.xs:1393: error: invalid lvalue in assignment
GD.xs:1393: error: invalid lvalue in assignment
GD.xs: In function `XS_GD__Image_flipHorizontal':
GD.xs:1431: error: invalid lvalue in assignment
<snip>
GD.xs: In function `XS_GD__Image_flipVertical':
GD.xs:1449: error: invalid lvalue in assignment
<snip>
GD.xs: In function `XS_GD__Image_stringFT':
GD.xs:2163: error: `gdFTStringExtra' undeclared (first use in this
function)
GD.xs:2163: error: (Each undeclared identifier is reported only once
GD.xs:2163: error: for each function it appears in.)
GD.xs:2163: error: syntax error before "strex"
GD.xs:2182: error: `strex' undeclared (first use in this function)
GD.xs:2186: error: `gdFTEX_LINESPACE' undeclared (first use in this
function)
GD.xs:2190: error: `gdFTEX_CHARMAP' undeclared (first use in this
function)
GD.xs:2192: error: `gdFTEX_Unicode' undeclared (first use in this
function)
GD.xs:2194: error: `gdFTEX_Shift_JIS' undeclared (first use in this
function)
GD.xs:2196: error: `gdFTEX_Big5' undeclared (first use in this
function)
GD.xs:2217: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Font_DESTROY':
GD.xs:2437: warning: comparison between pointer and integer
<snip>
GD.xs:2441: warning: comparison between pointer and integer
GD.xs: In function `XS_GD__Font_Small':
GD.xs:2453: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Font_Large':
GD.xs:2464: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Font_Giant':
GD.xs:2475: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Font_MediumBold':
GD.xs:2486: warning: assignment makes pointer from integer without a
cast
GD.xs: In function `XS_GD__Font_Tiny':
GD.xs:2497: 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-


-- 
aubuti
------------------------------------------------------------------------
aubuti's Profile: http://forums.slimdevices.com/member.php?userid=2074
View this thread: http://forums.slimdevices.com/showthread.php?t=39240

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to