On Thursday, April 11, 2002, at 03:14  PM, H.Merijn Brand wrote:

> On Thu 11 Apr 2002 14:43, Kay Roepke <[EMAIL PROTECTED]> wrote:
>>   Tests start here:
>> PERLIO = stdio  /bin/sh: TEST: command not found
>
> not harmless, but easy to solve. '.' is not in your $PATH

Well, true.

> Either
> 1. Put '.' in $PATH in smoke.sh
>
>       export PATH=.:$PATH
>
> 2. Put '.' in $ENV{PATH} in mktest.pl
>
>       $ENV{PATH} .= ":.";
>
> Security issues are being discussed. Might also be `solved' in the 
> bleadperl
> distribution itself.

Sorry, but I ignorantly fail to see why I should have to do that. ;-)

As a quick look a mktest.pl and perls Makefile show, the $(PERL) 
variable is empty, forcing make to execute /bin/sh -c TEST in 
perl-current/t/ which fails (for me at least).

My first guess was to patch perls Makefile.SH to call its TESTFILE 
../TEST rather than just TEST, but I'm not sure of the implications (are 
there any? Windows? VMS? whatever?). (Patch attached)

Attachment: Makefile.SH.patch
Description: Binary data



The other solution would be to educate mktest.pl to call 'make _test' 
with the right $(PERL).  (See the second attachment.)

Attachment: mktest.pl.patch
Description: Binary data



Have the appropriate amount of fun selecting the most pleasing patch ;-).


Regards,

Kay

Reply via email to