Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: PAR Packer exe file doesn't run

by Anonymous Monk
on Jul 15, 2011 at 11:03 UTC ( #914547=note: print w/ replies, xml ) Need Help??


in reply to Re^2: PAR Packer exe file doesn't run
in thread PAR Packer exe file doesn't run

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


Comment on Re^3: PAR Packer exe file doesn't run
Download Code
Re^4: PAR Packer exe file doesn't run
by Microcebus (Beadle) on Jul 15, 2011 at 11:18 UTC
    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.

      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.

      Even after specifically inserting print/warn statements?

      Is the temp directory empty? Try specifying an alternate temp directory (like the current directory) and see if it grows

      Maybe your shell is fooling you (no DISPLAY)? Check %ERRORLEVEL% (or equivalent) after executing 'a', and check the file size, and upgrade PAR PAR::Packer to the latest

      $ ls -loanh a.exe -rwxrwxrwx 1 0 12M 2011-07-15 04:27 a.exe $ pmvers PAR PAR::Packer PAR: 1.002 PAR::Packer: 1.010

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-09-23 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls