Sun Jun 23 21:34:50 2013: Request 86178 was acted upon. Transaction: Correspondence added by rob.hul...@hp.com Queue: PAR-Packer Subject: RE: [rt.cpan.org #86178] 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: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86178 >
Hi Roderich, Thanks for the update. I had already tried the -a option and it was still the same. Commenting out the "next if" line has worked. Will there be any future change to avoid this, I don’t like having non-standard modules unless absolutely necessary? Many thanks, Rob Rob Hulley HP storage Support Specialist Global Storage Competency Centre HP Enterprise Business rob.hul...@hp.com T +61 7 38241688 M +61413458281 Hewlett-Packard Company Alexandra Hills, QLD. 4161 Australia -----Original Message----- From: Roderich Schupp via RT [mailto:bug-par-pac...@rt.cpan.org] Sent: Sunday, 23 June 2013 2:12 AM To: Hulley, Rob (APJ GCC Storage TPM) Subject: [rt.cpan.org #86178] dll files not extracted to shlib subfolder when using -l or to other folder when using -a <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