Skip to main content

Questions tagged [cpan]

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.

0 votes
1 answer
105 views

Hi evry one can someone help me to get this command with scrit shell ? root@VPS:/work# cpan Loading internal logger. Log::Log4perl recommended for better logging CPAN.pm requires configuration, but ...
Rayen Ben Said's user avatar
2 votes
1 answer
328 views

I would like to install OcsInventory Unix Agent 2.8 on a Solaris 10 machine. When running the perl Makefile.PL command in the directory, it lists the modules which are required by the agent to work ...
user312442's user avatar
0 votes
1 answer
968 views

I've got a big problem with my RHEL7 Perl installation. Whenever I try to run cpan, it gives me the following error: [michael@xlinfp101 ~]$ sudo cpan [sudo] password for michael: Socket object version ...
Michael Gierer's user avatar
0 votes
1 answer
311 views

Trying to install Tk through CPAN with StrawberryPerl 5.32.0.1 and getting an error at the end. Tried both 32 & 64 bit versions and get the same error with both. Here's the output of the ...
Brent's user avatar
  • 127
2 votes
1 answer
916 views

I'm trying to work out why a Perl module won't install on my server. cpanm WWW::Mechanize It processes stuff for ages, and then eventually dies with: root@admin:~# cpanm WWW::Mechanize --> ...
Andrew Newby's user avatar
  • 1,224
5 votes
3 answers
2k views

Is there a simple, backward-compatible way to install a Perl module silently using CPAN? PERL_MM_USE_DEFAULT doesn't work for older versions that don't detect a default continent; CPAN will just loop ...
Craig Ringer's user avatar
  • 11.6k
1 vote
0 answers
1k views

I am running Apache on Centos 7. Some of the Perl modules that were not available via yum I have installed using CPAN in the custom location /export/home/www/perl5. I have used this custom location ...
Richard of Essex's user avatar
2 votes
1 answer
3k views

I installed Ubuntu earlier this weekend and had to install an updated version of perl(5.22.0) for a script I'm using. However when I used CPAN to install the modules I needed I found out that they got ...
Sarge888's user avatar
-1 votes
1 answer
1k views

I'm having trouble installing a perl module onto my server called Crypt::OpenSSL::AES I'm using cpan to try to install it but it keeps coming back with an error: Checking if your kit is complete......
RossSmith01's user avatar
0 votes
1 answer
600 views

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 ...
Joon's user avatar
  • 167
3 votes
1 answer
6k views

I'm trying to install a CentOS 7 server to run Request Tracker. By running make testdeps I can see all missing packages and make fixdeps is supposed to install this packages. There is one package that ...
Leandro's user avatar
  • 133
1 vote
1 answer
5k views

Here is the setup where I encounter my issues : My computer has the IP 10.6.2.5. There is a DNS server ns.isp6.lab with the IP 10.6.2.4 (I can reach it). My computer has Postfix + Dovecot + ...
Raphael Laurent's user avatar
1 vote
4 answers
28k views

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 ...
Bob Sauvage's user avatar
3 votes
2 answers
12k views

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.
norway-firemen's user avatar
2 votes
1 answer
7k views

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 '/root/....
Chloe's user avatar
  • 1,214
0 votes
2 answers
9k views

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 ...
Jim Balo's user avatar
  • 280
2 votes
0 answers
2k views

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 ...
Lynn's user avatar
  • 299
4 votes
1 answer
11k views

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

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 ...
Lynn's user avatar
  • 299
6 votes
3 answers
1k views

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 ...
network-tech's user avatar
0 votes
2 answers
3k views

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 ...
kernel_panic's user avatar
1 vote
1 answer
1k views

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 ...
Cebjyre's user avatar
  • 293
3 votes
1 answer
1k views

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 (...
NOTjust -- user4304's user avatar
2 votes
1 answer
4k views

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. Here ...
Maca's user avatar
  • 1,063
2 votes
1 answer
722 views

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 /usr/lib/perl5/...
David Mackey's user avatar
1 vote
2 answers
7k views

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 ...
Athiruban's user avatar
  • 176
4 votes
1 answer
3k views

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 ...
user12345's user avatar
  • 173
3 votes
4 answers
14k views

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 ...
Rob's user avatar
  • 2,543
1 vote
2 answers
1k views

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/...
Alexander Abramovich's user avatar
1 vote
2 answers
5k views

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/...
azec.me's user avatar
  • 205
6 votes
5 answers
17k views

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 ...
azec.me's user avatar
  • 205
0 votes
2 answers
294 views

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's user avatar
  • 3,089
11 votes
5 answers
19k views

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 ...
Mikael Grönfelt's user avatar
0 votes
2 answers
497 views

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 ...
Face429's user avatar
4 votes
3 answers
16k views

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 to ...
arrrrgv's user avatar
  • 181
1 vote
1 answer
451 views

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 > ...
Alos Diallo's user avatar
3 votes
2 answers
5k views

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 ...
merlin's user avatar
  • 2,262
1 vote
1 answer
2k views

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 ...
Russell C.'s user avatar
5 votes
2 answers
8k views

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 ...
Russell C.'s user avatar
4 votes
5 answers
2k views

I've been landed with the job of documenting how to install a very complicated application onto a clean server. Part of the application requires a lot of perl scripts, each of which seem to require ...
Colin Pickard's user avatar
0 votes
1 answer
754 views

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 ...
Daniel Standage's user avatar
0 votes
1 answer
5k views

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 ...
oraz's user avatar
  • 145
2 votes
2 answers
2k views

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 { "...
runrig's user avatar
  • 143
1 vote
1 answer
1k views

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 ...
Stefan Lasiewski's user avatar
2 votes
1 answer
864 views

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 ...
AndrewR's user avatar
  • 442
1 vote
1 answer
3k views

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 ...
Alos Diallo's user avatar
4 votes
5 answers
22k views

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.
syn-'s user avatar
  • 493
1 vote
4 answers
5k views

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 /...
Alex R's user avatar
  • 1,093
5 votes
6 answers
16k views

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 '...
Willy's user avatar
  • 225
6 votes
2 answers
18k views

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 ...
titaniumdecoy's user avatar