Hi,
I would like to share how I got via ppm Installation.
What I tried was:
1.) Install Active Perl
2.) use ppm to install modules PAR-Dist (0.970), PAR (0.970) and
PAR-Packer (0.970) (I prefer http://theoryx5.uwinnipeg.cd/ppms/)
3.) c:\perl\site\bin\pp Helloworld.pl -vvv -o Helloworld2.exe
Set up gcc environment - 3.4.5 (mingw special)
c:\perl\site\bin\pp: Packing Helloworld.pl
c:\perl\site\bin\pp: Writing PAR on ppPBfYA.par
c:\perl\site\bin\pp: ... adding <string> as MANIFEST
c:\perl\site\bin\pp: ... adding <string> as META.yml
c:\perl\site\bin\pp: ... adding <string> as script/Helloworld.pl
c:\perl\site\bin\pp: ... adding <string> as script/main.pl
c:\perl\site\bin\pp: ... updating MANIFEST
c:\perl\site\bin\pp: ... updating META.yml
c:\perl\site\bin\pp: *** ppPBfYA.par: 591 bytes read, 1357 compressed,
-129% saved.
c:\perl\site\bin\pp: Generating a fresh 'parl'.
Perl lib version (v5.8.8) doesn't match executable version (v5.8.6) at
C:/Perl/lib/Config.pm line 46.
Compilation failed in require at C:/Perl/lib/Errno.pm line 8.
BEGIN failed--compilation aborted at C:/Perl/lib/Errno.pm line 8.
Compilation failed in require at C:/Perl/lib/File/Temp.pm line 138.
BEGIN failed--compilation aborted at C:/Perl/lib/File/Temp.pm line 138.
Compilation failed in require at C:/Perl/lib/Archive/Zip.pm line 26.
BEGIN failed--compilation aborted at C:/Perl/lib/Archive/Zip.pm line 26.
Compilation failed in require at -e line 406.
c:\perl\site\bin\pp: Failed to extract a parl from
'PAR::StrippedPARL::Static' to file 'parlArT2Vr0.exe' at
C:/Perl/site/lib/PAR/Packer.pm line 1146, <DATA> line 1.
The reason for failure seems to be that the binary loader contained in
PAR::StrippedPARL::Static (i.e. on the machine the loader was built
with, the machine that the ppm was built) doesn't match with the perl
version my machine (the PAR-Packer user machine)
I got round this by
1.) getting PAR-0.959-MSWin32-x86-multi-thread-5.8.8.par
from CPAN and
2.) replacing PAR::StrippedPARL::Static.pm and
PAR::StrippedPARL::Dynamic.pm in the site\lib by the files contained in
PAR-0.959-MSWin32-x86-multi-thread-5.8.8.par
<Aside>
The PAR::StrippedPARL::Base.pm were different in Line 71 although the
$VERSION was the same. I chose the
my @libs = (map {"-I\"$_\""} @INC);
version ...
</Aside>
3.) c:\perl\site\bin\pp Helloworld.pl -vvv -o Helloworld2.exe
worked ...
(ok not a clean way, but finally more successful than my builds )
Kai