From: <ti...@ma...> - 2004-01-27 06:11:12
|
hey john, ...you'll need to compile tk versus x11: the tcl that comes with OSX is kinda orphaned without a robust tk implementation (guess it's for people doing web setups via apache)...an easy way to install tk for x11 is via fink...otherwise, download the actual sources and compile... l8r, jamie On Monday, January 26, 2004, at 07:49 PM, John Seal wrote: > When running X11 and tclsh8.4, how can I load Tk? [package require > Tk] doesn't do it, and neither does [load {} Tk]. I've tried > massaging the tcl_ and tk_ library and libPaths in various ways with > no success. > > I'm developing an app that has to run either with or without a GUI, so > we can't assume a valid DISPLAY when we start up. > > This is on Panther 10.3.2 with TclTkAquaBI8.4.4 installed, although > I'm not certain that's what I'm getting when I invoke tclsh. "which > tclsh" says /usr/bin/tclsh, which points to /usr/bin/tclsh8.4. |