On Fri, 15 Dec 2006 12:07:31 +0800 (GMT+08:00) Jeff Pang <[EMAIL PROTECTED]> wrote:
> Thanks for all the suggestion. > But when I run 'perl -MCPAN -e shell' to install GD.pm,I got lots of errors > and can't make it at all: > > GD.xs:615: error: `RETVAL' undeclared (first use in this function) > GD.xs:615: error: syntax error before "gdImageCreateFromPng" > GD.xs: In function `XS_GD__Image_newFromPngData': > GD.xs:627: error: `gdIOCtx' undeclared (first use in this function) > GD.xs:627: error: `ctx' undeclared (first use in this function) > GD.c:707: error: syntax error before "RETVAL" > GD.xs:639: error: `RETVAL' undeclared (first use in this function) > GD.xs:639: error: syntax error before "gdImageCreateFromPngCtx" > GD.c: In function `XS_GD__Image_newFromGdData': > GD.c:742: error: syntax error before "RETVAL" No idea, but the README says 2. Make sure you have downloaded and installed the following packages: a. Perl 5.6.0 or higher: http://www.perl.com/ b. The gd graphics library: http://www.boutell.com/gd/ c. The PNG graphics library: http://www.libpng.org/pub/png/libpng.html d. The zlib compression library: http://www.gzip.org/zlib/ Do you have all those, particularly the PNG graphics library? Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>