Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Perl/Tk and PAR::Packer on OS X

by elef (Friar)
on Nov 24, 2013 at 14:12 UTC ( #1064117=note: print w/ replies, xml ) Need Help??


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

Could you share that executable here or mail it to quca1@freemail.hu?
I know nothing about this stuff but it seems possible that the compiled executable requires X11 to be running and won't work otherwise. Hopefully, it's packaged in if it's needed but you never know. If I could have a mac user test your executable, I would have some info before trying to guide somebody through packaging up my whole app.


Comment on Re^4: Perl/Tk and PAR::Packer on OS X
Re^5: Perl/Tk and PAR::Packer on OS X
by Anonymous Monk on Nov 24, 2013 at 23:10 UTC
      Well, it's nice to have Tk bundled in (and I see it also has DBI and DBD::SQLite) but that's not the main issue. Hopefully, the modules would install on other perls without issue too.
      I imagine that using citrusperl has no bearing on the necessity of running X11 for the Tk gui to work. I.e. whoever packages my script for me for me would still need to download and run X11, and so would everyone who wants to run the compiled executable.
Re^5: Perl/Tk and PAR::Packer on OS X
by kcott (Abbot) on Nov 25, 2013 at 04:45 UTC

    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

      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? :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-04-17 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls