Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")



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
.



Relevant Pages

  • Re: problems with Perl RegEx match
    ... Missing right bracket at ./LogPreProcessor_Inetprod.pl line 64, ... Perl didn't encounter it. ... when I used the following search term in google to look ... considering it's an error message from an older Perl - in newer Perls, ...
    (comp.lang.perl.misc)
  • Re: About the error message in Perl : "Missing right curly braces"
    ... Subject: About the error message in Perl: "Missing right curly ... SKY and the SKY marks are trade marks of ... track which line contains that curly brace which is causing that problem, ...
    (perl.beginners)
  • Re: "Did not find leading dereferencer" - new findings to an old puzzle
    ... to do with the "Dereferencer" error, because on the first example I ... I got that error message in the context of Perl standard ... this would not explain why the error message ... source code. ...
    (comp.lang.perl.misc)
  • Re: perl and CGI
    ... This error message is _not_ a Perl error message. ... I was just trying to figure out how perl and the web server works.. ... I have already developed a perl file to manage a web form (send the ... pointers to more information. ...
    (comp.lang.perl.misc)
  • RE: lc
    ... > and I got an error message that said I couldn't use lc ... Then I checked my copy of Learning Perl and the index ... that Perl didn't have a lowercase function. ... Mail SpamGuard - Read only the mail you want. ...
    (perl.beginners)