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.

51 questions
3
votes
1 answer

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 (x86_64, 2.6.18-308.13.1.el5), Apache 2.2.23 (I've…
2
votes
1 answer

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 --> Working on WWW::Mechanize Fetching…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
2
votes
1 answer

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 installed in Ubuntu's default perl(5.18.2). I've…
Sarge888
  • 23
  • 1
  • 5
2
votes
1 answer

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/.cpan/Metadata' Database was generated on Sat, 05…
Chloe
  • 1,164
  • 4
  • 19
  • 35
2
votes
0 answers

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 external hard drive 2) I then rsync'd it to…
Lynn
  • 299
  • 6
  • 16
2
votes
2 answers

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 installation (v1.7601) ReadLine support available…
cmcginty
  • 1,303
  • 15
  • 24
2
votes
1 answer

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 are the install logs. What am I doing wrong…
Maca
  • 1,043
  • 2
  • 19
  • 30
2
votes
1 answer

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/site_perl/5.8.8/MIME/Tools.pm line 14. I ran CPAN…
David Mackey
  • 697
  • 2
  • 15
  • 30
2
votes
4 answers

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 from my own box to automatically send over all…
Rob
  • 2,393
  • 9
  • 33
  • 52
2
votes
2 answers

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 { "cpan_load_${name}": command => "perl -I.cpan…
runrig
  • 143
  • 6
2
votes
1 answer

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 the same for Solaris/OpenSolaris (v10 only). Part…
AndrewR
  • 442
  • 3
  • 10
2
votes
1 answer

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 properly, like Please install Net::SSLeay if you…
user312442
  • 21
  • 5
1
vote
0 answers

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 specifically to prevent the CPAN modules from…
1
vote
1 answer

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 + SpamAssassin installed. I receive emails signed with DKIM…
Raphael Laurent
  • 219
  • 1
  • 6
  • 17
1
vote
4 answers

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 complete... Looks good CPAN::Meta::YAML 0.011 is not…
Bob Sauvage
  • 21
  • 1
  • 1
  • 6