For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > June 2007 > Re: How to get GIF support with Perl-GD library? (Can't locate object









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How to get GIF support with Perl-GD library? (Can't locate object
Gunnar Hjalmarsson

2007-06-05, 6:58 pm

Francesco Moi wrote:
> Using Perl v5.8.3 on Linux, I'm trying to install GD interface for
> Perl (made by Lincoln Stein).
> I installed GD, zlib, jpeg-6b and freetype from sources (the very last
> versions).
>
> When executing script, I get this error message:
> -----
> Can't locate object method "newFromGif" via package "GD::Image" at ./
> test.pl line 6.


What happens if you run:

perl -e 'use GD; print GD->VERSION'

The error message indicates that your version of the Perl GD interface
is too old (< 2.15) to work with GIF. In that case, upgrade GD.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com