in reply to Re^3: Compiling Problems with PerlApp! Please Help.
in thread Compiling Problems with PerlApp! Please Help.

dependent executable is not checked. i just had my buddy execute this on his machine and he received the following error: "The program cant start because libcc_s_sjlj.dll is missing from your computer. Try reinstalling the program to fix this problem."

any thoughts?

  • Comment on Re^4: Compiling Problems with PerlApp! Please Help.

Replies are listed 'Best First'.
Re^5: Compiling Problems with PerlApp! Please Help.
by Marshall (Canon) on Oct 18, 2010 at 14:52 UTC
    I did a google search on libgcc_s_sjlj.dll. I couldn't find anything for just "libcc_". One thought: are you building and testing on 32 bit machines or is one of these a 64 bit? PerlApp is a 32 bit program and it makes 32 bit programs.

    As kind of a desperation move, uninstall PerlApp and ActiveState Perl, reboot and then re-install them both. Something may have gone wrong with your installation during some previous experiment. This was suggested before, but I second this: look on the ActiveState site and make sure that your PerlApp is compatible with the version of Perl that you are installing.

    Your program doesn't have any dependencies other than core functions. It should compile and run just fine as an "independent exe".

    Only use ppm to install new modules! ActiveState compiles the stuff in their repository and the installation will include their binary builds when needed. If you ever need to build a binary yourself, install the ActiveState version of mingw (its in their repository and use ppm to do that).

    Update: stuff like this: "I corrected that by pointing the directory to a different location" sounds a bit fishy. You shouldn't have to do anything like that! ppm knows where to install stuff and how to setup the paths. It is possible that you have created a path problem and hopefully the uninstall and re-install will set things right. BTW are you on Vista or XP?

Re^5: Compiling Problems with PerlApp! Please Help.
by emav (Pilgrim) on Oct 18, 2010 at 13:32 UTC

    Sorry for the belated reply.

    I've never come across the error message you quoted and, of course, there is no file named libcc_s_sjlj.dll in my system. I tried to compile your script and (apart from a redundant "my" in the last line) it compiled fine and ran on systems with and without Perl installed (download the compiled script from http://www.iota.gr/test.exe and check it out yourself).

    So, my best guess at this point would be that you are probably using a version of Perl that is not supported by the version of PerlApp that you are running.