Questions tagged [perlbrew]

perlbrew is a program to automate the building and installation of multiple versions of Perl in your $HOME directory.

perlbrew Home page

148 questions
2
votes
1 answer

curl: transfer closing when trying to install perlbrew

I'm trying to install perlbrew in my mac OSX and this error keeps popping in my terminal, not really sure what this means Download the latest perlbrew curl: (18) transfer closed with ###### bytes remaining to read I understand vaguely that this…
Divox
  • 101
  • 6
2
votes
1 answer

use perlbrew with dist zilla test

I am using the Dist::Zilla module to release and test my module. I am also using Perlbrew. When I run a script using perlbrew that includes my module, the script runs fine: use strict; use My::Module; However, whenever I run dzil test, on a test…
srchulo
  • 5,143
  • 4
  • 43
  • 72
2
votes
1 answer

perlbrew: installing a perl module locally

I've got perlbrew installed on OS X fine, and can install Perl modules from CPAN, using cpanm no problem. But, now I'm attempting to install a Perl module provided from a software vendor, and that PM is not on CPAN - you download it from their…
kpw
  • 45
  • 7
2
votes
1 answer

Installing perl-5.20.1 with Perlbrew. Failed tests in perl5db.t

I am trying to install Perl v5.20.1 with Perlbrew, but it fails due to failed tests in a script perl5db.t. I am using Ubuntu 14.04 with 64 bit architecture (x86_64). Running: $ perlbrew install perl-5.20.1 started installation fine and run for some…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
2
votes
1 answer

Perl install failing for HTTP::Tiny testing for versions 5.18.2 and 5.20.1

I'm trying to use Perlbrew to install Perl on a CENTOS Linux server. I've tried installing several versions of 5.16, 5.18. and 5.20, but they all seem to fail the same tests with HTTP::Tiny: ../cpan/HTTP-Tiny/t/000_load.t…
David W.
  • 105,218
  • 39
  • 216
  • 337
2
votes
2 answers

can't run Daemon::Control perl script as root. @INC not correct (perlbrew)

I've written a Daemon::Control script in perl, which I can start/stop as a service from the user, but now I want to have this run on reboot. When I run as a user all is well, when I run it as root, it fails with Can't locate Mojo/Server/Morbo.pm in…
2
votes
1 answer

Install Perl with TAINT as the default for an app's private Perl

I recently converted an application to use its own version of Perl using Perlbrew, rather than the system Perl, and I am never going back to using the system Perl again! I'm about to start a clean slate application in which all of the scripts will…
KillerRabbit
  • 173
  • 1
  • 8
2
votes
0 answers

DBD::mysql (Can't locate DBD/mysql.pm in @INC) error from running perl script with perl-support.vim (Ended up just being an incorrectly set PERL5LIB)

I'm attempting a short script that accesses a Mysql database. I've installed the relevant perl modules, DBI and DBD::mysql and their dependencies as far as I know. This is the only code in test.pl #!/usr/bin/env perl use strict; use warnings; use…
2
votes
0 answers

Installing Perl with Perlbrew

I am trying to install Perl version 5.19.2 or version 5.19.8 with perlbrew. I am using the following command to install: perlbrew -v install perl-5.19.8 (or 5.19.2) -Dcc=gcc Everytime no matter what version I am trying to install I keep getting the…
srsci
  • 239
  • 5
  • 10
2
votes
2 answers

perlbrew list-modules fails to show module for an aliased perl install

I have 2 versions of perl-5.18.1 installed. One was built with the alias perlt (threaded), the other built as perl-5.18.1 then 'aliased' to perlp (plain, not threaded). When using perlt the perlbrew list-modules works as expected, but when using…
2
votes
1 answer

perlbrew migrate modules to new perl install, on Mac OS X 10.7.5

I asked this question on perlmonks, and have made limited progress so I will ask here. I installed perl 5.16.0, threaded, on Mac OS X 10.7.5, using perlbrew. Now, when I try to transfer modules to the new install, it fails with a message that I…
abualiga
  • 35
  • 4
2
votes
1 answer

I am not sure on how I use Perlbrew with Catalyst

I am trying to use Perlbrew with Catalyst in a brand new server. Perlbrew is already installed and working with the last Perl. The advantages are promising, but I am not sure about my working method. When developing, I usually start a shell whith…
Nacho B
  • 1,573
  • 1
  • 12
  • 16
1
vote
1 answer

Cannot build Perl libgd on Mac Perlbrew environment

I was using Mac OS 12 and Perlbrew with Perl 5.36. When I install GD using either CPAN or cpanm I get the following error: cpanm (App::cpanminus) 1.7046 on perl 5.036000 built for darwin-2level Work directory is…
thran
  • 137
  • 10
1
vote
1 answer

Compile perlbrew with libperl.so versus libperl.a

I've been working on moving some software from RHEL 7 to Ubuntu 22.04. I utilize Perlbrew. When I built the new 5.36.0 everything seemed normal until I started working on compiling mod_perl for my apache servers. I built perlbrew with this: perlbrew…
ilgtech
  • 13
  • 3
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