Questions tagged [cpanm]

cpanm - Manages Perl library dependencies

cpanm

121 questions
1
vote
2 answers

Perlbrew libs management

I have installed perlbrew and installed two Perls with it. Now I am trying to separate libraries for modules I install with cpanm. I want (if possible) to switch to one Perl (within Perlbrew) (for example: 5.22.4) and once I call cpanm install…
Arsenii
  • 655
  • 1
  • 8
  • 20
1
vote
2 answers

Cpan Install - No Bareword Allowed (windows)

I've inherited a project in Perl - an environment I know very little about. Nobody else knows anything about it either and nobody knows how to even get it running natively. So the project is developed by using a cloned VM of the AWS instance, and…
Josh Dredge
  • 107
  • 1
  • 1
  • 10
1
vote
2 answers

How to replace cpan Perl utility P5NCI with FFI:Platypus

Below is perl code which calls P5NCI::load_func to load function load_library having signature as int load_library(int dummy), hence third argument is passed as ii to P5NCI::load_func my $library_path = P5NCI::find_lib( 'ESNMP.so' ); …
Ami
  • 233
  • 2
  • 9
1
vote
2 answers

ansible cpanm doesn't find modules - 'NoneType' object is not iterable

I'm trying to install multiple Perl-Modules using ansible community.general.cpanm: - name: Install perl packages debug: msg: "{{ item }}" loop: "{{ imperia__cpan_packages }}" - name: Install perl packages cpanm: name: "{{ item }}" …
feumw
  • 151
  • 9
1
vote
0 answers

cpanm force install fails to Build and test Alien::OpenSSL on WSL

I am new to perl and I have having some trouble installing some packages on my WSL2 Ubuntu20.04 distro. The comand that I am runnig on my machine is: sudo cpanm --force Net::RFC3161::Timestamp Output of the code is: --> Working on…
Indiano
  • 684
  • 5
  • 19
1
vote
1 answer

Fail in installing DBD::mysql in Mac using cpanm

I am constantly failing in installing DBD::mysql. The command I used was: brew install mysql cpanm DBD::mysql The error I got was: --> Working on DBD::mysql Fetching http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz ...…
JEJI
  • 49
  • 5
1
vote
1 answer

Failing to install VEP dependencies

I'm trying to install VEP, but am getting stuck installing its dependencies. I try to install as suggested here https://www.ensembl.org/info/docs/tools/vep/script/index.html cd ~/bin git clone https://github.com/Ensembl/ensembl-vep.git cd…
Mike
  • 921
  • 7
  • 26
1
vote
0 answers

CPANM Couldn't find module or a distribution String::CRC32

I am trying to install String::CRC32 lib within Strawberry portable Perl version. It works on my local PC using: portableshall.bat cpanm String::CRC32 However I am not able to install it on the server. I become WARNING when executing…
Dana
  • 107
  • 9
1
vote
2 answers

cpan App::cpanminus fails with multiple errors: "Giving up parsing your /Users/foo/.cpan/sources/modules/02packages.details.txt.gz, too many errors"

I am trying to install App::cpanminus Perl module using cpan App::cpanminus. I am getting the following errors. How can I fix the errors and install the module? % cpan App::cpanminus Reading…
Timur Shtatland
  • 12,024
  • 2
  • 30
  • 47
1
vote
1 answer

Cant install Net::Pcap with cpan/cpanm on Linux

I am trying to install the module Net::Pcap. Here is what I have done: [nick@void ~]$ cpanm Net::Pcap --> Working on Net::Pcap Fetching http://www.cpan.org/authors/id/S/SA/SAPER/Net-Pcap-0.18.tar.gz ... OK Configuring Net-Pcap-0.18 ... OK Building…
Nicholas Hubbard
  • 527
  • 2
  • 15
1
vote
0 answers

Strawberry perl on Windows won't run anymore

Suddenly, my Strawberry Perl on Windows 10 says "This app can't run on your PC." I have a 64-bit Lenovo laptop. I reinstalled the latest 64-bit Strawberry perl, and it still doesn't run in the same way. Then I installed the 32-bit version. Now…
Manu
  • 141
  • 3
1
vote
1 answer

Missing Devel::Peek module

My Perl has a missing Devel::Peek nodule. # cpanm B::COW --> Working on B::COW Fetching http://www.cpan.org/authors/id/A/AT/ATOOMIC/B-COW-0.004.tar.gz ... OK Configuring B-COW-0.004 ... OK ==> Found dependencies: Devel::Peek skipping…
Ωmega
  • 42,614
  • 34
  • 134
  • 203
1
vote
2 answers

Installing a patch for a dependent module: cpanm still tries to install broken module after I have installed patched module manually

I am trying to install Net::SSH::Perl using cpanm (from perlbrew and perl version 5.30). The installation fails with: $ cpanm Net::SSH::Perl --> Working on Net::SSH::Perl Fetching http://www.cpan.org/authors/id/S/SC/SCHWIGON/Net-SSH-Perl-2.14.tar.gz…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
1
vote
1 answer

What is the right way to install IO::Socket::SSL using Carton and custom LibreSSL/OpenSSL

Perl framework Mojolicious uses optional module IO::Socket::SSL for secured connections. Mojolicious and IO::Socket::SSL must be installed using Carton (cpanfile contains dependencies list). In order to use IO::Socket::SSL I need to have Net::SSLeay…
xcodejoy
  • 50
  • 9
1
vote
0 answers

Using ULMS:Similarity perl - Access denied for mysql user

I'm getting a simple error but I don't know how to solve it. While performing make test on this perl package (Linux) https://metacpan.org/pod/UMLS::Interface: DBI connect('umls;mysql_read_default_group=client;','',...) failed: Access denied for…
jonb
  • 845
  • 1
  • 13
  • 36
1 2 3
8 9