Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 76912
Status: open
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: rhomel.chinsio [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.42
Fixed in: (no value)



Subject: patchperl loses PERL5LIB setting
I'm trying to do a completely off-line and non-root install; basically a normal user with no access to root and the default perl configuration and worse no internet connection. In order to do this I first install libraries locally to get cpanm running. Then I use cpanm to install perlbrew into a local directory the user has access to. The problem I have is when perlbrew (local) runs patchperl, patchperl fails because the environment variables are deleted and patchperl no longer can see the local lib directories in @INC (it can't find Devel::PatchPerl). As a work-around, I can edit patchperl itself and specifically point it to my local lib install, however, it would be much better if there was a way for me to instruct perlbrew to use a local lib just for patchperl instead.
On Mon Apr 30 22:05:22 2012, teek wrote: Show quoted text
> I'm trying to do a completely off-line and non-root install; basically a > normal user with no access to root and the default perl configuration > and worse no internet connection. In order to do this I first install > libraries locally to get cpanm running. Then I use cpanm to install > perlbrew into a local directory the user has access to. > > The problem I have is when perlbrew (local) runs patchperl, patchperl > fails because the environment variables are deleted and patchperl no > longer can see the local lib directories in @INC (it can't find > Devel::PatchPerl). > > As a work-around, I can edit patchperl itself and specifically point it > to my local lib install, however, it would be much better if there was a > way for me to instruct perlbrew to use a local lib just for patchperl > instead. >
Thanks for the report... it looks like to me the solution is to keep PERL5LIB around until the invocation of `sh Configure`. The current code base does not split different building phases and requires more love. I'll start working on this issue and it should be released as part of 0.43 :)