Re: [Module-build-general] bug in Module-Build-0.18
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-05-10 20:50:40
|
On Friday, May 9, 2003, at 05:05 PM, jk wrote: > 1) When I ran "./Build test" I got a couple of tests fail, indicating > they could not find Module::Info.pm. I do have it installed locally > (in the /home/me/data/perl58/ tree), and I do have the PERL5LIB > environmental variable set to indicate it... is it possible that > Module::Build doesn't know about PERL5LIB and doesn't add it to the > @INC array? Nope, not possible - but I did figure out what the problem is here. I'd seen this problem show up in a couple different ways, and the reason is that we chdir() a few times in the testing code, and any relative paths in @INC will be messed up if we load modules after that. The fix for this, which I've applied in CVS, is to convert all the @INC paths to absolute paths. > 2) I originally tried to install Module::Build and various other > modules using the CPAN.pm module, but this didn't work because the > version of CPAN.pm I have doesn't know anything about using Build.pm > rather than make. It would be good to give the CPAN.pm people a > heads up about Build.pm so they can support it (this may already have > been done). Yeah, as Dave said, this should have worked fine. What happened? -Ken |