cpanm - Manages Perl library dependencies
Questions tagged [cpanm]
121 questions
2
votes
2 answers
x86_64-conda_cos6-linux-gnu-gcc: not found
I cannot install modules using cpanm inside conda.
cpanm --force Math::CDF
--> Working on Math::CDF
Fetching http://www.cpan.org/authors/id/C/CA/CALLAHAN/Math-CDF-0.1.tar.gz ... OK
Configuring Math-CDF-0.1 ...…

user1532587
- 993
- 1
- 14
- 39
2
votes
1 answer
How can cpanm retrieve settings for a proxy that requires username and password
I'm working with CPANM to interact with a proxy that requires username and password. I specified the settings when running "o conf init /proxy/ under cpan". My perception is the variables used in a unix environment for specifying proxies are not…

ffejrekaburb
- 656
- 1
- 10
- 35
2
votes
1 answer
Trying to force CPAN to install in specific directory for Strawberry Perl
I have a strawberry perl installation (v. 5.16.3) on a windows production box. I assume that many moons ago, somebody installed it on the C: drive and then just moved it to D:. I don't know, I wasn't there, however it works fine except when I'm…

FrankRalphBob
- 434
- 4
- 14
2
votes
2 answers
perlbrew perl cpanm faulty
I installed a module under cpanm, apparently incorrectly. It is visible and usable when running under system perl, but not under perlbrew. However, perlbrews cpanm is stating that module has been successfully installed. Best steps to…

paulj
- 327
- 1
- 9
2
votes
1 answer
"cpanm PHP" fails
What should I change in order to install the module? php is 5.3.3 withyum install php-devel in place.
PHP.c: In function ‘PHP_set_php_input’:
PHP.c:818: warning: passing argument 2 of ‘Perl_sv_2pv_flags’ from incompatible pointer…

mpapec
- 50,217
- 8
- 67
- 127
2
votes
1 answer
cpanm self-upgrade choking due Windows style 8.3 format path to site/bin
PS> cpanm --self-upgrade
You are running cpanm from the path where your current perl won't install executables to.
Because of that, cpanm --self-upgrade won't upgrade the version of cpanm you're running.
cpanm path :…

Sundar R
- 13,776
- 6
- 49
- 76
2
votes
1 answer
How to update perl module with cpanm
I try to install/update Perl module with cpanm. But, it failed for every modules.
for example:
cpanm Config::General
--> Working on Config::General
Fetching http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-2.56.tar.gz ... OK
Configuring…

Rémi Maglione
- 65
- 7
2
votes
1 answer
Perl Windows CPANM proxy issue
After solving a few issues, I've Succeeded with CPAN on my Work Windows 7 Machine with DwimPerl via perl -MCPAN -e shell and o conf init /proxy/
ftp:
http: http://192.168.1.1:8080
no:
Username: Chris@work
Password: SuperDeDuperSecretPassword
CPAN…

WernerCD
- 2,137
- 6
- 31
- 51
2
votes
2 answers
CPAN module installation problems
I have installed cpan module by cpan install semantics3 and cpanm install semantics3 but still it is throwing error like this
Can't locate Net/Semantics3.pm in @INC (you may need to install the Net::Semantics3 module) (@INC contains: /etc/perl…

Maria Shilva
- 71
- 7
2
votes
1 answer
How to install Perl modules with dependencies offline on Windows and Strawbery Perl?
I need to install Strawberry Perl and many Perl modules (with dependencies) on a Windows machine without the access to the internet (for security reasons).
Offline installation of Strawberry Perl works perfectly, but I did not manage to install…

dedek
- 7,981
- 3
- 38
- 68
2
votes
2 answers
CPAN modules installed locally by cpan/cpanm cannot be used without manual intervention
I have packaged my app as a Perl module, which fails to install using the cpan or cpanm commands. The problem is that these commands - when not run as root - install the prerequisite modules into the ~/perl5 directory. However, my ~/perl5 directory…

Jaap Joris Vens
- 3,382
- 2
- 26
- 42
2
votes
1 answer
Can't install Bioperl Module (properly?)
I am not able to install a BioPerl Module via cpanm. With
sudo cpanm Bio::SeqIO
The output says:
--> Working on Bio::SeqIO
Fetching http://www.cpan.org/authors/id/C/CJ/CJFIELDS/BioPerl-1.6.922.tar.gz ... OK
Configuring BioPerl-1.006922 ...…

user3401516
- 103
- 10
2
votes
1 answer
Dancer App on Heroku - failing to deploy because cpanm installation
I'm attempting to recreate a minimal example of a Dancer app deployed on Heroku as demonstrated by deploying-a-dancer-app-on-heroku.md Unfortunately, my deployment is failing with the installation of cpanm, and specifically version.
Here are the…

Miller
- 34,962
- 4
- 39
- 60
2
votes
1 answer
Perl cpanm failing to install modules due to lack of usr/local/man/man3 write permission
I'm using cpanm and local::lib to install modules on a Pair.com Ubuntu VPS box. Shell access but no root access. The modules are going to ~/perl5. The installed Perl is 5.10.1.
Install of both Module::Build::Tiny and Class::Method::Modifiers…

Bill Ruppert
- 8,956
- 7
- 27
- 44
1
vote
3 answers
docker build fails when running cpanm
In docker container I have a perl script and I need to be able to parse json I tried to have CPAN JSON installed for perl in my Dockerfile.
So I am doing the following in my Dockerfile
FROM centos:7.9.2009
RUN yum install -y cpanm \
perl \
…

Jim
- 3,845
- 3
- 22
- 47