Tue Apr 12 08:45:52 2011: Request 67380 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: PAR-Packer
     Subject: Re: [rt.cpan.org #67380] Problems with install PAR::Packer 1.009 
on Strawberry Perl 5.12.2 on WinXP.
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: open
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=67380 >


That's it:

You've checked with Strawberry Perl 5.12.0, with that version, the first
lines of pl2bat.bat are:

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl

But I am running Strawberry Perl 5.12.2.0, and with this (latest) version,
the first lines of pl2bat.bat are:

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
"%~dp0perl.exe" -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
"%~dp0perl.exe" -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
Now is my scratch-drive drive D: (install-files are there, as well as
build-dir etc...), and I've build Strawberry Perl 5.12.2.0 on
drive E:, so there is my perl (pointed to this location in my PATH).

So this latest version of Strawberry Perl (5.12.2.0) isn't ready for
PAR::Packer 1.009 install?

Regards, Abel.

2011/4/12 Roderich Schupp via RT <[email protected]>

> <URL: https://rt.cpan.org/Ticket/Display.html?id=67380 >
>
> On 2011-04-11 16:14:08, [email protected] wrote:
> > "%~dp0perl.exe" -x -S %0 %*
>
> This is the culprit. It means: "call perl.exe on the same drive
> in the same directory as this batch file" which is totally bogus.
>
> pp.bat is generated by pl2bat.bat which usually comes with your
> Perl distribution. I checked with ActiveState Perl 5.10.1 and
> Strawberry Perl 5.12.0 and their pl2bat.bat doesn't generate
> such a line, so I suggest you look for some rogue pl2bat.bat
> in your PATH.
>
> Cheers, Roderich
>

Reply via email to