http://qs1969.pair.com?node_id=1063998

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

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!