cpanm - Manages Perl library dependencies
Questions tagged [cpanm]
121 questions
3
votes
1 answer
Why won't cpanm install dependencies?
I'm trying to install PAR from cpanm like so: cpanm App::Packer::PAR, but it's giving me this error:
skipping R/RJ/RJBS/perl-5.22.0.tar.bz2
! Installing the dependencies failed: Module ExtUtils::Embed is not installed
! Bailing out the installation…

bsmedley
- 33
- 1
- 4
3
votes
2 answers
Modules install successfully but cannot be found
I am wondering why I get "Installing the dependencies failed: Module 'Module::Name' is not installed" even when dependency is has been installed. I am using perlbrew and cpanm. Here is an example of what happens with many modules that I try to…

Hamster
- 680
- 7
- 23
3
votes
4 answers
Error locating modules using perlbrew and cpanm
I want to use perlbrew and cpanm on my machine. I installed perlbrew like this
curl -L http://install.perlbrew.pl | bash
and sourced ~/perl5/perlbrew/etc/bashrc in my .bashrc. Next I installed perl v5.21.5 and switched to this version.The which…

Timelimelim
- 176
- 1
- 11
3
votes
1 answer
cpanm -L broken?
According to the man page,
cpanm -L extlib Plack # install Plack and all non-core deps into extlib
So I tried to install Parallel::ForkManager like so:
# cpanm -L extlib Parallel::ForkManager
==> Found dependencies: ExtUtils::MakeMaker
--> Working…

Marseille07
- 107
- 1
- 8
3
votes
2 answers
Can't locate Spreadsheet/ParseExcel.pm in @INC though it's seems to be installed
Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .)
though it's…

Bruno Gelb
- 5,322
- 8
- 35
- 50
2
votes
1 answer
Error when installing List-SomeUtils from cpan
I seem to get an error when trying to install from cpan
cpan List::SomeUtils
Perl v5.14.2
I have also downloaded direct from metacpan and doing a perl Makefile.pl and make but make test fails with the same error. Also with cpanm.
My Google foo is…

Ian
- 13,724
- 4
- 52
- 75
2
votes
1 answer
cpan says App::cpanminus is up to date but cpanm doesn't come up in /usr/bin
SHORT QUESTION
I've installed cpanm on Mac mini G4 Leopard 10.5.8 with perl-8.8.8 using /usr/bin/cpan -i App::cpanminus and then **sudo** /usr/bin/cpan -i App::cpanminus It said App::cpanminus is up to date. but no cpanm is available in /usr/bin or…

Terry
- 1,206
- 1
- 10
- 26
2
votes
1 answer
How to install Carton module into local project with perlbrew?
I use perlbrew to easy switch between perl.
I use Carton to install modules only for current project into /local directory.
But when I deploy application on new host.
I do:
perlbrew install -v -j 8 --notest --switch perl-5.30.3
perlbrew…

Eugen Konkov
- 22,193
- 17
- 108
- 158
2
votes
0 answers
Install Perl modules using conda and App::cpanminus
I am using conda where possible to install packages on Ubuntu and macOS. I keep packages in separate conda environments, to better manage dependencies. How to install Perl plus common non-core Perl modules using conda as much as possible? Obviously,…

Timur Shtatland
- 12,024
- 2
- 30
- 47
2
votes
2 answers
How to force cpanm to use HTTPS insted of Using HTTP for installing dependencies
Hi I am trying to install perl modules using cpanm.But my firewall is not letting the cpanm to use http.
Even when I am forcing it to use https using the --mirror option, its still uses http to install the dependencies. How can i force cpanm to use…

Pratheesh
- 565
- 4
- 19
2
votes
1 answer
How to fix Perl from anaconda not installing bioperl? `Bailing out the installation for BioPerl-1.007002.`
I am using conda to install several packages. I already installed Perl under conda and is the one working in this machine (running Ubuntu 18.04). Now I am trying to use a script that requires bioperl.
I tried to update conda, install bioperl…

Andrés Parada
- 319
- 7
- 21
2
votes
1 answer
Perl cpanm: Cannot install DB_File
I am trying to install the Perl package Vcf, which has a LOT of dependencies. One of these dependencies DB_File will not install.
con@VB:~$ cpanm DB_File
--> Working on DB_File
Fetching http://www.cpan.org/authors/id/P/PM/PMQS/DB_File-1.852.tar.gz…

con
- 5,767
- 8
- 33
- 62
2
votes
1 answer
Perl: How to deal with a duplicated modules installation?
I'm new with Perl and stumbled on a doubled modules installation.
I made a fresh installation of Strawbery Perl on Windows 10. After that, I tried to update all modules at once by using a command proposed in this answer; :
cpan-outdated -p |…

Miroslav Popov
- 3,294
- 4
- 32
- 55
2
votes
1 answer
Install modules with perlbrew and cpm - perlbrew switch does not change @INC during docker build
I'd like to use fast cpm module installer instead of cpanm in my projects.
Also I install target perl version using perlbrew.
According documentation of cpm -g option will install modules into current @INC
How to force perlbrew change @INC in…

Paul Serikov
- 2,550
- 2
- 21
- 36
2
votes
1 answer
cpanm not finding newer version in local mirror
I created some proprietary Perl modules I can't share so I put them into a local "darkpan" with orepan2. Here is the beginning of 02packages.details.txt.
[~] $ gunzip -c darkpan/modules/02packages.details.txt.gz
File: …

Lawrence I. Siden
- 9,191
- 10
- 43
- 56