in reply to Re: OS X ElCaptain Activeperl Tk
in thread OS X ElCaptain Activeperl Tk

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?

Replies are listed 'Best First'.
Re^3: OS X ElCaptain Activeperl Tk
by kevbot (Vicar) on Jun 17, 2016 at 06:30 UTC
    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.