Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re-installing Tk.pm on Mac 10.9

by Sandy (Curate)
on Nov 23, 2013 at 01:29 UTC ( #1063998=perlquestion: print w/replies, xml ) Need Help??

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!

Replies are listed 'Best First'.
Re: Re-installing Tk.pm on Mac 10.9
by kcott (Bishop) on Nov 23, 2013 at 04:45 UTC

    G'day Sandy,

    "I guess - but am not sure - that they replaced perl with a newer version"

    This sounds like you're using and modifying the system Perl. I wrote about this just yesterday: "Re: Perl/Tk and PAR::Packer on OS X". The first half of that post relates to the system Perl issue.

    From your update, it would appear that X11, not Perl, may have been the cause of the problem. Nonetheless, I would still recommend installing your own version of Perl.

    I'm using Mac OS X 10.7.5, so I can't provide any specific information on your old (10.8) or new (10.9) versions.

    -- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1063998]
Approved by bulk88
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2021-11-30 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?