Problem with the Statistics pack

The Statistics requires GD and GD::Graph to work. When I try på install GD using CPAN i get the following error:

Using Slackware 8.1 with Perl 5.8.4

cc -c -I/usr/local/include -I/usr/local/include/gd -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="2.12" -DXS_VERSION="2.12" -fpic “-I/usr/lib/perl5/5.8.4/i386-linux/CORE” -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
GD.xs: In function XS_GD__Image_stringFT': GD.xs:1879: structure has no member named charmap’
GD.xs:1885: gdFTEX_CHARMAP' undeclared (first use in this function) GD.xs:1885: (Each undeclared identifier is reported only once GD.xs:1885: for each function it appears in.) GD.xs:1887: structure has no member named charmap’
GD.xs:1887: gdFTEX_Unicode' undeclared (first use in this function) GD.xs:1889: structure has no member named charmap’
GD.xs:1889: gdFTEX_Shift_JIS' undeclared (first use in this function) GD.xs:1891: structure has no member named charmap’
GD.xs:1891: `gdFTEX_Big5’ undeclared (first use in this function)
make: *** [GD.o] Error 1
/usr/bin/make – NOT OK

Anyone who can give me a hint to resolv this problem?

mvh/yours
Anders Hansen-Øvre, Seniorkonsulent
Mail : anders.hansen-ovre@contra.no
Mail : anders.hansen-ovre@terminalserver.no
Cell : (+47) 90 98 17 78

Konsulenthuset Contra as
Hedmark Næringspark, 2312 Ottestad
Phone : (+47) 62 54 42 99
Fax : (+47) 62 54 42 85
Mail : post@contra.no
Web : http://www.contra.no

Anders Hansen-�vre wrote:

The Statistics requires GD and GD::Graph to work. When I try p� install GD using CPAN i get the following error:
It’s problem with GD. You should try manual install from tarball. May be
this GD module is incompatible with your libgd or you have broken headers.

Using Slackware 8.1 with Perl 5.8.4

[snip]