I'm using local::lib (which basically means I'm using "eval $(perl
-I$HOME/perl5/lib/perl5 -Mlocal::lib)" in my .bashrc). So I have in my
environment:

PERL_MM_OPT=INSTALL_BASE=/home/bill/perl5

I copied a local perl5 lib from a different user to bring it up to date (and
then send back).  The problem I ran into was updating a module built by
Module::Build.
The library contained a .modulebuildrc file with the line:

install  --install_base  /home/other_user/perl5

So, when ./Build install tried to install into a non-existent directory.


Should local::lib be setting up an environment so that Module::Build also
uses that library?

i.e.: export PERL_MB_OPT='--install_base /home/bill/perl5'

Or is there another recommended method?

I could update CPAN/MyConfig.pm 'mbuild_install_arg', too, I suppose.


-- 
Bill Moseley
mose...@hank.org

Reply via email to