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

Perlbrew can't find @INC

I think perlbrew is properly installed and using the correct @INC. I switched to perlbrew. The module I want (String::Approx) is installed. I have sources ~/perl5/perlbrew/etc/bashrc in ~/.bash_profile. But I am getting the error Can't locate…
Kip
  • 63
  • 6
4
votes
2 answers

Why won't a module installed by `cpanm` be recognized?

I installed perl-5.12.2 using perlbrew: perlbrew install perl-5.12.2 -D=usethreads -D=useithreads -D=uselargefiles -f I then switched to this version and installed IPC::System::Simple using cpanm. However, when I try to run my script I get: Can't…
David B
  • 29,258
  • 50
  • 133
  • 186
4
votes
2 answers

How can I make Eclipse work with `perlbrew`?

I'm using perlbrew to switch between perl versions. I also use Eclipse to write perl scripts. It seems that Eclipse does not recognize the switches between perl versions, and keeps working with the base version installed out of perlbrew. I tried…
David B
  • 29,258
  • 50
  • 133
  • 186
4
votes
1 answer

Perl - Local::lib not consistently finding the local path in @INC - conflict with perlbrew?

I don't have root access to the system so I'm installing perl modules using local::lib which I installed using the bootstrapping method: perl Makefile.PL --bootstrap=~/foo make test && make install echo '[ $SHLVL -eq 1 ] && eval "$(perl…
4
votes
1 answer

How do I make perlbrew install a specific development perl version (ie not perl-bleed)

I'm trying to install a development perl version other than perl-bleed with perlbrew eg: $ perlbrew install perl-5.21.5 fails if I tail the log file I see $ tail ~/perl5/perlbrew/build.perl-5.21.5.log Data corruption and crashes are possible. …
Ivan Wills
  • 151
  • 9
4
votes
1 answer

Supervisor and perlbrew

I try to use supervisor with perlbrew, but I can not make it work. For perlbrew I just tried to set the environment variable that go well, but perhaps it is better to make a script that launches perlbrew and plackup, this my configuration…
Hobbestigrou
  • 1,777
  • 1
  • 13
  • 16
4
votes
3 answers

perlbrew fails with "Can't locate Devel/PatchPerl.pm"

perlbrew fails with Can't locate Devel/PatchPerl.pm. More precisely, what fails is a run of patchperl that is spawned off by perlbrew. There is in fact a Devel/PatchPerl.pm accessible via the paths in the environment variable PERL5LIB, but perlbrew…
kjo
  • 33,683
  • 52
  • 148
  • 265
4
votes
2 answers

How to make Eclipse/EPIC work with perlbrew

I'm using Eclipse/EPIC for programming/debugging and perlbrew to switch between perl versions. For any reason Eclipse/EPIC doesn't recognize switching the perl versions initiated by perlbrew. Switching the version is persistent but does only effect…
Thorsten
  • 41
  • 3
4
votes
2 answers

perlbrew command not found

I installed perlbrew on Linux backtrack on my virtual machine. and I have perl 5.10.1 installed on my backtrack. but when I write perlbrew command in the terminal it shows the following message: perlbrew: command not found What is wrong with my…
Sharukh
  • 43
  • 1
  • 3
3
votes
2 answers

Perlbrew install failed

I'm a completely new to Perl, and I'm having trouble installing perlbrew. Someone was helping me, but he's busy all day today, so I'm trying to figure this out on my own. I installed the perlbrew root and modified the bashrc, but now I can't install…
matthewb
  • 1,323
  • 2
  • 12
  • 18
3
votes
2 answers

How to display all available perls in perlbrew?

I can list all available perls via perlbrew available kes@kes-X751SA ~ $ pb available perl-5.32.0 perl-5.30.3 perl-5.28.3 perl-5.26.3 perl-5.24.4 perl-5.22.4 perl-5.20.3 perl-5.18.4 perl-5.16.3 …
Eugen Konkov
  • 22,193
  • 17
  • 108
  • 158
3
votes
2 answers

Perl Syntax Error on Compilation - "use" not allowed in expression

Bear with me as I'm new to Perl, but I am having an error in compilation on a use statement, but I'm not entirely sure why I'd get one there. I am using perlbrew on Mac Sierra. The perl version is 5.26.1. I'm not quite sure where to really start. I…
Marisa
  • 151
  • 1
  • 3
3
votes
1 answer

Fastest, cheapest way to create a fresh, throw-away installation of perl using perlbrew?

I tried doing the following. First, I install a relocatable perl, e.g.: % perlbrew -Duserelocatableinc -j4 -n --as perl-5.28.1-fresh_src 5.28.1 Then, whenever I need a new throw-away fresh installation of perl to test things out, I do: % cp -la…
Perl Ancar
  • 580
  • 3
  • 10
3
votes
1 answer

How can i install two different version perl on my linux?

I have a Linux server, and it has its own Perl whose version is not what I want. So I want to install another Perl on it. I tried to solve it with Perlbrew, but my server can't download it. It seems like my server does not trust that website…
Zeason
  • 31
  • 2
3
votes
1 answer

Perl: installing with Perlbrew on Macos Sierra

I am attempting to use the lastest version of Perlbrew to install the latest stable version of Perl (5.24.1) with multi-threading on a computer running macOS-Sierra. Perlbrew appears to be installed correctly but when I run the command: Perlbrew…
1 2
3
9 10