Mon Feb 07 11:25:16 2011: Request 65535 was acted upon.
Transaction: Ticket created by [email protected]
       Queue: PAR
     Subject: Unable to run perl script packaged with pp under cygwin on 
another Windows XP installation
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65535 >


I created a perl script parseDealerFiles.exe with pp:
pp -o parseDealerFiles.exe  -c read_agency.pl 

The resulting package runs fine on the build system. On other platforms, 
however, it fails. On a clean XP box (no cygwin or perl installed), it fails 
with
> parseDealerFiles.exe
/cygdrive/c/DOCUME~1/OCHEYE~1/LOCALS~1/Temp/par-OCheyette/cache-f3bb3a3b5cf33a95f9828a5031438146c41d2801/parseDealerFiles:
 error while loading shared libraries:
 cygperl5_10.dll: cannot open shared object file: No such file or directory

This failure happens even though the dll does in fact exist in the cache:
>dir "C:\Documents and Settings\OCheyette\Local 
>Settings\Temp\par-OCheyette\cache-f3bb3a3b5cf33a95f9828a5031438146c41d2801\cygperl5_10.dll"
>

 Directory of C:\Documents and Settings\OCheyette\Local 
Settings\Temp\par-OCheyette\cache-f3bb3a3b5cf33a95f9828a5031438146c41d2801

02/07/2011  07:43 AM         1,665,958 cygperl5_10.dll
               1 File(s)      1,665,958 bytes
               0 Dir(s)  65,451,020,288 bytes free


I attempted to fix this problem by installing a minimal version of cygwin+perl 
on the clean system. That didn't work either - I hit some problem with the 
POSIX 
module:
Can't locate 
./C:/TEMP/par-OCheyette/cache-f3bb3a3b5cf33a95f9828a5031438146c41d2801/inc/lib/auto/POSIX/load_import.al
 in @INC (@INC contains: CODE(0x10a8a680) 
C:/TEMP/par-OCheyette/cache-f3bb3a3b5cf33a95f9828a5031438146c41d2801/inc/lib 
C:/TEMP/par-OCheyette/cache-f3bb3a3b5cf33a95f9828a5031438146c41d2801/inc 
CODE(0x108034a0) CODE(0x108039b0) /sfcore/Portfolio/Scripts) at POSIX.pm line 25

Version information:
> perl --version
This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int
(with 13 registered patches, see perl -V for more detail)
...
> pp --version
PAR Packager, version 1.008 (PAR version 1.002)
Copyright 2002-2009 by Audrey Tang <[email protected]>
...

Reply via email to