Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hey fellas,

I'm trying to build ActiveStates version of Perl/Tk on mac OS X 10.4.
Here's my situation:
I had installed X11 after installing ActiveStates version 5.8.8 of Perl in order to run some of my Tk apps. I would like to be able to run my apps without having to laucnh them from an X11 terminal.
I've removed Xll and thought I would simply be able to recompile Tk against the native Cocoa installation but it complains about not being able to find X11.
Am I done or is there something I can do?

As always thanks for the help

Replies are listed 'Best First'.
Re: building Tk without X11 on mac OS
by merlyn (Sage) on Apr 30, 2007 at 12:53 UTC
    You can get native widgets on OSX using Tcl::Tk. It has a "compatibility mode" with Perl/Tk, although you'll have to do a source edit when you port programs from X11-based Tk to native Tk.
Re: building Tk without X11 on mac OS
by akho (Hermit) on Apr 30, 2007 at 09:41 UTC
      I know it was mention here but I think I'm missing something with my setup. Any thoughts?