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
3 answers

Perlbrew cannot run simple scripts IPC::System::Simple required for Fatalised/autodying system()

I am a new perlbrew user, as I wish to upgrade to perl 5.30.0 on Ubuntu. I have done perlbrew init perlbrew install perl-5.30.0 perlbrew switch perl-5.30.0 so I try to run this test script: #!/usr/bin/env perl use strict; use warnings FATAL =>…
con
  • 5,767
  • 8
  • 33
  • 62
2
votes
1 answer

Install modules with perlbrew and cpm - perlbrew switch does not change @INC during docker build

I'd like to use fast cpm module installer instead of cpanm in my projects. Also I install target perl version using perlbrew. According documentation of cpm -g option will install modules into current @INC How to force perlbrew change @INC in…
Paul Serikov
  • 2,550
  • 2
  • 21
  • 36
2
votes
1 answer

Perlbrew doesn't list installed versions of Perl

I've a problem with the original Perl version in Ubuntu 16.04 and i wanted to compile and install a new one. I've used Perlbrew to create a new Perl 5.18.2 with threads available and another one 5.18.8 for testing purposes. I can see the directory…
technoleap84
  • 228
  • 1
  • 11
2
votes
1 answer

DBD::mysql installation of driver failed

I'm trying to run Perl DBI on Mac OS and keep hitting into this error: install_driver(mysql) failed: Can't load '/Library/Perl/5.18/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle' for module DBD::mysql:…
Yehor Levchenko
  • 56
  • 1
  • 2
  • 10
2
votes
0 answers

How do I connect to different versions of Postgres using DBD::Pg on one system

My production system uses Postgres 9.3 and Perl; I have a test Postgres 10.3 database that I'd like to run the same Perl scripts against to make sure that everything works. I'm using Perl DBI and DBD::Pg to connect to the databases. I'm logging…
Adina
  • 78
  • 6
2
votes
1 answer

Why a Perlbrew PSGI application with uwsgi_psgi causes "wrong" Perl include paths?

I want to deploy a PSGI based web application by using an uWSGI gateway interface. To accomplish this I installed Perlbrew locally on my Debian server where no root access is available. perlbrew init # close shell and reopen new shell perlbrew…
burnersk
  • 3,320
  • 4
  • 33
  • 56
2
votes
1 answer

Default Perl vs. perlbrew version on macOS Sierra 10.12.4

I'm tryng to instruct my system to permanently use perlbrew version of perl in my shells as per perlbrew documentation with: perlbrew switch perl-5.26.0 which should use ~/perl5/perlbrew/perls/perl-5.26.0/bin/perl in every new open shell. But…
Daniele
  • 83
  • 8
2
votes
1 answer

how to uninstall perlbrew from macbook

I have few modules associated with it. However when I try to switch from system perl to perlbrew it displays -sh: perlbrew: command not found however in the directory I have, bin lib man perlbrew It has been almost over a…
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
0 answers

Perlbrew keeps forgetting my default Perl when I close my terminal

I have installed perlbrew on a Linux Mint 17.3 Rosa system. When I type perlbrew list it shows: perl-5.16.0 perl-5.22.0 If I type perlbrew switch perl-5.22.0 it says: A sub-shell is launched with perl-5.22.0 as the activated perl. Run 'exit' to…
Dragos Trif
  • 276
  • 1
  • 12
2
votes
2 answers

Perl debugger does not work with arrow keys under Perlbrew

I'd like arrow keys to work for command history in perl debugger. This solution looks good, so since I'm using ubuntu, I tried sudo aptitude install libterm-readline-gnu-perl But, I still get the ^[[A and ^[[B echoed back in the perl debugger…
Randall
  • 2,859
  • 1
  • 21
  • 24
2
votes
1 answer

Smoke tests fail for most CPANTesters, but work fine on Travis CI and locally under perlbrew-built Perl

This is very similar to my recent question except that this time, the smoke tests of CGI::Github::Webhook are fine on Travis CI as well as locally (both, with the OS installed Perl 5.22 and with a Perl 5.24 built and installed via Perlbrew, see…
Axel Beckert
  • 6,814
  • 1
  • 22
  • 23
2
votes
1 answer

"…/auto/List/Util/Util.so: undefined symbol: PL_stack_sp at …/XSLoader.pm" only when running test suite with CGI::Test _and_ on Travis CI

I have a Perl module called CGI::Github::Webhook whose test suite works fine on Travis CI so far on the branch master. But since it's a module for writing CGI scripts, I wanted to test it with CGI::Test as this would be closer to real-life…
Axel Beckert
  • 6,814
  • 1
  • 22
  • 23
2
votes
2 answers

Why does perlbrew fail while installing perl-5.12.2?

When I try to install Perl 5.12.2 with perlbrew, I get an error at the end because the CPANPLUS tests fail. Making utilities make[1]: Entering directory `/home/dave/perl5/perlbrew/build/perl-5.12.2/utils' make[1]: Nothing to be done for…
David B
  • 29,258
  • 50
  • 133
  • 186
2
votes
1 answer

How can I install Perl version under my home using perlbrew?

I have installed perlbrew which seems like a good solution, but I get some meaningless error when actually trying to install some Perl version: $ perlbrew install perl-5.12.1 Attempting to load conf from /home/dave/perl5/perlbrew/Conf.pm Fail to…
David B
  • 29,258
  • 50
  • 133
  • 186