in reply to Using pp (Perl Packer) with cygwin

:) Stop trying to do that :)

Its been a while since I tried cygwin, but from what I recalled, there can only be one cygwin on the machine (as they all interfere with each), so if you make a par (and pack all the required cygwin bits), if there is another cygwin program running on the machine, chances are it will conflict with the pp/par-ed cygwin ... cygwin dll hell

The general idea with cygwin is to provide cygwin -packages ... if you want par/pp forget about cygwin

If you want to par/pp stick with http://strawberryperl.com/ or activeperl or http://citrusperl.com/ and use the -x and -l options liberally... Re: Problem in creating exe using PAR module, Re^2: Packaging Perl Programs (is) Painful, Re: Building a Mojolicious app with PAR::Packer

  • Comment on Re: Using pp (Perl Packer) with cygwin (don't)

Replies are listed 'Best First'.
Re^2: Using pp (Perl Packer) with cygwin (don't)
by gurpreetsingh13 (Scribe) on May 27, 2014 at 08:32 UTC
    There are no multiple cygwin on a single machine
    I want my "self-contained" exe file(created over cygwin) to run on some machine (without cygwin and without perl) on default command prompt.
    This exe runs perfectly on my machine but not on another machine and gives the error of cygwin1.dll required.
    This simply appears that to run on Windows, I need to use pp using strawberry or ActivePerl. To run on cygwin, I need to build it on cygwin perl. And finally to run on unix machine, I need to build it on unix machine.
    Please correct me if I am wrong.

      This exe runs perfectly on my machine but not on another machine and gives the error of cygwin1.dll required.

      Yes, you said that in your original posting, and I provided the answer already (-x -l depends ... the links)

      This simply appears that to run on Windows, I need to use pp using strawberry or ActivePerl. To run on cygwin, I need to build it on cygwin perl. And finally to run on unix machine, I need to build it on unix machine. Please correct me if I am wrong.

      Well, cygwin is not windows, the end :)

      You , can call cygwin programs from windows, even a pp-ed perl program ... but kinda misses the point of windows and of cygwin, and complicates your perl programs ... why surprise windows people with an unixish cygwin perl program ?

      Have a nice day