On Mon Oct 07 15:00:49 2013, NIERLEIN wrote:
Show quoted text> With Module::Build and local::lib it is enough to set
> PERL_MM_OPT=INSTALL_BASE=/Users/sven/perl5
No it is not. Old versions of local::lib used MODULEBUILDRC and a .modulebuildrc file to pass along the right install_base. I recommend upgrading to a local::lib that has been released in the past 3 years.
Show quoted text> For module::build::tiny i have to set
> export PERL_MB_OPT=--install_base=/Users/sven/perl5
> in addition to the usual environment variables. It would be nice to
> support PERL_MM_OPT too,
> otherwise it fails to install because it trys the wrong folder.
MakeMaker has an overly complicated argument model that can not easily be emulated (the amount of bugs in Module::Build::Compat proves that much). Just because it would work for INSTALL_BASE doesn't mean it would work in the general case.
Leon