|
From: | Steve Railsback |
Subject: | Re: [swarm-hackers] tk tcl error |
Date: | Wed, 18 Feb 2009 13:16:00 -0800 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Scott Christley wrote:
My Linux has tk8.4 and Swarm seems to be just fine.I notice that it is mentioning a few directories. Is it possibly that you have multiple tk's installed on your machine, and they are conflicting?
I don't think so. First, I checked for any Tk/Tcl before installing 8.4. And all these directories it lists below do not actually exist, except the first two (/usr/local/...). It looks like it is looking wherever it can think of for /lib or /library directories that might include tk.tcl.
BUT if you look further down in the error message, it looks like it actually DID find tk.tcl and couldn't use it:
>> /usr/local/lib/tk8.4/tk.tcl: no event type or button # or keysym >> no event type or button # or keysym >> while executing Steve
I tried Swarm from CVS and Paul J's 2.2.5 source tarball, and have the same problem. After everything seems to configure and compile OK, when I run a model in graphics mode, I get the following message, even though there is a file tk.tcl in /usr/local/lib/tk8.4:error: TkExtra (instance) Can't find a usable tk.tcl in the following directories:/usr/local/lib/tcl8.4/tk8.4 /usr/local/lib/tk8.4 /home/swarmuser/SwarmApps/inSTREAM_4.2.1a/lib/tk8.4 /home/swarmuser/SwarmApps/lib/tk8.4 /home/swarmuser/SwarmApps/inSTREAM_4.2.1a/library /home/swarmuser/SwarmApps/library /home/swarmuser/SwarmApps/tk8.4.19/library /home/swarmuser/tk8.4.19/library/usr/local/lib/tk8.4/tk.tcl: no event type or button # or keysym no event type or button # or keysym while executing "bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units }"
-- Steve Railsback Lang, Railsback & Associates Arcata, California www.LangRailsback.com
[Prev in Thread] | Current Thread | [Next in Thread] |