Tue Apr 12 09:10:48 2011: Request 67380 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: 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: https://rt.cpan.org/Ticket/Display.html?id=67380 >


On 2011-04-12 08:45:52, [email protected] wrote:
> 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

Err, I just did a clean install of Strawberry 5.12.2.0
(downloaded the MSI from strawberryperl.com)
and this is NOT what I'm seeing - mine's the same as in 5.12.0.
Anyway, "%~dp0perl.exe" is horribly wrong, just
replace it with simply perl.exe everywhere in pl2bat.bat
and then re-build PAR::Packer.

Cheers, Roderich

> 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