http://www.perlmonks.org?node_id=1064183


in reply to Re^4: Perl/Tk and PAR::Packer on OS X
in thread Perl/Tk and PAR::Packer on OS X

Firstly, perhaps a clarification. When I wrote "It runs without incident: I don't imagine it's something you'll need to worry about.", my intention was to indicate that, once running, you'll have nothing further to worry about. Maybe you mistakenly read it as: "You don't need to worry about running it.".

Take a look at the PAR::FAQ. While some of it may not be relevant to you, it isn't long and you'd do well to at least scan through all of it; in particular, see "On what platforms can I run PAR? On what platforms will the resulting executable run?".

For what it's worth, the "X Window System" I'm running is XQuartz 2.7.0 (xorg-server 1.11.1). This is not packaged as part of Tk.

I suggest you get your user to run the script I provided (pm_test_pp_tk.pl) and resolve any issues you have with that. When you're happy with the script, move on to pp and start testing the executable. Compiling and emailing executables sets a precedent I'm not happy with: I won't be doing this.

Searching for "X11" in your search engine should provide you with much useful information on this topic.

-- Ken

Replies are listed 'Best First'.
Re^6: Perl/Tk and PAR::Packer on OS X
by elef (Friar) on Nov 25, 2013 at 11:16 UTC
    Not distributing binaries as a matter of principle is fair enough.


    'Take a look at the PAR::FAQ. While some of it may not be relevant to you, it isn't long and you'd do well to at least scan through all of it; in particular, see "On what platforms can I run PAR? On what platforms will the resulting executable run?".'

    Well, that bit says that PAR supports OSX, and OSX binaries will run on platforms that support OSX binaries. Nothing new there, and nothing about whether X11 is required and whether X11 will get packaged into the executable or not. I wouldn't expect to have that info there either.
      Does X11 come with OsX? If yes, don't package it, if no, package it along with tk -- its just another library right? :)