FC5, Perl 5.8.8.

I'm attempting to install GD on my box, using cpan, but getting loads
of strange errors which are coming out in some strange character-set, i
think this is probably the cause of the errors when making it...

Here's the start of the errors...

Any idea's how to fix this?  I can't find anything on the web.  :-/



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
/usr/bin/perl 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
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc
&& mv GD.xsc GD.c
gcc -c  -I/usr/include -I/usr/include/gd -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables
-DVERSION=\"2.35\" -DXS_VERSION=\"2.35\" -fPIC
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DHAVE_JPEG
-DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
GD.xs:7:16: error: gd.h: No such file or directory
GD.xs:8:21: error: gdfontg.h: No such file or directory
GD.xs:9:21: error: gdfontl.h: No such file or directory
GD.xs:10:22: error: gdfontmb.h: No such file or directory
GD.xs:11:21: error: gdfonts.h: No such file or directory
GD.xs:12:21: error: gdfontt.h: No such file or directory
GD.xs:340: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âGD__Imageâ
GD.xs:341: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âGD__Fontâ
GD.xs:383: error: expected specifier-qualifier-list before âgdIOCtxâ
GD.xs:391: error: expected â)â before âctxâ
GD.xs:398: error: expected â)â before âctxâ
GD.xs:414: error: expected â)â before âctxâ
GD.xs:422: error: expected â)â before âctxâ
GD.xs:427: error: expected â)â before âctxâ
GD.xs:431: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
GD.xs:452: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âgd_cloneDimâ
GD.xs:476: error: expected â)â before âsrcâ
GD.xs:505: error: expected â)â before âimageâ

Reply via email to