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".
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?
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,
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".
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.
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'
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...
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.
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
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.
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?
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'
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.
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"
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.
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?
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]
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
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?
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?
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.