Re: [Module-build-general] Proposal for Module::Build installation dirs
Status: Beta
Brought to you by:
kwilliams
|
From: Jeff M. <jef...@e-...> - 2003-05-14 17:59:26
|
On Wed, 2003-05-14 at 13:14, Ken Williams wrote: > Hi, > > I'd like to get the ball rolling on the installation map stuff for > M::B, as I think it's the only thing holding up the 0.19 release. > Here's my idea of what I think we should do, please give me your > feedback on it. > > MakeMaker gives us a pretty good test-case for how an installation map > should & shouldn't work, and what features we probably need to support > to be "competitive". The main MakeMaker thing we probably *don't* want > to replicate is the way it handles PREFIX, because I understand from > Schwern that it's been a nightmare to support in a way that works > nicely on all the various platforms & setups. > I use PREFIX and LIB all the time now and I haven't had any problems with it yet. Currently M::B doesn't work correctly with builddir or sitelib when doing a build test or install (see earlier postings about @INC from a fellow subscriber). So while there may be magic behind PREFIX, I don't think it is fair for the average module builder to have to know specifics about %Config either. I need M::B to be able to install stuff outside the system perl tree. MakeMaker allows me to do that today using PREFIX and LIB (I set both to the same value). All I have to do in my code is add a: use lib qw(<path specified by PREFIX>); -- Jeff Macdonald <jef...@e-...> |