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

hi all i'm getting this error when trying to stat a graph Can't locate object method "png" via package "GD::Image" at ../..//Kernel/Modules/SystemStats.pm line 330 Am ii missing a perl module ?

don't you wish it were that easy...
when i do a " perl -MCPAN -e shell" i get the below....
cpan> install GD::Image
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 05 Apr 2006 20:45:56 GMT
Warning: Cannot install GD::Image, don't know what it is.
Try the command
i /GD::Image/
to find objects with matching identifiers.
cpan> i /GD::Image/
Module GD::Image::AnimatedGif (D/DM/DMUEY/GD-
Image-AnimatedGif-0.05.tar.gz)
Module GD::Image::CopyIFS (R/RK/RKOBES/GD-Image-CopyIFS-0.25.tar.gz
)
Module GD::Image::Orientation (D/DM/DMUEY/GD-
Image-Orientation-0.05.tar.gz)
Module GD::Image::Scale2x (B/BR/BRICAS/GD-Image-Scale2x-0.02.tar.gz
)
Module GD::Image::Thumbnail (D/DM/DMUEY/GD-
Image-Thumbnail-0.02.tar.gz)
Module Template::Plugin::GD::Image (A/AB/ABW/Template-
GD-2.66.tar.gz)
suggestions ?
On 6/13/06, Richard Hinkamp - BeSite
Yes, the GD::Image module :)
Regards, Richard
Dennis Kavadas wrote:
hi all
i'm getting this error when trying to stat a graph
Can't locate object method "png" via package "GD::Image" at ../..//Kernel/Modules/SystemStats.pm line 330
Am ii missing a perl module ?
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

thanks, no worries !
On 6/13/06, Richard Hinkamp - BeSite
I installed all perl module with Debian's package manager (apt) instead of CPAN, never used CPAN really so don't know how to help, sorry.
Regards, Richard
Dennis Kavadas wrote:
don't you wish it were that easy... when i do a " perl -MCPAN -e shell" i get the below....
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

Richard Hinkamp wrote:
I installed all perl module with Debian's package manager (apt) instead of CPAN, never used CPAN really so don't know how to help, sorry.
I installed everything througgh yum (on CentOS). What OS are you running, Dennis? /opt/otrs/bin/otrs.checkModules tells you if you have all dependencies installed correctly. Nils Breunese.

Hi Nils
Yeah, i've run "bin/otrs.checkModules" and it's not listed (GD::Image, that
is)
I've also tried installing it manually by downloading it from cpan and
building from source, still get the same error though.
not really sure whats going on.
On 6/13/06, Nils Breunese (Lemonbit Internet)
Richard Hinkamp wrote:
I installed all perl module with Debian's package manager (apt) instead of CPAN, never used CPAN really so don't know how to help, sorry.
I installed everything througgh yum (on CentOS). What OS are you running, Dennis? /opt/otrs/bin/otrs.checkModules tells you if you have all dependencies installed correctly.
Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

Dennis Kavadas wrote:
Yeah, i've run "bin/otrs.checkModules" and it's not listed (GD::Image, that is) I've also tried installing it manually by downloading it from cpan and building from source, still get the same error though. not really sure whats going on.
What OS are you running? I know on Fedora/Red Hat/CentOS you can install the perl-GD package from Dag's repository which has this module. Nils.

running it on redhat9.0
On 6/13/06, Lemonbit Internet Nils Breunese
Dennis Kavadas wrote:
Yeah, i've run "bin/otrs.checkModules" and it's not listed (GD::Image, that is) I've also tried installing it manually by downloading it from cpan and building from source, still get the same error though. not really sure whats going on.
What OS are you running? I know on Fedora/Red Hat/CentOS you can install the perl-GD package from Dag's repository which has this module.
Nils. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

Op 13-jun-2006, om 15:42 heeft Dennis Kavadas het volgende geschreven:
running it on redhat9.0
Then I'd recommend adding Dag's yum repository and then install perl- GD to get the GD modules. Dag has most CPAN modules available (amongst a lot of other packages), easily installable via yum (or apt if you use that).
On 6/13/06, Lemonbit Internet Nils Breunese
wrote: Dennis Kavadas wrote: Yeah, i've run "bin/otrs.checkModules" and it's not listed (GD::Image, that is) I've also tried installing it manually by downloading it from cpan and building from source, still get the same error though. not really sure whats going on.
What OS are you running? I know on Fedora/Red Hat/CentOS you can install the perl-GD package from Dag's repository which has this module.

also make sure that the otrs user's environment variable has the gd path in it? -----Original Message----- From: otrs-bounces@otrs.org on behalf of Nils Breunese (Lemonbit Internet) Sent: Tue 6/13/2006 10:16 AM To: User questions and discussions about OTRS.org Subject: Re: [otrs] Can't locate object method "png" via package "GD::Image" Op 13-jun-2006, om 15:42 heeft Dennis Kavadas het volgende geschreven:
running it on redhat9.0
Then I'd recommend adding Dag's yum repository and then install perl- GD to get the GD modules. Dag has most CPAN modules available (amongst a lot of other packages), easily installable via yum (or apt if you use that).
On 6/13/06, Lemonbit Internet Nils Breunese
wrote: Dennis Kavadas wrote: Yeah, i've run "bin/otrs.checkModules" and it's not listed (GD::Image, that is) I've also tried installing it manually by downloading it from cpan and building from source, still get the same error though. not really sure whats going on.
What OS are you running? I know on Fedora/Red Hat/CentOS you can install the perl-GD package from Dag's repository which has this module.
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

wow, hadn't even heard of YUM... looks cool. thanks guys
On 6/14/06, Nils Breunese (Lemonbit Internet)
Op 13-jun-2006, om 15:42 heeft Dennis Kavadas het volgende geschreven:
running it on redhat9.0
Then I'd recommend adding Dag's yum repository and then install perl- GD to get the GD modules. Dag has most CPAN modules available (amongst a lot of other packages), easily installable via yum (or apt if you use that).
On 6/13/06, Lemonbit Internet Nils Breunese
wrote: Dennis Kavadas wrote: Yeah, i've run "bin/otrs.checkModules" and it's not listed (GD::Image, that is) I've also tried installing it manually by downloading it from cpan and building from source, still get the same error though. not really sure whats going on.
What OS are you running? I know on Fedora/Red Hat/CentOS you can install the perl-GD package from Dag's repository which has this module.
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

Dennis Kavadas wrote:
wow, hadn't even heard of YUM... looks cool. thanks guys
You might want to take a look at http://www.fedoralegacy.org/ as well. Red Hat has dropped support for RH9 some time ago, but the guys from Fedora Legacy are still releasing security updates. Maybe not for long, but I guess it's better than nothing. Nils.
participants (5)
-
Andy Lubel
-
Dennis Kavadas
-
Nils Breunese
-
Nils Breunese (Lemonbit Internet)
-
Richard Hinkamp - BeSite