Questions tagged [cpanm]

cpanm - Manages Perl library dependencies

cpanm

121 questions
1
vote
2 answers

Is there any way to find available CPAN version programmatically?

I am trying to find CPAN version programmatically, but ends up in failure. Tried with perl %Config & %ENV, but couldn't find anything there. my $cpanv = `cpan -v`; # gives: Loading internal null logger. Install Log::Log4perl for logging messages My…
1
vote
1 answer

Installing B::C with cpanm hangs?

When I install B::C with cpanm, it hangs $ sudo cpanm B::C --> Working on B::C Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/B-C-1.57.tar.gz ... OK Configuring B-C-1.57 ... OK Building and testing B-C-1.57 ... ^C
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
1
vote
1 answer

Having trouble installing DateTime on OSX Mojave

All my perl codes were working fine in the past. I got a new Mac which came with Mojave OSX Ver10.14.1. Got excited and ported in all my old stuff. Now all the scripts are failing and I am not able to install any new modules via cpan. So, after some…
Brian
  • 11
  • 2
1
vote
0 answers

Failing to start perl program because of missing modules

Okay, so I'm not familiar with perl and all I want is to run a bioinformatic tool from here on a server where I don't have root privileges. But I keep getting errors about missing modules: Perl module Archive::Extract (in core since 2007-07-07) is…
Poiu Rewq
  • 182
  • 13
1
vote
1 answer

make: i686-linux-gnu-ld: Command not found

i want to install cpanm WWW::Curl::Form on my Synology NAS. But that fails. Here is the output cpanm WWW::Curl::Form WWW::Curl::Easy File::Find::Rule String::CRC32 URI::Escape --> Working on WWW::Curl::Form Fetching…
foxxx
  • 25
  • 5
1
vote
0 answers

perl: symbol lookup error: /opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0: undefined symbol: SSLeay

I'm building a perl application inside of a docker container based on perl:5.22 which is based on debian:stretch I have used cpan to install a bunch of perl related packages. I get the following error when running an odbc_test.pl script. I haven't…
pelican
  • 5,846
  • 9
  • 43
  • 67
1
vote
2 answers

Which module do I need when I got error info "Can't locate getopts.pl in @INC..."

I run this command in my macOS $ perl ~/Desktop/blif2cnf.pl and got this error info: Can't locate getopts.pl in @INC (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18…
sirius
  • 567
  • 6
  • 26
1
vote
1 answer

cpanm does not install modules

I am a brand new perl user attempting to install perl modules and their dependencies. I am trying to install the perl dependencies I need on a fresh Ubuntu 16.10 cloud server instance but they do not register as installed. For example cpanm…
1
vote
1 answer

Installing DBD::Sybase on OS X with Homebrew fails to find freetds libraries

I am installing DBD::Sybase I receive following error, after setting export SYBASE=/usr/local/Cellar/freetds/0.95.80 and download freetds: brew install freetds Error: Configuring DBD-Sybase-1.15 ... Can't find any Sybase libraries in…
paulj
  • 327
  • 1
  • 9
1
vote
1 answer

CPAN - Specio::Constraint::Simple install error

Attempting to install Specio::Constraint::Simple, running into the following error: Can't resolve method "???" overloading "&{}" in package "Specio::Constraint::Simple" at Specio::Constraint::Simple->new line 35. Only related article I have…
Nate H
  • 322
  • 1
  • 5
  • 20
1
vote
1 answer

Can't install EV cpan module on alpine linux

While this works on debian, alpine refuses to compile (perl 5.20.3 && plenv). Modules instaled => apk update && apk upgrade apk add bash wget curl perl make g++ libev-dev patch git openssl-dev openssl How to explain relevant error from cpanm…
mpapec
  • 50,217
  • 8
  • 67
  • 127
1
vote
0 answers

install Net::SSH2 with carton

I want to install Net::SSh2 with Carton: I have locally installed libssh2-1.6.0. exported all necessary LIBSSH2 variables export LIBSSH2_INCLUDE=$HOME/lib/libssh2-1.6.0/include export LIBSSH2_LIB=$HOME/lib/lib export LIBSSH2_LDARGS="-lz" and then…
1
vote
2 answers

Perl - CPANM installing into C:\Perl\lib\perl5 folder instead of C:\Perl\lib

I am using CPANM to install modules on a WIN32 machine, using CPANM because the machine has no access to the internet. My perl install is in C:\Perl and my lib folder is C:\Perl\lib CPANM modules and dependencies were downloaded locally on a…
user2574678
  • 649
  • 12
  • 20
1
vote
2 answers

cpanm, perlbrew not working with sudo

I'm using CentOS 6.6 and install Perl, cpanm, and Perlbrew to it. But when I try to run Perlbrew (to install specific Perl version) or cpanm with sudoer permission, a "not found error" comes out: sudo: cpanm: command not found sudo: perlbrew:…
1
vote
1 answer

CPANM path not configured correctly

After extracting a fresh copy of Strawberry Perl, I get an error in CPANM. C:\portable_perl>cpanm --self-upgrade You are running cpanm from the path where your current perl won't install execut ables to. Because of that, cpanm --self-upgrade won't…
Eric Fossum
  • 2,395
  • 4
  • 26
  • 50
1 2 3
8 9