in reply to CPAN + PREFIX + Module::Build

With an up to date ExtUtils-MakeMaker and (stable) Module-Build, you should be able to use INSTALLBASE=~ instead for both. Or wait for Module-Build 0.27_02 (or get it from CVS) and use PREFIX for both. I haven't tried it myself, though.

Update: INSTALLBASE is a flop; EU::MM has INSTALLBASE, M::B has install_base. A passthrough Makefile.PL translates the case but doesn't add the _. Also, EU::MM installs stuff into lib/perl5 (under your selected directory), while M::B uses just lib. Perhaps there's something I'm missing here...

Replies are listed 'Best First'.
INSTALLBASE is not finished
by schwern (Scribe) on Jul 18, 2005 at 07:42 UTC

    There's a reason why INSTALLBASE is not yet documented. MakeMaker and Module::Build are still out of sync on the behavior. MakeMaker needs to be fixed to use INSTALL_BASE to match --install_base and Module::Build has to fix it so modules go into lib/perl5/ and programs into bin/ (already fixed in the alphas).

    This should all be sorted out with Module::Build 0.28 and the next MakeMaker. While I would have liked this to happen before OSCON it doesn't look like MB's going to be ready in time.