Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Par Packer - gui option problems

by Anonymous Monk
on Dec 14, 2011 at 10:22 UTC ( #943519=note: print w/replies, xml ) Need Help??

in reply to Re^2: Par Packer - gui option problems
in thread Par Packer - gui option problems

BUG or unknown feature in pp: dll files are not extracted

-a is for data, -l is for dlls

... cygwin1.dll ...

mingw perl uses

$ perl -V:sh sh='/bin/sh';

IIRC cygwin uses the same thing (but its been a long while since I cygwin)

win32 perl uses

$ perl -V:sh sh='cmd /x /c';

So once you pack with par/pp into an .exe, it can't find /bin/sh, because it doesn't exist (the .exe doesn't know about the cygwin enviroment/$PATH etc, its a win32 program), or /bin/sh doesn't know how to call a .batch file

In short, avoid the shell, or call the right shell

I haven't the time to post a working example , but I you should be able to gain some wisdom by reading these


Re: Problem in creating exe using PAR module, Re^2: Packaging Perl Programs (is) Painful, Re: Building a Mojolicious app with PAR::Packer

Re: Pack multiple scripts in executables with one shared core dll

Re: system() implementation on Windows (again), Re^3: system() implementation on Windows (again) Everyone quotes command line arguments the wrong way

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://943519]
[pryrt]: stevieb: going thru cblast to get caught up, I see that strawberry fixed their download hashes. Fast turnaround on that fix. :-)
[pryrt]: Are you going to tie the berrybrew expected hashes to their releases.json to keep it always up-to-date?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-03-30 13:19 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (357 votes). Check out past polls.