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
3
votes
1 answer

Building Perl for OS X - Architecture-Specific Compile Options

Thanks to a suggestion from Chas. Owens, I have been having fun playing with Perlbrew to have various Perl builds in my home directory. My question is more generally on building a newer Perl under OS X however. I have OS X 10.6.4 Snow Leopard…
dawg
  • 98,345
  • 23
  • 131
  • 206
3
votes
2 answers

Modules install successfully but cannot be found

I am wondering why I get "Installing the dependencies failed: Module 'Module::Name' is not installed" even when dependency is has been installed. I am using perlbrew and cpanm. Here is an example of what happens with many modules that I try to…
Hamster
  • 680
  • 7
  • 23
3
votes
4 answers

Error locating modules using perlbrew and cpanm

I want to use perlbrew and cpanm on my machine. I installed perlbrew like this curl -L http://install.perlbrew.pl | bash and sourced ~/perl5/perlbrew/etc/bashrc in my .bashrc. Next I installed perl v5.21.5 and switched to this version.The which…
Timelimelim
  • 176
  • 1
  • 11
3
votes
1 answer

How to create a init-script for an Perl catalyst application running on nginx with fastcgi and perlbrew

I'm looking for a initscript to make usage of perlbrew on a webserver running a nginx as proxy for an perl catalyst application. I'm currently trying to start the app via source $PERLBREW execute "perlbrew use perl-5.14.4@devel" execute "mkdir…
frlan
  • 6,950
  • 3
  • 31
  • 72
3
votes
1 answer

Installing alternative perl version - module missing

I have a webapp which uses an older version of Perl. I therefore installed an independent Perl version using perlbrew, made a symlink /usr/bin/perlx and changed the path in all my perl files. However, I still have some problems with the additional…
Andreas
  • 736
  • 6
  • 15
3
votes
1 answer

Installing ancient perls with Perlbrew

I'm trying to use perlbrew to install some older Perls. I believe it's failing due to the old-style version numbers. According to perlbrew available: perl-5.14.3-RC1 perl-5.16.1 perl-5.14.2 perl-5.12.4 perl-5.10.1 perl-5.8.9 …
friedo
  • 65,762
  • 16
  • 114
  • 184
3
votes
1 answer

Having trouble using perlbrew to install perl 5.14.2 on OSX 10.8.0

On the advice I've read here and elsewhere, I decided to stop running sudo cpan, thus affecting the system perl, and instead use perlbrew to install and manage private versions of perl. I installed perlbrew and ran perlbrew install perl-5.14.2, both…
Chap
  • 3,649
  • 2
  • 46
  • 84
3
votes
2 answers

Perlbrew Error: Can't Locate Pod/Usage.pm

I'm having trouble installing Perlbrew. I am getting the error message: "can't locate Pod/Usage.pm in @INC (@INC contains: CODE(0xa031ea8) /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys…
user1460741
  • 31
  • 1
  • 2
2
votes
2 answers

How do I compile 32bit Perl on a 64bit Linux machine using perlbrew?

I'm barely familiar with perlbrew. I think I need to use --sitecustomize $filename but I can't find examples of this file anywhere. I have no idea what to put in the file. Anyone got a sample I can look at?
mr.zog
  • 533
  • 1
  • 7
  • 26
2
votes
0 answers

perlbrew install of perl-5.32.1 fails on macOS

perlbrew install perl-5.32.1 fails on macOS Big Sur (11.3.1) The end of the log file includes this: Test Summary Report ------------------- porting/libperl.t (Wstat: 65280 Tests: 35 Failed: 0) …
jared
  • 21
  • 1
2
votes
1 answer

How to install Carton module into local project with perlbrew?

I use perlbrew to easy switch between perl. I use Carton to install modules only for current project into /local directory. But when I deploy application on new host. I do: perlbrew install -v -j 8 --notest --switch perl-5.30.3 perlbrew…
Eugen Konkov
  • 22,193
  • 17
  • 108
  • 158
2
votes
0 answers

perlbrew custom folder for libs

When I use perlbrew lib create testlibs to have a folder to store test libraries from CPAN, it creates a folder under the following path: $HOME/.perlbrew/libs/perl-5.32.0@testlibs/lib/perl5 How can I tell perlbrew to store the libs folder (…
JohnnyLoo
  • 877
  • 1
  • 11
  • 22
2
votes
2 answers

How to remove perlbrew versions/installations?

I'm running perl-5.32.0 on an Ubuntu VM, and I keep getting this warning every time I open a new terminal: ERROR: The installation "perl-5.30.0" is unknown. I removed directories to old versions, which caused this error (disk space is at a…
con
  • 5,767
  • 8
  • 33
  • 62
2
votes
2 answers

correct perl path for vim

I've installed perlbrew and it works: when I do a 'perl -v' in a terminal, it reports that I'm using perl 5.14. But gvim (vim instead works) still thinks that I'm using 5.10... How do I set the perl path for gvim? thanks
user764169
  • 75
  • 3
2
votes
0 answers

Perlbrew fails to install perl-5.30.0, op/groups.t at fault?

I'm attempting to install perl 5.30.0 from perl 5.16.3, I run perlbrew install perl-5.30.0 but the installation fails, even with -f, and selections from the error file show: ~/perl5/perlbrew/build/perl-5.30.0/perl-5.30.0$ grep -A1 -B1 -i failed…
con
  • 5,767
  • 8
  • 33
  • 62