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

Re: OS X ElCaptain Activeperl Tk

by kevbot (Priest)
on Jun 16, 2016 at 04:01 UTC ( #1165816=note: print w/replies, xml ) Need Help??


in reply to OS X ElCaptain Activeperl Tk

Do you have Xquartz installed? The Library not loaded: /opt/X11/lib/libX11.6.dylib message makes me think that you might not have it installed.

Replies are listed 'Best First'.
Re^2: OS X ElCaptain Activeperl Tk
by Anonymous Monk on Jun 16, 2016 at 05:56 UTC

    Hello kevbot, that was ist!!! THANK YOU! I have a couple of questions, as I couldn't find any answer on the Wen. 1) Why does it need X11 (if Tkx runs without it without problems)? 2) If I deploy the software to other users... will they need to install X11 to?

      Hello Anonymous Monk,

      Tk and Tkx are different implementations. Tkx appears to have support for Aqua and/or X11 while Tk requires X11 (see this thread: building Tk without X11 on mac OS).

      If you are not using a packager and intend to deploy your script simply by providing a copy of the script, the end users will need to have Xquartz and all required perl modules installed. If you wish to give your users a stand-alone executable, you could try to package up your app using PAR::Packer. This thread (Perl/Tk and PAR::Packer on OS X) has a discussion on trying to create a stand-alone executable of a Perl/Tk app; however, the conclusion seems to be that the end users of the executable would still need to have Xquartz installed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1165816]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-10-22 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (275 votes). Check out past polls.

    Notices?