CPAN is the Comprehensive Perl Archive Network, a large collection of Perl software and documentation. It is the de facto location for finding reusable Perl modules.
Questions tagged [cpan]
51 questions
1
vote
1 answer
Is it possible to dry-run install a CPAN bundle?
I'm migrating from one server to another and using perl -MCPAN -eautobundle to work out which modules I should be bringing along.
Some modules are a bit problematic at install-time though (mainly due to relying on non-perl libraries etc), and it…

Cebjyre
- 293
- 2
- 7
1
vote
2 answers
Perl File::Copy module installation fails
I have Perl version version 5.10.1 installed in my CentOS6.0 machine.
I need to install TWiki and it needs some perl modules (see this URL)
http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide
I tried to install File::Copy module by going to…

Athiruban
- 176
- 1
- 8
1
vote
2 answers
CPAN modules installation gots into an infinite loop (CentOS)
One of my scripts ends with the following error:
Can't locate SOAP/Lite.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl…

BreakPhreak
- 149
- 1
- 1
- 8
1
vote
2 answers
What's wrong with this installation of Net::SSH2 Perl module?
I am trying to install Net:SSH2 Perl module, but I run in this error:
[root@script-server fmzbih_cms_weather_updater]# cpanm Net::SSH2
--> Working on Net::SSH2
Fetching http://www.cpan.org/authors/id/R/RK/RKITOVER/Net-SSH2-0.44.tar.gz ...…

azec-pdx
- 205
- 2
- 5
- 9
1
vote
1 answer
Not able to install Statistics::Basic on RHEL5
I am trying to install the perl module Statistics::Basic::Mode on a RHEL 5 system and am having issues.
I have tried MCPAN and RPM. Here is the result of running
sudo perl -MCPAN -e shell > output2.txt
install Statistics::Basic::Mode
Link to…

Alos Diallo
- 121
- 1
- 6
1
vote
2 answers
cpan configuration wrong - how to change?
I seem to have misconfigured spam and am now trying to change it. I read elsewhere to remove /root/.cpam, which I did but that did not help to get me the initiation dialog.
When I type into the console o config, I do get:
perl -MCPAN -e…

merlin
- 2,093
- 11
- 39
- 78
1
vote
1 answer
Help Installing Perl Module XML::Parser using CPAN
I'm trying to install the XML::Parser perl module using CPAN and can't get it to work. Below is the output that is being displayed by CPAN which appears to indicate that Expat is the issue. I've verified that the latest version of Expat is installed…

Russell C.
- 215
- 2
- 8
1
vote
1 answer
Perl, Solaris: CPAN module install failed. How can I find out why?
I'm trying to install the File::Tail module using CPAN an older Solaris 10 (SunOS 5.10) box.
I get an error when trying to install the module, but I see no indication why this failed anywhere in the CPAN output. I only see a "NOT OK" message.
I have…

Stefan Lasiewski
- 23,667
- 41
- 132
- 186
1
vote
1 answer
Need Help getting perl module DBD::mysql installed for bugzilla on RedHat
Hi everyone I am having some issues getting Bugzilla setup, I have the software on the server and am trying to get the pre-rec's setup. I am using RedHat 4.1.2-42.
I have all of the required perl modules save one:DBD::mysql
When I try:
sudo perl…

Alos Diallo
- 121
- 1
- 6
1
vote
4 answers
How to resolve these errors and install ClamAV for Perl under Ubuntu/Debian?
After successful
apt-get install clamav
I then did:
perl -MCPAN -e shell
install File::Scan::ClamAV
and got
CPAN.pm: Going to build J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz
Cannot find clamd in /root/bin (or a number of other places)
- are…

Alex R
- 1,063
- 3
- 14
- 29
0
votes
1 answer
CPAN installation proble, HTTP::Message on CentOS
I have a perl script that needs a long list of prerequisites. While installing these, I am not getting past the installation of HTTP::Message
When I run cpan HTTP::Message from the command line as root, I get the following output:
cpan…

Joon
- 147
- 3
- 8
0
votes
2 answers
Cpan module install fails
I am trying to install the Inline::MakeMaker Perl module (including Inline::C), but it fails when installing Inline::C (seems it cannot find "make", though make is installed under /usr/bin).
This is on CentOS 6 with Perl v5.18.2 (installed from…

Jim Balo
- 270
- 2
- 4
- 13
0
votes
2 answers
installing MIME::Tools fails with an error in t/Smtpsend.t
System: debian 7 x64 RC 1
Perl Version:v5.14.2
When trying to install MIME::Tools I can't get it to properly compile.
cpan[4]> install MIME::Tools
Going to read '/root/.cpan/Metadata'
Database was generated on Sat, 13 Apr 2013 01:41:02 GMT
Running…

kernel_panic
- 3
- 1
- 3
0
votes
2 answers
Is it possible to save the perl modules using cpanm?
The following commands attempts to reinstall, I just want to download w/o installing. I'm usnig Ubuntu.
cpanm Test::Fatal --save-dists saved

sdot257
- 3,059
- 5
- 30
- 39
0
votes
2 answers
How can I install a perl module available only to my user ID?
I need to install some Perl Modules for my Perl scripts. However those modules are not available on the servers I want to run the scripts on. I also do not want to mess with server wide library directories. I think it can be done by manipulating the…

Face429
- 1