Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by kcott (Abbot)
on Nov 22, 2013 at 22:36 UTC ( #1063991=note: print w/ replies, xml ) Need Help??


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

I don't recall any issues with X11. I set this up to start automatically when the system starts. This was a couple of years ago so details are not fresh in my memory. It runs without incident: I don't imagine it's something you'll need to worry about.

I don't use ActiveState or PerlApp: can't help you with those.

-- Ken


Comment on Re^3: Perl/Tk and PAR::Packer on OS X
Re^4: Perl/Tk and PAR::Packer on OS X
by elef (Friar) on Nov 24, 2013 at 14:12 UTC
    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.
        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.

      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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-07-29 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls