On Thu, Aug 26, 2010 at 8:31 AM, Hans Dieter Pearcey <
hdp.perl.module-auth...@weftsoar.net> wrote:

> On Thu, 26 Aug 2010 06:46:04 -0700, Bill Moseley <mose...@hank.org> wrote:
> > Should local::lib be setting up an environment so that Module::Build also
> > uses that library?
>
> Yes, it already does.


Oh, I see.  I was expecting everything to be environment driven.  Well, I
was expecting it to set PERL_MB_OPT, not just point to .modulebuildrc.

 $ perl -Mlocal::lib
export MODULEBUILDRC="/home/bill/perl5/.modulebuildrc"
export PERL_MM_OPT="INSTALL_BASE=/home/bill/perl5"
export
PERL5LIB="/home/bill/perl5/lib/perl5:/home/bill/perl5/lib/perl5/i686-linux-thread-multi:$PERL5LIB"
export PATH="/home/bill/perl5/bin:$PATH"

The problem I had was /home/bill/perl5/.modulebuildrc had a different
install location:

$ cat /home/bill/perl5/.modulebuildrc
install  --install_base  /home/joe/perl5

I had copied that library over to update modules and run tests before
turning it back over to Joe.



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

Reply via email to