1,210 questions
0
votes
0
answers
29
views
CPAN requires password but I only have a PEM key
I write with a question about using CPAN on my work computer. I fear
something has changed but I am not sure what that is or what to do
about it other than to seek your guidance.
The work computer is ...
-3
votes
1
answer
158
views
CPAN fails when installing Crypt::SSLeay
When I run:
cpan Crypt::SSLeay
I get the next output:
make: *** [Makefile:887: test_dynamic] Error 2
OALDERS/LWP-Protocol-https-6.14.tar.gz
2 dependencies missing (IO::Socket::SSL,IO::Socket::SSL::...
0
votes
0
answers
120
views
Having issues trying to install a DBD::mysql client for perl on Server 2022
I'm trying to get DBD::mysql installed under strawberry perl. I've been slowly working my way through a number of configuration issues. I've got to the point where I'm trying to run gmake. I'm ...
1
vote
2
answers
495
views
Facing lot of prerequisite packages issues while installing perl-LWP-UserAgent package in oracle linux 9
Tried installing perl-LWP-UserAgent using the perl-libwww-perl-6.53-4.el9.noarch.rpm package and I got an error message:
$ sudo yum install perl-libwww-perl-6.53-4.el9.noarch.rpm
Last metadata ...
0
votes
1
answer
230
views
Can't install YAML with cpan
I am very new to Perl. I am trying to install some modules with cpan.
Everytime I use install YAML
I get the following
Failed during this command:
RJBS/Test-Deep-1.204.tar.gz : make ...
1
vote
0
answers
93
views
Postgresql query : how to select a jsonb object having backslash it in and how to remove the backslashes?
We have jsonb objects (which have backslashes in the name)in the database table. Whenever we try to update or delete the jsonb object,
postgresql throws the error.
Names with backslashes in it are ...
0
votes
1
answer
96
views
DBI cpan install fails
Trying to install DBI.pm using
cpan install DBI
under bash-4.2 fails on several linux platforms including raspberrypi.
On a GoDaddy server a lot of commands go well until
gcc -c (many options) Perl....
2
votes
1
answer
187
views
How can I reinstall a partially installed Perl module?
I'm running Strawberry perl on Win7 and somehow the LWP module got deleted from all my lib folders. I tried to restore it with cpanm, but it says that it's installed. Nevertheless, the LWP folders ...
0
votes
0
answers
781
views
Error installing perl Tk module using cpan
I am trying to install Tk using cpan I get an error. This is on a PC, Windows 10, Strawberry Perl 5.38.1
Attempting a basic install of the Tk module, everything downloads, makefile runs to a point, ...
1
vote
1
answer
534
views
CPAN Install DBD::MariaDB failed on OS X 14
I am using a MacBook 14.1.1 Sonoma M2 chip and want my Perl scripts to talk to my MariaDB database. Installing DBI was no problem. However when trying to install DBD::MariaDB I get the following error:...
0
votes
1
answer
283
views
perl can't find modules installed by apt [closed]
I'm trying to build a perl program from source. The program has a Build script which installs all the many dependencies by cpan by invoking perl ./Build installdeps. However, some of the dependencies ...
2
votes
1
answer
419
views
Can't locate perl module
I am trying to run a perl script on a machine using CentOS Linux 7. I have perl 5.36.1. The script uses a program called polymake which has its own copy of perl. I cannot modify that copy of perl. I ...
1
vote
3
answers
992
views
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....
0
votes
2
answers
70
views
Cannot install Webservice::InterMine
I'm attempting to install Webservice::InterMine on Ubuntu 22.04 and perl 5.38.0, but I get the following error:
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/home/con/...
-1
votes
1
answer
484
views
Install perlcritic on macOS Ventura
I'm on macOS Ventura 13.3.1 and I'm trying to get perlcritic working.
perl --version
Gives me:
This is perl 5, version 36, subversion 0 (v5.36.0) built for darwin-thread-multi-2level
...
When I ...
0
votes
1
answer
198
views
dockerfile - cpan proxy configuration
I am creating a docker image via dockerfile.
...
RUN dnf install -y cpan perl perl-core perl-App-cpanminus make
RUN cpan Config::Properties
...
I require to install a CPAN library (Config::Properties)...
-3
votes
1
answer
105
views
error while installing DBD::oracle in windows10 `perl -MCPAN -e "install DBD::Oracle" [closed]
Fetching with LWP:http://cpan.strawberryperl.com/authors/01mailrc.txt.gz LWP failed with code[470] message[status code 470]Warning: no success downloading 'C:\STRAWB~1\cpan\sources\authors\01mailrc....
3
votes
1
answer
1k
views
cpan not using configured repo instead trying to connect to cpan.org when installing perl modules
I have installed perl and cpan in an automated shell script.
configure only one local repo from the script itself as below:
echo o conf urllist https://localrepo.mylab.mycompany.com/cpan
echo o conf ...
2
votes
0
answers
274
views
Perl Net::DNS version 1.35 resolver query fails [closed]
I am trying to test out the new version of cpan-Net-DNS (version 1.35) and it fails in the Net/DNS/Resolver/Base.pm file at line 987 with the following error.
*** FATAL PROGRAM ERROR!! Unknown ...
3
votes
2
answers
5k
views
cpan fails because it can't verify cpan.org's SSL certificate
I upgraded perl from perl 5.18.2 to perl 5.36.0, and now many modules are missing. When I try to install the module using CPAN, I am getting errors.
For ex:
cpan YAML::XS
It gave me the following ...
1
vote
1
answer
116
views
"Can't locate Parse/Pidl/IDL.pm" while installing Parse::Pidl
I'm having an error trying to install Parse::Pidl module with cpan.
It seems that within the downloaded archive Parse-Pidl-0.02.tar.gz is missing the IDL.pm module
(I think it should be within Parse-...
7
votes
2
answers
361
views
Do all my perl module .pm files need a `$VERSION` definition?
I just added a new file to the PDL::IO::Touchstone distribution and noticed that CPAN's indexer says version is undef since $VERSION is missing:
module : PDL::IO::MDIF
version: undef
in ...
3
votes
2
answers
246
views
Using Dist::Zilla dist.ini how can I have files that I only use for testing?
In a Dist::Zilla-based distribution I would like to have some files that are only used for testing, but do not get installed. These are mockup libs that aren't needed for runtime.
How do I do that?
2
votes
1
answer
174
views
How do you test your Perl module to check if Makefile.PL declares all dependencies?
I would like to write a t/00-check-deps.t module to find all dependencies in MyModule.pm and make sure they exist in Makefile.PL before release.
This way when I do make test before distributing to ...
4
votes
0
answers
221
views
Can't install some POE perl module in Strawberry Perl
I've inherited a Perl project that uses a number of Perl modules. I've been trying to set up the environment, but it's been a nightmare. I'm now on day two of just trying to install the modules. The ...