Skip Menu |

This queue is for tickets about the Module-Build-Tiny CPAN distribution.

Report information
The Basics
Id: 89309
Status: rejected
Priority: 0/
Queue: Module-Build-Tiny

People
Owner: Nobody in particular
Requestors: NIERLEIN [...] cpan.org
Cc:
AdminCc:

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



Subject: please support PERL_MM_OPT environment variable too
With Module::Build and local::lib it is enough to set PERL_MM_OPT=INSTALL_BASE=/Users/sven/perl5 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. Thanks
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