I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-04-06 16:42:39.849526-07 by pnewkirk
Missing dll

I have built a simple 'Hello World!' Perl program into an executable using pp -o mytest.exe mytest.pl. This runs fine when the PATH includes the C compiler directory, but if I run it without I get the message 'The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.' Including the library with the -l option has no outward effect, though it is included in the executable (I've unzipped it to verify) and does appear to go into the cache directory (in Par::Packer version 1.008 it was under the inc/shlib subdirectory, and in version 1.009 it is in the main directory).


I am running:
-Windows 7 Professional
-ActivePerl 5.12.3 (32 bit)
-MinGW gcc 4.5.2 (where the libgcc_s_dw2-1.dll is from)
-PAR 1.002
-Module-ScanDeps 1.02
-PAR-Packer 1.009


Background: I'm looking to build some programs to simplify my organization's internal processes. No one else is familiar with Perl or C, and I can't make people learn or install it on their computers. In the event that I'm away and can't run the processes, I could leave programs to run with simple instructions. pp seems to be a good solution so that I can use Perl, except for this issue.


What am I doing wrong?

Direct Responses: 13291 | Write a response