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: Chris D. <ch...@cl...> - 2006-05-12 19:31:33
|
On May 12, 2006, at 12:13 PM, Ken Williams wrote: > Hi Chris, > > Your patch shouldn't work - curdir() doesn't return an absolute > path, just a string like ".". > > I suspect your change seemed to fix your problem because you tested > manually, i.e. not using CPANPLUS? > > -Ken Ken, Hmm, you're absolutely right, sorry about that. So, my diagnosis was completely wrong and it's CP+ that's grabbing the wrong M::B and not the fault of the chdir? [time passes] Now that I have read over the code to CPANPLUS::Dist::Build that seems to be the case. 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. What a quagmire... Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partners in the revolutionary Croquet project (http://www.opencroquet.org/) |