I upgraded my Mac OS to 10.9 from 10.8.

Tk is no longer working (I guess - but am not sure - that they replaced perl with a newer version?)

I have X11 installed already, but when I run cpan install Tk I get the following error

Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.6.dylib Cannot find X include files via /usr/X11R6/include Cannot find X include files anywhere. Could not read metadata file. Falling back to other methods to determi +ne prerequisites make: *** No targets specified and no makefile found. Stop.
I do have the file /usr/X11R6/lib/libX11.6.dylib but obviously it can't find it.

So, how do I let cpan know where to find it?

If all else fails, I could go to backup files, but I think this is something that I should know.

By the way, I did search google for an answer, but couldn't find anything recent, and understandable by me.

Thanks,

Sandy

UPDATE: Even though X11 was installed, it needed to be re-installed. Why?... I don't know, but I did, and now I was able to reinstall Tk. Go figure!


In reply to Re-installing Tk.pm on Mac 10.9 by Sandy

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.