Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 7723
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: p.r.brady [...] bangor.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.63
Fixed in: (no value)



Subject: pp fails Compress::Zlib object version 1.22 does not match...
I'm trying to generate a self-contained executable with pp but it is fighting back and I think I have a major misunderstanding somewhere! PAR seemed to install okay so I started with a really easy first example: use warnings; use strict; print "hello\n"; perldoc pp seems to suggest that all I do is: ‘pp test.pl’ but this gives: Compress::Zlib object version 1.22 does not match bootstrap parameter 1.16 at /loader/0x8b08b8/DynaLoader.pm line 225 Compilation failed in require at /loader/0x8b08b8/Archive/Zip.pm line 24 BEGIN failed - compilation aborted at /loader/0x8b08b8/Archive/Zip.pm line 24 Compilation failed in require in par.pl line 252 Version of perl is v5.6.1 with one locally built patch 638 and I'm running under Win XP. I’m sure it’s a misunderstanding on my part rather than a bug. Curiously, the -log feature of pp doesn't work either: pp test.pl -log does not log, and redirection fails too: pp test.pl>test.log so the above response is hand copied – not happy with that but all I can do. A ppm query Compress.Zlib confirms that the version is 1.22 Verify PAR confirms PAR is up to date but query PAR returns [0.63] This cannot be a bug, but what might I be doing wrong? Any advice really appreciated! Regards Phil Brady
From: p.r.brady [...] bangor.ac.uk
[guest - Tue Sep 21 08:02:55 2004]: Show quoted text
> I'm trying to generate a self-contained executable with pp but it is > fighting back and I think I have a major misunderstanding somewhere! > PAR seemed to install okay so I started with a really easy first > example: > > use warnings; > use strict; > print "hello\n"; > > perldoc pp seems to suggest that all I do is: ‘pp test.pl’ but > this gives: > Compress::Zlib object version 1.22 does not match bootstrap parameter > 1.16 at /loader/0x8b08b8/DynaLoader.pm line 225 > Compilation failed in require at /loader/0x8b08b8/Archive/Zip.pm line > 24 > BEGIN failed - compilation aborted at /loader/0x8b08b8/Archive/Zip.pm > line 24 > Compilation failed in require in par.pl line 252 > > Version of perl is v5.6.1 with one locally built patch 638 and I'm > running under Win XP. > I’m sure it’s a misunderstanding on my part rather than a bug. > Curiously, the -log feature of pp doesn't work either: > > pp test.pl -log does not log, and redirection fails too: > pp test.pl>test.log > > so the above response is hand copied – not happy with that but all I > can do. > A ppm query Compress.Zlib confirms that the version is 1.22 > Verify PAR confirms PAR is up to date but query PAR returns [0.63] > This cannot be a bug, but what might I be doing wrong? > Any advice really appreciated! > > Regards > Phil Brady >
Resolved this now! PAR version 0.63 is not compatible with Perl release v5.6.1 build 638 for MS Windows. Removing PAR 0.63 and installing version 0.85 has fixed it. I don't know how I ended up with 0.63 but it was only acquired last week! Regards Phil