[Gllug] installing flaming perl modules

will will at hellacool.co.uk
Tue Aug 7 14:07:06 UTC 2001


I hope someone can help,

I am trying to install the GD perl module using the cpan shell, so:

#perl -MCPAN -e shell

and then:

CPAN> install GD

which is fine, almost.  It gets to the following part:

Writing Makefile for GD
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/GD
mkdir blib/lib/auto
mkdir blib/lib/auto/GD
mkdir blib/man3
cp qd.pl blib/lib/qd.pl
cp patch_gd.pl blib/lib/patch_gd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0
/usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
GD.xsc GD.c
cc -c -I/usr/local/include -I/usr/local/include/gd -fno-strict-aliasing -D_L
ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -fno-excepti
ons -fno-rtti -pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math -f
expensive-optimizations     -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fpic -
I/usr/lib/perl5/5.6.0/i386-linux/CORE -DHAVE_JPEG -DHAVE_TTF -DHAVE_XPM GD.c

and I get:

GD.xs:7: gd.h: No such file or directory

plus a lot of other errors after that, which is strange because I am trying
to install the GD module and I wouldn't expect it to be there already.  I
did an slocate gd.h on my system and there was one at
/root/nessus/gdchart0.94b/gd1.3/gd.h so I copied this to /usr/local/include/
but just got different errors.  Anyone got any ideas?  The standard out and
error can be found at www.hellacool.co.uk/cpan

thanks
Will


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list