Got it!
Tried to install from (as I said) strawberry-perl-5.12.2.0.msi, on my
scratch-drive D: to drive E:\strawberry, but also this is not a good idea!
Install works fine, but every install of extra modules (as I need for
instance Net::Telnet and Net::Telnet::Brcd, and last PAR::Packer) goes to
C:\strawberry instead of E:\strawberry! So that's not a good idea also...
Cleaned again my installs, took strawberry-perl-5.12.2.0.msi again, but now
I installed it to the default, C:\strawberry and YES: all further installs
of the modules I need, went to this very same structure, C:\strawberry...
And finally, I was succesful in installing PAR::Packer 1.009 (all the tests
were completed OK), and that's what it was all about. Now I have pp
available and can start testing.
Take my existing perl-scripts (running as executables on several servers),
make the desired changes, make new executables of these new / changed
scripts with pp and see, what happens!
Thanks for all your support, after all it wasn't the PAR::Packer 1.009 at
all, but all my problems were caused by the unability of several strawberry
installs to deal with installing strawberry on anything else than drive
C:.....!! The makers / builders / maintainers of strawberry distributions
should make changes to their distributions, because the installer lets you
choose where to install strawberry, but it only works (without any changes)
on drive C: !
Regards, cheers, Abel.
2011/4/12 Abel Nijdam <nijdama56@gmail.com>
Show quoted text> Changed pl2bat.bat (took it from strawberry-perl-5.12.0.1.zip) and tried to
> install PAR::Packer 1.009 again, but this made things only worse...
> My build was from strawberry-perl-5.12.2.0-portable.zip
> I will clean this install, then take the install from
> strawberry-perl-5.12.2.0.msi, add the required modules and PAR::Packer 1.009
> again (as you did), and will see, what happens...
> Will keep you posted!
>
> Regards, Abel.
>
> 2011/4/12 Roderich Schupp via RT <bug-PAR-Packer@rt.cpan.org>
>
>> <URL:
https://rt.cpan.org/Ticket/Display.html?id=67380 >
>>
>> On 2011-04-12 08:45:52, nijdama56@gmail.com 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 <bug-PAR-Packer@rt.cpan.org>
>> >
>> > > <URL:
https://rt.cpan.org/Ticket/Display.html?id=67380 >
>> > >
>> > > On 2011-04-11 16:14:08, nijdama56@gmail.com 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
>> > >
>>
>>
>>
>>
>