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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
74 views

how to create a script shell command

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
216 views

IO::Socket::SSL "out of memory" installation error

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
772 views

Can't run CPAN due to missing modules (but they are there!)

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
238 views

StrawberryPerl 5.32.0.1 & Tk CPAN error: Undefined reference to MAX

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
  • 107
2 votes
1 answer
773 views

WWW::Mechanize Perl module won't install on server

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,134
5 votes
3 answers
2k views

How to do an unattended / silent CPAN install / setup

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

Trying to add CPAN Perl Modules to mod_perl on Apache CentOS 7

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

CPAN is using old perl version to install modules

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 perl module Crypt::OpenSSL::AES [closed]

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
473 views

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

GnuPG::Interface fails to install on CentOS 7

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

Spamassassin DKIM DNS issue

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
27k 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 ...
Bob Sauvage's user avatar
3 votes
2 answers
11k 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.
norway-firemen's user avatar
2 votes
1 answer
7k 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 '/root/....
Chloe's user avatar
  • 1,174
0 votes
2 answers
8k 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 ...
Jim Balo's user avatar
  • 270
2 votes
0 answers
2k 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 ...
Lynn's user avatar
  • 299
4 votes
1 answer
11k 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 ...
user avatar
5 votes
2 answers
3k 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 ...
Lynn's user avatar
  • 299
6 votes
3 answers
987 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 ...
network-tech's user avatar
0 votes
2 answers
3k 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 ...
kernel_panic's user avatar
1 vote
1 answer
912 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 ...
Cebjyre's user avatar
  • 293
3 votes
1 answer
948 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 (...
NOTjust -- user4304's user avatar
2 votes
1 answer
4k 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. Here ...
Maca's user avatar
  • 1,063
2 votes
1 answer
679 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 /usr/lib/perl5/...
David Mackey's user avatar
1 vote
2 answers
5k 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 I ...
Athiruban's user avatar
  • 176
4 votes
1 answer
3k 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 ...
user12345's user avatar
  • 173
2 votes
4 answers
13k 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 ...
Rob's user avatar
  • 2,433
1 vote
2 answers
951 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 /usr/lib/...
Alexander Abramovich's user avatar
1 vote
2 answers
5k 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 http://www.cpan.org/authors/...
azec-pdx's user avatar
  • 205
6 votes
5 answers
16k 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 ...
azec-pdx's user avatar
  • 205
0 votes
2 answers
232 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
sdot257's user avatar
  • 3,069
11 votes
5 answers
17k 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 ...
Mikael Grönfelt's user avatar
0 votes
2 answers
287 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 ...
Face429's user avatar
4 votes
3 answers
16k 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 ...
arrrrgv's user avatar
  • 181
1 vote
1 answer
419 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 > ...
Alos Diallo's user avatar
2 votes
2 answers
3k 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 ...
merlin's user avatar
  • 2,152
1 vote
1 answer
2k 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 ...
Russell C.'s user avatar
5 votes
2 answers
8k 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 ...
Russell C.'s user avatar
4 votes
5 answers
2k views

installing lots of perl modules

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
711 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 ...
Daniel Standage's user avatar
0 votes
1 answer
5k 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 ...
oraz's user avatar
  • 145
2 votes
2 answers
2k 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 { "...
runrig's user avatar
  • 143
1 vote
1 answer
1k 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 ...
Stefan Lasiewski's user avatar
2 votes
1 answer
757 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 ...
AndrewR's user avatar
  • 442
1 vote
1 answer
3k 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 ...
Alos Diallo's user avatar
4 votes
5 answers
20k views

Force CPAN to download via HTTP (skipping proxy)

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

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

Eror installing Perl Crypt::OpenSSL::RSA module

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