Questions tagged [cpanm]

cpanm - Manages Perl library dependencies

cpanm

121 questions
1
vote
2 answers

Error while Installing Math::Pari

I'm trying to install Math::Pari module but getting error. I'm installing on Windows Server 2012R2, I've Strawberry perl v5.18.4.1 32-bit currently installed on it. Actually Math::Pari is dependency for Net::SSH::W32Perl and I want to install that…
Prashant Deore
  • 57
  • 1
  • 10
1
vote
1 answer

Failed to install Proc::Daemon on Ubuntu 14.10

I am trying to install Proc::Daemon on Ubuntu 14.10 (Perl v5.20) : $ cpanm Proc::Daemon --> Working on Proc::Daemon Fetching http://www.cpan.org/authors/id/A/AK/AKREAL/Proc-Daemon-0.20.tar.gz ... OK Configuring Proc-Daemon-0.20 ... OK Building and…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
1
vote
1 answer

Installing cpanm in a bash script

I'm writing a script that installs and configures Nagios to my requirements. It requires cpanm and some perl modules. It's using the step/try/next function from here: https://stackoverflow.com/a/5196220 step "Downloading cpanm installer" try `wget…
andys
  • 11
  • 4
1
vote
1 answer

CPAN install into temp directory?

I'm trying to install quite a few modules from CPAN into a temporary directory. This is purely to place quite a few of them into a directory that I can then create a custom RPM out of. The rpm will then later be used on new installs as a bootstrap…
Ian
  • 13,724
  • 4
  • 52
  • 75
1
vote
1 answer

automatic response to cpanm prompt

I am installing perl module Bio::DB::Sam. Shortly, installer asks me to locate bam.h and libbam.a files: --> Working on Bio::DB::Sam Fetching http://www.cpan.org/authors/id/L/LD/LDS/Bio-SamTools-1.39.tar.gz ... OK Configuring Bio-SamTools-1.39 ...…
Perlnika
  • 4,796
  • 8
  • 36
  • 47
1
vote
2 answers

Unable to install HTML::TreeBuilder::XPath with cpanm

I'm trying to install HTML::TreeBuilder::XPath as user. but I get this error : Building and testing HTML-Parser-3.71 ... FAIL ! Installing HTML::Entities failed. See /home/user/.cpanm/build.log for details. So if I take a look at this file…
Antoine
  • 355
  • 2
  • 12
1
vote
1 answer

cpanm fails to install module; gives usage message

tyler@tyler:~$ cpanm −−local−lib HTML::Parser Usage: cpanm [options] Module [...] Try `cpanm --help` or `man cpanm` for more options. Why is it giving me a usage message? I copy-pasted that command straight from Intermediate Perl (page 23).…
Tyler
  • 2,579
  • 2
  • 22
  • 32
0
votes
1 answer

error in running cpanm --installdeps on ubuntu 18.04

I'm trying to intall defects4j on ubuntu 18.04. but when I run the command:cpanm --installdeps . I get errors on jason and DBD. faeze@ubuntu:~/defects4j$ cpanm --installdeps . --> Working on . Configuring /home/faeze/defects4j ... OK ==> Found…
faeze
  • 11
  • 1
0
votes
1 answer

Is there a way to save off the binary artifacts from a cpanm installed module for distribution to like systems?

I am creating an image in wsl with scripting starting from a base Amazon Linux2 import. The following is some of the scripting. The {{THIRDPARTYCACHE}} label is replaced with a path to persistent storage, persistent in that it survives through…
mikedoy
  • 117
  • 1
  • 6
0
votes
1 answer

trouble installing perl module with cpanm

I'm trying to install Vcf.pm from CPAN and am having no luck. Part of the problem is that I can't get cpanm to work. This is where I started: https://metacpan.org/pod/release/AJPAGE/Bio-Pipeline-Comparison-1.123050/lib/Vcf.pm The Install…
mcrepeau
  • 23
  • 2
  • 5
0
votes
2 answers

How to cpan install from a local source [Linux::Inotify2]

Trying to install Linux::Inotify on Fedora Core 6 x86 machine which ends up in failure. Looks like the kernel which is below 2.6.36 doesn't support IN_EXCL_UNLINK. This causes the issue in installation. So I have modified the source code and tried…
0
votes
1 answer

Cpanm Ansible with List

Recently been trying to get get Ansible working with Cpanm. I have read https://docs.ansible.com/ansible/2.5/modules/cpanm_module.html and been able to install one perl module using the code below: # install Dancer perl package - cpanm: name:…
Vacation
  • 35
  • 7
0
votes
1 answer

wxPerl install on Mac

I've been able to install wxWidgets on my Mac and use wxPython just fine, but now that I'm trying to use Perl, I need to download wxPerl. I tried to install and the install failed, and I'm not sure what went wrong or how to fix it. Can you help?…
0
votes
1 answer

Why is cpanminus installed using a single dash argument to the Perl interpreter?

When looking at Cpanminus, I saw that one way to install it is the following: curl -L https://cpanmin.us | perl - App::cpanminus The first part downloads a file from the URL which can be interpreted by the Perl interpreter, and then pipes it to…
Stephen
  • 8,508
  • 12
  • 56
  • 96
0
votes
1 answer

Download XML::LibXML and its dependencies

I want to install XML::LibXML (among others) on a Linux machine with no internet and no root access. My current solution is to download XML::LibXML and its dependencies from Windows, with strawberry perl, then install them on my linux machine. But…
mikedu95
  • 1,725
  • 2
  • 12
  • 24
1 2 3
8 9