Ken Williams | 19 May 2004 03:50
Favicon

Re: [Module::Build] Compat BUG


On May 15, 2004, at 5:13 AM, Jaap Karssenberg wrote:

> On Fri, 14 May 2004 17:44:56 -0500 Ken Williams wrote:
> : Maybe if you wrote a regression test that fails, I could fix it.  
> I've
> :
> : fixed every related problem I know about.
>
> A test is fairly complex because it should involve multiple files;

More complex than the months and paragraphs of descriptions that have 
gone over the mailing list in lieu of a test?

> the problem itself is simple though:
> In the documentation of Module::Build you say one should use
>
>    use lib qw(/nonstandard/library/path);
>
> in Build.PL to include custom modules. Now in Compat.pm you use 
> system()
> to run Build.PL, which means that this "use lib" statement is only
> executed in a _forked_ process. Later the process executing Makefile.PL
> dies because it can't find the custom module.

I guess I still don't quite understand - is the Makefile.PL loading the 
module itself, or is it a pass-through Makefile.PL generated by M::B, 
or something different?

The bottom line is that we *do* need a regression test or else we're 
all going to be frustrated trying to characterize, find, & fix this.

  -Ken

-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click

Gmane