Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: PAR Packer exe file doesn't run

by Anonymous Monk
on Jul 15, 2011 at 07:16 UTC ( [id://914515]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://914515]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-26 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found