in reply to Re^2: X11 emulation on mac OS
in thread X11 emulation on mac OS

please, if I am to use Tcl::Tk on OSX 10.4 rather than use::Tk (which needs to be run form X11 console?) What are the key steps?

Summarizing: Where and how do I use the native version of the Tk on the 0SX 10.4 ?

Assume I've made the apparent mistake of following Lidie's advice,

http://www.lehigh.edu/~sol0/Macintosh/X/ptk/ # see END NOTE 1 for context of what Lidie wrote if the link is broken):

I've downloaded from http://search.cpan.org/~ni-s/Tk-804.027/ and installed TK on my new OSX 10.4 mac mini. During the make test I see multiple failures of the following type:

'couldn't connect to display ":0" at /Tk-804.027/blib/lib/Tk/MainWindow.pm line 55.' because I didn't use X11 .

R Schwartz wrote there is a native version of Tk already on my 10.4, that doesn't require the X11 . (Although I've got X11 installed from my disks, I honestly don't even know how to start this X11 consolre either)

If this is correct, where do I, and how do I use this X11 free TK? when I attempted my first simple perl file with "use TK;" prior to my incomplete attempt to properly download, make and test the CPAN TK-804... I had a failure with that script because the OS10.4 perl didn't have a TK module available. If you can, please provide specifics and details.

thanks, JB

END NOTE 1 Lidie wrote: Perl/Tk and Mac OS X 10.4 (Tiger) You can use the Perl 5.8.6 that comes with Tiger or build it yourself. Now fetch the Perl/Tk distribution, (Tk-804.027)(http://search.cpan.org/~ni-s/Tk-804.027/) . Unpack Perl/Tk and build it using the standard idiom: tar -zxvpf Tk-804.027.tar.gz cd Tk-804.027 perl Makefile.PL make make test # here is where I have the issue where this test fails. sudo make install