On Tue, Mar 8, 2011 at 1:58 PM, Travis Williams <trav...@gmail.com> wrote:
> All the DLL's when unziped are the correct size.

Strange. Can you try the following (it's crucial to do it in the order listed):

1. apply the patch below to an unpacked source of PAR
    (adds some diagnostic when extracting DLLs)
2. rebuild and install PAR
3. do a fresh build and install of PAR::Packer
4. re-pack your script
5. completely remove the cache area (C:\temp\par-USER or some such)
6. run the packed executable from step 4;
    this should produce lines like (on stderr)

extracted lib/auto/Digest/MD5/MD5.so to
/tmp/par-ccm_root/cache-ce8e8907c5a3c22d60ba163427934b0262c3cf18/c7868040.so
=> 0

7. post the complete output from step 6

Cheers, Roderich

=== patch follows ===
--- lib/PAR/Heavy.pm.orig       2011-03-08 14:24:55.000000000 +0100
+++ lib/PAR/Heavy.pm    2011-03-08 14:44:30.000000000 +0100
@@ -164,7 +164,9 @@

     if ($fh) {
         binmode($fh);
-        $member->extractToFileHandle($fh);
+        my $rc = $member->extractToFileHandle($fh);
+        printf STDERR "extracted %s to %s => %d\n",
+                      $member->fileName, $filename, $rc;
         close $fh;
         chmod 0755, $filename;
     }

Reply via email to