Re: [Module::Build] Re: [PATCH] add Module::Build 0.27_08
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <ml...@th...> - 2006-03-07 20:38:55
|
Yitzchak Scott-Thoennes wrote:
> On Tue, Mar 07, 2006 at 03:10:55PM -0500, Randy W. Sims wrote:
>
>>Yitzchak Scott-Thoennes wrote:
>>
>>>On Tue, Mar 07, 2006 at 01:32:52PM -0600, Ken Williams wrote:
>>>
>>>>Hmm - so in your case is $^X just 'perl'? If that's the only pointer
>>>>to the currently running perl, we might have to do a PATH search for
>>>>it. Maybe only when it doesn't contain slashes or something.
>>>
>>>
>>>The above code does do a PATH search, but this perl isn't installed.
>>>We might have to do a search up cwd like
>>>ExtUtils::CBuilder::Base::perl_src().
>>
>>I suspect this needs a way to apply the fixup only when running the test
>>&& $ENV{PERL_CORE}. The test files are being executed by perl's Makefile
>>or TEST, not being loaded and run from M::B, right? So, when each test
>>file is run it needs (or MBTest.pm needs) to figure out where the perl
>>is that loaded it and apply a fixup. We'll also need to put a hook in
>>M::B to allow the fixup.
>>
>>Randy.
>
>
> I think just putting code conditional on $ENV{PERL_CORE} in
> find_perl_interpreter is good enough; no need to modify the tests.
>
> It may take us closer to Rafael's request for support for building
> modules with an uninstalled perl, ala makemaker.
>
Yeah, I've got that message flagged for follow-up. I guess I was
thinking there may be more context for determining the correct perl from
the test script side.
Unfortunately, I don't have a broken system to test on so I'm mostly
guessing. I do have an old 633 Mhz Pentium PC laying around somewhere
that I can install one of the BSD variant on tonight or tomorrow.
Randy.
|