Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: OS X ElCaptain Activeperl Tk

by kevbot (Vicar)
on Jun 16, 2016 at 04:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1165816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found