perlbrew is a program to automate the building and installation of multiple versions of Perl in your $HOME directory.
Questions tagged [perlbrew]
148 questions
1
vote
2 answers
Perlbrew fails to install new perl version
I'm attempting to install a new perl version with perlbrew:
perlbrew install perl-5.34.1
but this produces the error:
Fetching perl 5.34.1 as /home/703404669/perl5/perlbrew/dists/perl-5.34.1.tar.gz
Download…

con
- 5,767
- 8
- 33
- 62
1
vote
1 answer
Attempt to install perlbrew fails
I'm attempting to install perlbrew via
\curl -L https://install.perlbrew.pl | bash
as suggested from https://perlbrew.pl
However, I get these errors
print() on closed filehandle $fh at perlbrew.Yyb5zU line 1569.
print() on closed filehandle $fh at…

con
- 5,767
- 8
- 33
- 62
1
vote
1 answer
How to rerun test while installing perl via perlbrew fails?
I installing perl-5.28.1 via perlbrew. Some tests fail:
../cpan/Tie-RefHash/t/storable.t ................................... ok
../cpan/Tie-RefHash/t/threaded.t ................................... skipped: -- threads aren't enabled in your perl, or…

Eugen Konkov
- 22,193
- 17
- 108
- 158
1
vote
1 answer
macOS Big Sur: Unexpected product version 11.1. How to patch perlbrew?
I just updated my Macbook Air from 10.15 to 11.1, and then tried to install perl 5.32 with perlbrew:
$ perlbrew install perl-5.32.0
Installing /Users/hakonhaegland/perl5/perlbrew/build/perl-5.32.0/perl-5.32.0 into…

Håkon Hægland
- 39,012
- 21
- 81
- 174
1
vote
1 answer
Unable to get XML::LibXML to install Mac OS11
I've been trying to get XML::LibXML to install on perl for a few days, and I think I've run into a wall regarding what to try next. As I understand it XML::LibXML needs to know where Libxml2 is located. I've installed Libxml2 with Homebrew, but it…

Jon
- 13
- 2
1
vote
0 answers
Perlbrew install of 5.30.2 fails
I'm attempting to install perl 5.30.2 with perlbrew thus: perlbrew install perl-5.30.2
however, this install fails
grep -A2 -B2 -i fail /home/con/perl5/perlbrew/build.perl-5.30.2.log
shows
op/groups.t …

con
- 5,767
- 8
- 33
- 62
1
vote
0 answers
perl (5.30.0) install failure on MacOS 10.14.6
I have an up to date copy of XCode: Version 11.0 (11A420a)
I use perlbrew to do installs, and the last successful one was 5-28.0 Jul 26 2018
Here is that tail of the log:
Finishing processing Unicode properties
Compiling Perl properties
…

Roger Thompson
- 11
- 1
1
vote
0 answers
Perlbrew switch fails on docker build
I want to perlbrew on docker building phase. I successfully install a perl but can't perlbrew switch to it so cpanm installs the module into wrong place.
The Dockerfile is as follows.
FROM centos:centos7
SHELL ["/bin/bash", "-c"]
RUN yum -y…

user3203239
- 79
- 6
1
vote
0 answers
Perlbrew cannot download latest tarball
I've installed perlbrew on my Ubuntu 18.04 VM, but I cannot download the latest version,
con@con-VirtualBox:~/20190305_concordance$ perlbrew install 5.28.1
gives error
Fetching perl 5.28.1 as…

con
- 5,767
- 8
- 33
- 62
1
vote
1 answer
Incorrect behavior of perl module `Getopt::Long::Subcommand` in perl version 5.24.1
I'm using Getopt::Long::Subcommand to parse the command line arguments.
But I found that in some of Perl versions. This module has incorrect behavior.
For example if I run ./ViewBS BisNonConvRate --sample bis_WT.tab.gz,WT. I expect the output as…

xie186
- 487
- 4
- 9
1
vote
1 answer
Can't install XML::Simple on Perlbrew
I'm trying to install XML::Simple under Perlbrew but am hitting an error that seems like it requires root access to fix. However, the whole purpose of using perlbrew (or one of them, at least) is to disassociate your perl environment from the OS…

iolympian
- 469
- 1
- 4
- 19
1
vote
0 answers
how to migrate perlbrew to other debian server
Im new to perl.
I have a debian server with perlbrew istallation.
There is a custom module which a want on new debian server.
Module is owned by my company.
What is the best way to achieve funktional module?
I was able to start the module and…

cuilster
- 123
- 1
- 12
1
vote
1 answer
Troubleshooting Math::PARI crash inside mod_perl
I build (brewed) my own perl, then the mod_perl module, and then installed all required perl libraries.
The mod_perl environment works fine. One-liners with Math::PARI also work, for example:
perl -MMath::Pari -e "use Math::Pari ':float',…

Andrew Dwojc
- 119
- 10
1
vote
0 answers
Perlbrew perl installation failure ../lib/h2ph.t
I have perl 5.22 (Ubuntu 16.04). One software I am using has some issues and needs older perl (older than 5.22). I tried installing 5.20.1 with perlbrew but I got the error:
makefile:840: recipe for target 'test_harness' failed
with mention of…

user2178841
- 849
- 2
- 13
- 26
1
vote
1 answer
What am I doing wrong when I try to install a version of perl using perlbrew on a raspberry pi?
I am trying to install a version of perl on a raspberry pi using perlbrew. I am getting the following output:
../lib/warnings.t .................................................. ok
Test Summary Report
-------------------
…

David Nicholas Kayal
- 33
- 4