Sat Jun 22 12:11:53 2013: Request 86178 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: dll files not extracted to shlib subfolder when using -l or to 
other folder when using -a
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: rob.hul...@hp.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86178 >


On 2013-06-16 09:09:52, rob.hul...@hp.com wrote:
> I have everything working except when I run the program the dll file
>    is not extracted to the temp folder.

You probably run afoul of the following lines in PAR.pm
(starting on line 726):

      # Skip DLLs (these will be handled by the dynaloader hook) 
      # except for those placed in File::ShareDir directories.
      next if (m{\.\Q$dlext\E[^/]*$} && !m{^lib/auto/share/(dist|module)/}); 

But the dynaloader hook is not invoked for your dll (it's only called
for Perl XS "glue dlls"). 

Try commenting out the "next if..." statement (shouldn't have any negative
consequences) and re-pack your script.

Or you might try to use the

   -a "source_dir;target_dir"

notation to pack the tkdnd stuff into a different target_dir (in the
executable) where target_dir matches the second regex above. You may need
to modify stuff that refers to source_dir, though.

Cheers, Roderich


Reply via email to