[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't locate object method "gif" via package "GD::Image"



w> Hi,gurus,
w> When I try to run a perl CGI script I get a error message 
w> "Can't locate object method "gif" via package "GD::Image" at 
w> /usr/lib/perl5/GIFgraph/axestype.pm line 119." 
w> in /var/log/apache/error.log. The line 119 of axestype.pm is
w> "return $self->{graph}->gif".
w> Would someone tell me what is wrong?
w> My Debian version is unstable and the version of libgifgraph-perl
w> is 1.10-2. 
w> Thanks in advance.

It seems you have installed latest versions of GD library which do not
have gif support. This is from README of latest GD version:

===> This version of GD no longer supports GIF output because of
===> threats from the legal department at Unisys.  Source code
===> that calls $image->gif will have to be changed to call either
===> $image->jpg or $image->png to output in JPEG or PNG formats.
===> The last version of GD that supported GIF output was version
===> 1.19.

Try to take version of gd from testing or stable. It has version
1.18. Obvious there is a bug with libgifgraph-perl packages
dependecies. It should require libgd-perl < 1.19 instead just
libgd-perl.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Reply to: