in reply to PAR Packer exe file doesn't run

What could be the reason for that?

See Basic debugging checklist, turn on debugging, and you tell us

See also PAR::FAQ, PAR::Tutorial, Re: Packaged binary fails on perlless systems [win32]

Replies are listed 'Best First'.
Re^2: PAR Packer exe file doesn't run
by Microcebus (Beadle) on Jul 15, 2011 at 09:52 UTC

    hmm... where do I have to turn on debugging? In the par.pl file? How can I do this? By adding the line

    $ENV{PAR_GLOBAL_DEBUG}=1;

    ???

Re^2: PAR Packer exe file doesn't run
by Anonymous Monk on Jul 15, 2011 at 10:42 UTC

    ok. debugging is turned on. While packing I get sevaral messages like

    Unpacking file "7fef71be/AutoLoader.pm"...

    but exe file still doesn't run, script runs without problems

      ok. debugging is turned on. While packing I get sevaral messages like Unpacking file "7fef71be/AutoLoader.pm"... but exe file still doesn't run, script runs without problems

      You should be getting the same messages when running the program

      $ pp -e " use Tk; tkinit->MainLoop " $ set PAR_GLOBAL_DEBUG=1 $ a ... Unpacking file "ffd69863/auto/Fcntl/Fcntl.dll"... $ENV{PAR_TEMP} = ...

      Are you sure you set the enviromental variable in the shell?

      I would do as Basic debugging checklist suggests, and start inserting print statements into your program

        With your example I get the same messages. But my exe file produces nothing. I cannot figure out any bug in the script. As I mentioned, there is no warning or error message when I run the script.