Re: [Module::Build] [PATCH] Failure to find local 'lib' dir during M::B install with tests that chdi
Status: Beta
Brought to you by:
kwilliams
From: Ken W. <ke...@ma...> - 2006-05-12 22:59:24
|
On May 12, 2006, at 5:13 PM, Eric Wilhelm wrote: > # from Chris Dolan > # on Friday 12 May 2006 12:31 pm: > >> CP+ doesn't consider the case where it is >> building Module::Build itself, and uses a pre-loaded M::B. It seems >> to me that CPANPLUS::Dist::Build should fall back to Makefile.PL mode >> (i.e. running external files) when it detects that its trying to >> compile M::B itself. > > Should it have to detect that? Could Build.PL handle that? It's possible, I think, but I'm not sure. I'd have to think about how that could work, e.g. how we'd detect we're running under CPANPLUS, how we'd circumvent what it's trying to do, etc. It seems like the whole idea would be a little too sneaky. It would also mean that people would have to install the new M::B once manually (because CP+ won't install it) before things would start working. -Ken |