Debian :: Install Perl Modules Using CPAN?
Mar 5, 2010Can anyone provide me information about installing perl modules using CPAN.....
View 1 RepliesCan anyone provide me information about installing perl modules using CPAN.....
View 1 RepliesI 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?
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]....
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?
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.
I am unable to install one of perl modules. Please guide me how to install perl modules resolving dependencies. How to verify installed module.
View 1 Replies View RelatedI have newly updated CentOS 5.6 server and would like to keep it "true" to CentOS, so try to avoid manually installing rpm's and CPAN modules.
I need to install perl graphing modules, Chart::Base, GD, GD::Graph, GD::Text, etc.
Have already done
Yum install gd gd-devel php-gd
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]...
I've done a clean install of Slackware 13.37 64-bit and am having trouble with building the Perl modules for Bugzilla 4.x.x (downloaded yesterday with bzr). This same problem exists with both Bugzilla stable and 4.1.2+.Executing checksetup.pl results in
Code:
checksetup.pl
* This is Bugzilla 4.1.2+ on perl 5.12.3
[code]....
CentOS and RHEL even though I've been using various Debian/Ubuntu Distros for quite some time. However, I always used to install perl modules via apt-get or, if that did not work, via cpan.In CentOS, I tried installing a couple of perl modules via yum but there are only a very few available. When trying to install perl modules via cpan, the install process usually fails during the make process.I'd prefer to install those modules via the distribution's package manger yum as it's easier to resolve dependencies. Are there any repositories I should add to have more perl packages available? (Where to add further repositories, I just know /etc/apt/sources.list in debian based distros)The other option still would be to install perl modules via cpan. For instance, when trying to cpan install Geo::IP, the output is as follows:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Mar 2011 02:42:03 GMT
[code]....
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?
With the latest Freenode changes SSL connection is now possible which presents no problem, particularly with rworkman's ca-certificates slackbuild, But configuring sasl for the password to nickserv presents a bit more of a challenge as 3 perl modules are required: Crypt::OpenSSL::Bignum, Crypt::DH, Crypt::Blowfish and Math::BigInt. I have not packaged perl modules for slackware before and I guess there is always a first time but can I ask if anybody has already neatly packaged up the required perl modules? I suspect they will be very popular with Freenode slackware irc users...
View 2 Replies View RelatedI have a Xserve server with Debian 2.6.26-2-amd64, the cpu is 2 X Intel Xeon 5150 @ 2.66GHz.I want to scaling down the cpu frequency and I only found three modules in my system and all of them are not working:
lake:/# ls /lib/modules/2.6.26-2-amd64/kernel/arch/x86/kernel/cpu/cpufreq
acpi-cpufreq.ko powernow-k8.ko speedstep-centrino.ko
lake:/# modprobe acpi-cpufreq
[code]....
I have a Xserve server with Debian 2.6.26-2-amd64, the cpu is 2 X Intel Xeon 5150 @ 2.66GHz.I want to scaling down the cpu frequency and I only found three modules in my system and all of them are not working.I found only module P4-clockmod can work with Xeon processors, but I don't know how to install it into the system.
View 2 Replies View RelatedI want to install LWP on my server! i have try many times but the result still failed!
I also try to force install and install/force install smaller module! There was 11 small modules build failed!
I was able to install LWP on a few server successful on Jan 2010.
I'm trying to install Tk from CPAN in slackware-current x86_64 for perl v5.12.3 and get the following error message
Code:
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for 'XKeycodeToKeysym'
/usr/include/X11/Xlib.h:1694:15: note: previous declaration of 'XKeycodeToKeysym' was here
[Code]....
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 am trying to launch the perl config, but when I do so I can an weird error.It seems to be that it does not regonize perl ?
conf.pl: line 11: =: command not found
conf.pl: line 19: my: command not found
conf.pl: line 20: syntax error near unexpected token `{'
[code]...
my error when trying to run a VB (Virtualbox). Error as copied from error box. install the virtualbox-ose-modules package for your kernel and execute 'modprobe vboxdrv' as root. VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
[code]...
I get this when trying to launch a VB after making one with wizzard.
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)
I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.
View 5 Replies View RelatedI'm trying to install some wireless drivers, but apparently I don't have a /lib/modules/<kernel>/build directory, which is causing the Makefile to throw an error. Is there a specific place I should point the Makefile at?
View 9 Replies View RelatedNFS means Network File System, right? If so, it is not needed for most users. I donot understand why those modules are started automatically in Jessie. How can i safely remove those module(s) ?
View 2 Replies View RelatedTo start off with, I'll put the information as best I can that I think would help everyone figure out what it is that I want to do:My Laptop is a Dell Inspiron 1545I have a Broadcom BCM4312 802.11b/g (rev. 01) Wifi Driver (according to lspci)Take care, I already have it working!I installed the driver for it (as best I could) from I am running Debian 5.08 Lenny amd64My wireless internet works via the instructions from My question is how I can set it up so that every time I boot, I don't have to run:modprobe ieee80211_crypt_tkipinsmod wl.koIn the terminal (after using su and then going to the folder that contains the wl.ko file).
I've been trying to find this on the internet, but it seems that I have been unlucky in that department. This is the first time in about 6 years I've used linux (back in high school I tinkered with Slackware, Gentoo, and Vector, recently tried openSUSE but I've always been curious to try out Debian).
Howto check from the command line which modules were loaded after Lenny restart?
View 2 Replies View RelatedTonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
I have to load the ip_conntrack modules every time I reboot. How do I get the iptables modules to load automatically at boot. It seems they are supposed to auto load when they are needed but they are not doing that. I have to do modprobe on them. also does anyone know where I can download all the modules available for iptables? I looked on the netfiler site and did not learn much.
View 1 Replies View RelatedI have installed an images using debbootstrap command. The problem is there is no module in /lib/modules.For example I have installed lm-sensors but when I run sensors-detect, in the middle of detection I get these:FATAL: Could not load /lib/modules/2.6.32-24-server/modules.dep: No such file or directoryFailed to load module i2c-piix4
View 6 Replies View Relatedi want to do is dual boot windows, Slackware, and Debian. I don't care if i use lilo or grub, they are both equally familiar to me, just above nort. i have made attempts at editing the lilo.conf file, which said it had warnings but i didn't know how to view the warnings. It made it so i could select it, but when i did it booted the slack kernel with debian with no modules. get slack, debian and windows all running on my machine the way they're intended?
View 5 Replies View RelatedI have a dedicated server. It doesn't have any GUI (gnome or something like that), so i need to use terminal, which is hard for a non-advanced user. So i have a few questions:I'm hosting a CS server and a few other servers later on. But right now only CS server. With it i need to start another perl window, which updates the stats to the website and database.So how can i start both server, that program and maybe use the console at the same time?Another question is: when i quit the server, it automatically restarts. How can i just kill the process? I don't want to restart my server every time i want to shut down the CS one.
About perl: how can i install per modules and how can i know the translations of perl modules from windows to linux names?And is there any firewalls by default clean installation, which might 27500 port and any connections trough 3306 to the database on my web server? If no, how come, that my program is unable to connect to my website database?Will my own email server take a lot of resources? Which only i would use and wouldn't receive much mail? And are there any guides how can i do that?Will a web server, which wouldn't take much visitors each day take a lot of resources?