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.

learn more… | top users | synonyms

0
votes
3answers
203 views

RedHat - Can't install a Perl module (CPAN)

I'm not able to install a perl module: [root@xxx]# cpan Module::Find [...] CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build C/CR/CRENZ/Module-Find-0.12.tar.gz Checking if your kit is ...
0
votes
2answers
59 views

How do I uninstall/remove CPAN?

Is there a way to completely remove CPAN from my machine? I tried searching Google for a way to do this, but all of the results are focused around uninstalling the modules.
1
vote
2answers
383 views

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 ...
0
votes
1answer
301 views

Cannot install Perl module Authen::Libwrap

I'm getting this error when trying to install. How can I install it? Webmin depends on it. [root@ip-172-31-15-65 home]# cpan Authen::Libwrap CPAN: Storable loaded ok (v2.20) Going to read ...
0
votes
2answers
67 views

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
0
votes
0answers
76 views

Can't get locally installed CPAN to read modules for installation on server with no internet

I've been wrestling with getting Bugzilla installed on an airgapped (absolutely no internet connection) server for months now. I've made many different attempts to install cpan, and strangely most of ...
1
vote
2answers
146 views

How do I build and configure a local CPAN module repo?

I'm a sys admin administering three air gapped (zero internet access) supercomputers. On one of the supercomputers we need to run Bugzilla. I already built my own local yum repository, but now I ...
1
vote
0answers
189 views

Getting errors from local CPAN configuration on server with no internet

I've been wrestling with getting a local CPAN installed and configured on a CentOS server with no internet access. What I've done so far is this: 1) Made a full rsync of a CPAN directory onto an ...
0
votes
1answer
738 views

cpan perl module warning error

Trying to install multiple perl modules. I've already installed cpan and perl via yum on the centos 6 64bit box I get similar errors as below. CPAN.pm: Going to build G/GA/GAAS/URI-1.60.tar.gz ...
0
votes
4answers
2k views

Removing perl module installed with cpanm

I am Perl beginner. I wanted to use Log::Log4perl module as I am familiar how it works in Java. I used cpanm script to download module, but I ran it without "sudo". Then it installed this module to my ...
4
votes
3answers
183 views

Is it good practice to just copy Perl modules via RPM?

A few applications on our RHEL6 servers depend on a few Perl modules being present. I would like to add these Perl modules as part of the Kickstart process when turning up new hosts. As opposed to ...
0
votes
2answers
451 views

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 ...
1
vote
1answer
119 views

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 ...
3
votes
1answer
387 views

Cpan/m fails to install Cache::Cache because of method “set_size”

just starting out with perl (trying to get an Request Tracker install working): For some reason I can't install Cache::Cache! (or rather the tests are failing): Notes: perl 5.8.8 on CentOS 5.8 Final ...
1
vote
4answers
2k views

Silent and scripted install of CPAN and Perl modules?

I need to install CPAN and some Perl modules automatically in a Scientific Linux (RHEL) installation script. Unfortunately the specific modules I want (at least one of them) cannot be found as RPM:s ...
2
votes
1answer
670 views

Can't install CGI module

I am having trouble having installing CGI module in Amazon EC2 Linux AMI. During the CPAN install process it fails. # Failed test 'write access to CGItest revoked' # at t/tmpdir.t line 30. ...
1
vote
0answers
265 views

File::Temp version 0.18 required--this is only version 16

I ran YUM on a server running BestPractical's RT. Now Apache won't start. Looking at the error log I get this error: File::Temp version 0.18 required--this is only version 0.16 at ...
1
vote
2answers
2k views

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 ...
2
votes
1answer
255 views

Can I safely delete the .cpanm/work directory?

I've used cpanm to install cpan perl modules on my system, however the .cpanm/work directory is 100's of megs and I'd like to delete it. Can I delete this directory without adversely affecting my ...
2
votes
2answers
4k views

How do you configure Perl CPAN in Solaris?

I can't seem to get CPAN installs working on a Solaris machine. Here is my current output. ~# perl -MCPAN -eshell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules ...
1
vote
4answers
405 views

How can I check the location of perl and CPAN files?

I constantly have to set up new servers for an employer of mine for an exact purpose of his, and as such they all have to be set up in exactly the same way. So I've created a script in PHP that I run ...
1
vote
5answers
3k views

Unable to install Perl Crypt::OpenSSL::RSA module, please help

I spent several hours but unable to install CPAN Crypt::OpenSSL::RSA module. It's required for Postfix's dkimproxy add-on. What I do is to run the following command in the shell: $ perl -MCPAN -e ...
1
vote
2answers
326 views

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 ...
1
vote
2answers
2k views

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 ...
0
votes
2answers
200 views

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 ...
2
votes
5answers
7k views

Force CPAN to download via HTTP

I'm about to lose my mind. How in the world do you tell CPAN to download via HTTP only? ...and NOT via a proxy.
2
votes
3answers
4k views

cpan modules search from the command line?

If I'm not wrong the first step to start with the command line with cpan is next # perl -MCPAN -e shell but I don't know what I should do for looking a module, can you help me, what should I write ...
0
votes
1answer
153 views

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 > ...
0
votes
1answer
204 views

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 ...
0
votes
1answer
62 views

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 ...
4
votes
2answers
7k views

CPAN fails to install DateTime module

I tried to install the Perl DateTime module by running "cpan" and typing "install DateTime" at the prompt. After a lot of processing and printing I got this message: Compilation failed in require at ...
1
vote
2answers
130 views

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. Geting ...
0
votes
1answer
517 views

Troubleshoot Perl module installation on Mac OS X

I'm trying to install the Perl module Set::IntervalTree on Mac OS X. I recently installed it today on an Ubuntu box with no problem. I simply started cpan, entered install Set:IntervalTree, and it all ...
0
votes
1answer
2k views

Cannot fetch files from CPAN

I try load modules from CPAN, but it fails something wrong with my configuration of CPAN, by I can't figure out what is cpan> install Bundle::CPAN CPAN: Storable loaded ok CPAN: LWP::UserAgent ...
1
vote
2answers
1k views

CPAN installer for Puppet can't find relationship target

Based on some code from this blog and in the comments I'm trying to define some simple CPAN install functionality for Puppet, and I'm trying this: class perl { define install-cpan () { exec { ...
1
vote
1answer
904 views

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 ...
1
vote
1answer
391 views

What is the 'best practice' for installing perl modules on Solaris/OpenSolaris?

I'm currently in the process of writing setup instructions for some software I've written that is implemented as a set of Perl modules. Having done this for various flavours of Linux, I'm now doing ...
0
votes
4answers
3k views

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 ...
1
vote
1answer
2k views

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 ...
1
vote
0answers
258 views

Building perl cpan B::Size with perl 5.10

I'm trying to install B::TerseSize (used with Apache::Status for memory debugging). The build fails on the B::Size dependency when building with perl 5.10 (.0 and .1) Does anyone know how I can build ...