in reply to Creating Standalone Win32 Executable

I received your /msg asking for help with this. I had read the post, and the replies, I'm not sure what I can add to the existing answers, but here we go.

Consider running with the -x option:

pp -x myscript.pl

Then test the executable created. Please read and understand the pp documentation and http://par.perl.org. If you have further problems please provide more details.

Replies are listed 'Best First'.
Re^2: Creating Standalone Win32 Executable
by bihuboliya (Acolyte) on Jul 20, 2012 at 09:20 UTC
    Hi... I got it running in the client machine after copying the per514.dll file from my machine to the current folder of the client machine where there is no Perl installation :) However, please let me know if somehow I could make the dll file included in the exe itself. By the way, it seems pp does check for all the dependencies and included them while making the exe.

      Well something is going wrong. Perhaps you're not following the pp -x .... advice you've been given several times now, or there could be something else going on. You haven't provided any other information so there's little I can do to help which wouldn't simply be research you could do yourself.

      please let me know if somehow I could make the dll file included in the exe itself.

      Have you even read the docs?

      -l, --link=FILE|LIBRARY Add the given shared library (a.k.a. shared object or DLL) into th +e packed file. Also accepts names under library paths; i.e. -l ncurse +s means the same thing as -l libncurses.so or -l /usr/local/lib/libnc +urses.so in most Unixes. May be specified multiple times.

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh
        Hi Zentara,

        I have already tried with that, but still am getting the error messages 'program cannot start because perl514.dll is missing...'

        I used the command: pp --link=perl514.dll -o final.exe myScript.pl. I kept the dll file in the current folder to have pp see it.

        Have you even read the docs?

        Have you?

        No need to gang-up on the newbie, I think i was doing fine by myself ::)

        perl514.dll shouldn't be missing, its integral to par/pp, it should get packed each time, so -l option shouldn't be used for perl514.dll