CentOS 5 :: Perl CPAN GD Module Failing - Can't Locate Object Method "png" Via Package "GD::Image"

Jun 29, 2010

I have CentOS 5.4 and have installed CPAN GD module.Installation messages seemed clean and successful.When I try to create a png file, perl gives the error message :

Can't locate object method "png" via package "GD::Image" at
/usr/lib/perl5/vendor_perl/5.8.8/DBD/Chart/Plot.pm line 1276 (#1)
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't define that particular
method, nor does any of its base classes. See perlobj.

Also, the following perl one-liner gives answer "No".

perl -e 'use GD; $im=GD::Image->new(); print $im->can("png") ? "Yes" : "No" , "
";'

I suspect that this GD module requires Image::Magick, but that borks on installation.

Magick.xs:2344: warning: implicit declaration of function �MagickCoreGenesis�
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.59.tar.gz

[code]...

View 3 Replies


ADVERTISEMENT

Ubuntu :: Perl Modules Using CPAN - Get The Message From CPAN That This Module Is Already Up To Date?

Jun 7, 2010

I tried to use CPAN to install a module Algorithm::Loops using "install Algorithm::Loops". I get the message from CPAN that this module is already up to date.But, when I try to use it I get the message:

Can't locate Algorithm/Loops.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./test.pl line 4.
BEGIN failed--compilation aborted at ./test.pl line 4.

And indeed, the file Loops.pm is nowhere to be found.Isn't that a contradiction?

View 2 Replies View Related

Software :: Can't Locate Object Method "path" Via Package "Autom4te::Request" At/usr/bin/autom4te

Aug 13, 2010

Recently i install a package when i input the command make and make install the above error appear, will i need to upgrade autoconf as well as other autotools? my host os is redhead9.0-linux 2.4.20-8,

View 1 Replies View Related

CentOS 5 :: CPAN Says Package Is Installed - But YUM Says Dependency Is Missing

Sep 30, 2010

I'm trying to install freeside, a perl based web application using the provided rpms & yum installation instructions.

It won't proceed because of missing dependencies and ends with the following:

View 6 Replies View Related

Programming :: Can't Call Method "prepare" Without A Package Or Object Reference?

Oct 4, 2010

I have the following code in the TCP server:Quote:

while (my $from_who = accept(CLIENT_SOCK, TCP_SOCK)) {
my $data = '';
#my $previous = select CLIENT_SOCK;

[code]...

View 5 Replies View Related

General :: Can't Locate CPAN.pm In @INC - Error

Feb 22, 2010

I am executing command "yum install perl-CPAN". I got the following error "Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).". Let me give you some details of the problem.

OS: CentOS release 5.4 (Final)
Architecture: : 32 Bit
Installed Perl Version: This is perl, v5.8.8 built for i386-linux-thread-multi

I've also studies previous posts on this topic which says "yum install perl-CPAN" will fix the problem when I execute this command I got "No package perl-CPAN available".

View 5 Replies View Related

CentOS 5 :: Yum Fails With 'module' Object Has No Attribute 'main'

May 5, 2009

Any attempt to run yum produces the following error:

Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
AttributeError: 'module' object has no attribute 'main'

It doesn't matter what command line arguments I use I get the same.I've spent a day or so searching on Google but not had any luck in identifying what is causing this problem.

View 4 Replies View Related

Fedora :: No More Mirrors To Try When Trying To Install Perl-cpan

Sep 29, 2010

My yum is not working. I need cpan in order to install a perl module net::ldap.

This is what I am see when I run the command yum install perl-CPAN

om updates:

I try running yum clear and yum update and nothing fixes the issue.

View 13 Replies View Related

Debian :: Install Perl Modules Using CPAN?

Mar 5, 2010

Can anyone provide me information about installing perl modules using CPAN.....

View 1 Replies View Related

General :: Installing CPAN Modules (perl) And Proxy Settings?

Feb 17, 2010

Here is my problem:I work with the BioPerl project. At first, I installed cpan modules without any problem,(eg.) sudo cpan -i CPAN::ModuleI've a proxy connection (university) and I'd configured my proxy settings correctly: perl -MCPAN -eshellIn the beginning it worked, but I don't know why it doens't work today. Here is the outline:

fernando@fer-laptop[fernando] sudo cpan -i Algorithm::Cluster
CPAN: Storable loaded ok (v2.15)
Going to read '/home/fernando/.cpan/Metadata'

[code]....

View 1 Replies View Related

Programming :: Module In Cpan For Creating A Blog?

Apr 2, 2010

Exist it a module in cpan for creating a blog?

View 4 Replies View Related

Programming :: CPAN Cannot Install Math - Pari Module

Jun 8, 2010

I wrote a perl script to feed information to our load balancer:
Code:
#!/usr/bin/perl
#
use strict;
#use warnings;
#
#
use Net::SSH::Perl;
my $user="bluethundr";
my $pass="secret";
my $dir="$ENV{HOME}/data";
open (LBVSERVERS), '<', "$dir/lb-vserver" or die "Couldn't open file: $!";
open (CSVSERVERS), '<', "$dir/cs-vserver" or die "Couldn't open file: $!";
my $ssh = Net::SSH::Perl->new("10.50.0.1");
$ssh->login("$user", "$pass");
print " .....

I need to be able to install the Math::Pari CPAN module in order to accomodate the Net::SSH CPAN module. The prereqs are installed:
Code:
cpan> install Net::FTP
Net::FTP is up to date.
cpan> install LWP::UserAgent
LWP::UserAgent is up to date.

But when I either try to install or force install Math::Pari this is what I get:
Code:
cpan> install Math::Pari
Running install for module Math::Pari
Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Checksum for /home/bluethundr/.cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz ok
Math-Pari-2.01080604/ .....

CPAN.pm: Going to build I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Did not find GP/PARI build directory around.
Do you want to me to fetch GP/PARI automatically?
(If you do not, you will need to fetch it manually, and/or direct me to the directory with GP/PARI source via the command-line option paridir=/dir)
Make sure you have a large scrollback buffer to see the messages, or 'tee' the STDOUT/STDERR to a file.
Fetch? (y/n, press Enter) y
Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Cannot list (Failed to establish connection.
): at utils/Math/PariBuild.pm line 319, <STDIN> line 1.
Can't fetch file with Net::FTP, now trying with LWP::UserAgent...
You do not have LWP::UserAgent and/or HTML::LinkExtor installed, cannot download, exiting...

View 1 Replies View Related

Ubuntu :: Gdlib-Config Not Found For GD CPAN Module

May 8, 2010

I installed GD Package from cpan in ubuntu 10.04, but I need gdlib-config for this module. I installed libgd2-noxpm but I continue to have this problem.

View 1 Replies View Related

CentOS 5 :: Software Package Crashes - Cannot Locate GCC

Dec 28, 2010

I've recently upgraded my OS to Centos [from RedHat]. I'm trying to bring up a 3rd party linux software package & it's crashing on errors that it can't locate gcc. I have a dir /usr/libexec/gcc/x86_64-redhat-linux/4.1.1

View 1 Replies View Related

General :: Error Installing Image - Magick Via CPAN

May 6, 2010

There is this server that I have just put with Bugzilla. It needs Image::Magick module for rendering bmp or other image types to png to save some disk space and compress the images.

The best way to install it is using CPAN repos. And it gives whole lot of errors. I am attaching the file for errors.

But if try to install from cpan console it says Image::Magick is already the recent version.

Code:

And this is the bugzilla error:

Code:

View 11 Replies View Related

Ubuntu Servers :: Use The Select Method On The Datatable Object The Performance Really Detoriates?

Apr 25, 2011

I am using MonoDevelop with SQL Server whenever I try to do use the Select method on the Datatable object the performance really detoriates it is 3 times slow than it is with .Net. Are there any work arounds?

View 1 Replies View Related

Slackware :: Exaile Failing To Start - Object Has No Attribute

Feb 26, 2011

I wrestling with a new slackware install and I've got a problem with exaile. It was built with sbopkg, and doesn't work. It doesn't start at all from the menu (in Xfce,) and provides the following error message when started from Terminal:

Code:
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
Traceback (most recent call last):
File "/usr/lib64/exaile/exaile.py", line 52, in <module> main()
File "/usr/lib64/exaile/exaile.py", line 49, in main exaile = main.Exaile()
File "/usr/lib64/exaile/xl/main.py", line 96, in __init__self.__init()
File "/usr/lib64/exaile/xl/main.py", line 132, in __init self.__show_splash()
File "/usr/lib64/exaile/xl/main.py", line 260, in __show_splash import xlgui
File "/usr/lib64/exaile/xlgui/__init__.py", line 53, in <module> from xlgui import devices, guiutil, icons, preferences, queue
File "/usr/lib64/exaile/xlgui/devices.py", line 34, in <module> from xlgui import collection
File "/usr/lib64/exaile/xlgui/collection.py", line 36, in <module> from xlgui.widgets import dialogs
File "/usr/lib64/exaile/xlgui/widgets/dialogs.py", line 452, in <module> class MessageBar(gtk.InfoBar):
AttributeError: 'module' object has no attribute 'InfoBar'

View 3 Replies View Related

CentOS 5 :: Missing Dependency : Perl(LWP::UserAgent) Is Needed By Package Sblim-sfcb?

Aug 25, 2010

I'm trying to install Dell Openmanage, which requires sblim-sfcb.Normally this wouldn't be a problem but it requires LWP::UserAgent to be installed.However there are no RPMs for LWP::UserAgent. There are RPMs for perl-libwww-perl-5.805-1.1.1.noarch.rpm, which people say should work.However yum doesn't see anything with libwww as an option so that won't work either.Running CentOS 5.5

Note: I do have LWP::UserAgent installed via cpan, however the RPM won't compile without the actual LWP::UserAgent RPM installed.

View 9 Replies View Related

Slackware :: Best Way To Install Perl Cpan Modules In Slackware?

Feb 23, 2010

What is the best way to install perl cpan modules in slackware?

i know that you can use 'cpan' and say 'install date::calc' but there is a perl-date-calc slackbuild on sbo. so which is the better way and why?

View 2 Replies View Related

CentOS 5 Networking :: Find Out Which Package (rpm) Contains The Ipg (network Driver) Module?

Mar 22, 2011

How do I find out which package (rpm) contains the ipg (network driver) module?

View 1 Replies View Related

CentOS 5 :: Create New RAM Image File To Get Server Load Raid1 Module Upon Start - Mkinited Error No Kernel Available For 'inited-2.6.18-128.el5"

Nov 12, 2009

I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"

View 4 Replies View Related

Ubuntu :: Package Installation Error / 'E: Unable To Locate Package Xxx'

Feb 3, 2011

I am following this guide to installing eclipse via terminal command-line on Linux. However, this seems to be happening lately with all the packages I try to install..I checked the Synaptic Package Manager and reloaded and rebooted the computer, but to no avail.

View 5 Replies View Related

Software :: Perl Modules Installation - Can't Locate Spreadsheet / WriteExcel.pm In @INC

Jul 26, 2011

When i tried to execute im getting the following error

Can't locate Spreadsheet/WriteExcel.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/alpha-dec_osf /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/alpha-dec_osf /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at excel.pl line 4. BEGIN failed--compilation aborted at excel.pl line 4. If i need to install the modules whether they will work for 5.6.1 version?

View 4 Replies View Related

Ubuntu Servers :: Libnetpacket-perl Package For 9.10 Karmic - Functionality Present In Another 9.10 Package With A Different Name?

Jan 8, 2010

I need to install the following dependencies for synspam on Ubuntu 9.10 karmic server:

Code:
sudo aptitude install nfqueue-bindings-perl libsys-syslog-perl libappconfig-perl libnetpacket-perl libnetaddr-ip-perl
dpkg -i synspam_version_all.deb
Of these, only libnetpacket-perl is not packaged for Ubuntu 9.10 karmic.

Is this functionality present in another 9.10 package with a different name? 10.04 Lucid does have the package: [URL]

View 1 Replies View Related

General :: Can't Locate Module Block-major-33

Feb 14, 2010

I am running a linux software called altboot to install software on my xerox copy printers network controller harddisk but it keeps failing and I wonder what the error message means. Is it a cable, software or hardware problem?

I have pasted part of the log below...

modprobe: modpro/none on /proc type proc (rw)
create symbolic link `/lib/modul INIT: Entering runlevel: 2
modprobe: modprobe: Can't locate module block-major-33
modprobe: modprobe: Can't locate moduleeth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
block-major-8
modprobe: modprobe: Can't locate module block-major-33
modprobe: modprobe: Can't locate module block-major-8

View 2 Replies View Related

CentOS 5 Server :: Move 5.5 To /usr/bin/perl So Root Based On Perl 5.12.1?

Aug 11, 2010

I am new here and want to lern CentOS. Current I have installed CentOS 5.5 x64 and Perl 5.8.8. Now i have install Perl 5.12.1 which located to /usr/local/bin/perl. But how I can move it to /usr/bin/perl so root based on Perl 5.12.1?

View 7 Replies View Related

Ubuntu :: How To Use Perl Module?

Jul 3, 2011

How do I use a perl module? Am I suppose to call it from the terminal?

View 2 Replies View Related

Ubuntu :: Best Backup Method - Copy Drive Image Or Use Utility

Jul 8, 2011

I just got a 2TB drive with the intention of backing up multiple Ubuntu machines to it. What would be the best way to do this, keeping ease of restoration in mind? Should I just copy each drive image to the BU drive, or use a utility like Back in Time?

View 8 Replies View Related

Fedora Installation :: How To Install Perl Module At AWS?

Mar 15, 2010

I need to install the Perl DBI and DBI::mysql modules at Amazon Web Services. Perl 5.8.8 is installed there as part of the default Fedora linux that comes with an EC2 instance. I am not familiar with Fedora, but have been using Linux for a good while.If anyone could tell/show/direct me to the quickest way to do this.

View 1 Replies View Related

General :: Not Able To Install Bugzilla Module In Perl

Jul 21, 2011

I am using RHEL5 64 bit. I am trying to install bugzilla. While installing i am getting error.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved