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


In reply to Re^3: X11 emulation on mac OS by jfbmonk
in thread X11 emulation on mac OS by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.