[OS X TeX] texdoctk

Paul McCann paul.mccann at adelaide.edu.au
Thu Jan 26 19:43:26 EST 2006


Peter Dyballa wrote:

> 	texdoctk --help
> 	Can't locate Tk.pm in @INC (@INC contains: /System/Library/Perl/ 
> 5.8.6/darwin-thread-multi-2level

[... similar path-checking lines deleted]

This means  that you don't have Perl's Tk module installed in a place  
where it can be found by your current perl installation. I just  
checked, and am very pleased to be able to report that Tk "just  
works" now under Tiger. That is, the installation completes without a  
hitch.

So here's the low-down. You need X11 installed and running (so that  
the tests don't fail). You'll need your DISPLAY set to :0.0 (again to  
run the tests, but that may be the default in any case). For what  
it's worth then, bung

export DISPLAY=:0.0

in your bash-like shell initialization file if it's not there already  
(.zlogin for zsh, or .profile for bash), or if you're still on tcsh use

setenv DISPLAY :0.0

in your .login file. Crank up X11, then open a *new* terminal window  
and enter

      sudo cpan

If it's your first time using cpan you'll be asked some questions,  
almost all of which can be given the default responses. Post that  
(but still with the "cpan>" prompt showing) you can get to where you  
need to be with

      install Tk

Sit back, relax, and hopefully enjoy the ride...

Best of luck,
Paul
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list