home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / tcl / 1046 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!news.yale.edu!doctor.chem.yale.edu!lim
  3. From: lim@doctor.chem.yale.edu (Dongchul Lim)
  4. Subject: Re: tk_butDown and tk_butUp
  5. Message-ID: <1992Jul27.173512.12261@news.yale.edu>
  6. Sender: news@news.yale.edu (USENET News System)
  7. Nntp-Posting-Host: doctor.chem.yale.edu
  8. Organization: Yale University
  9. X-Newsreader: Tin 1.1 PL4
  10. References: <1992Jul25.052156.5591@cs.yale.edu>
  11. Date: Mon, 27 Jul 1992 17:35:12 GMT
  12. Lines: 30
  13.  
  14. lim@doctor.chem.yale.edu (Dongchul Lim) writes:
  15. : I compiled tcl6.3 and tk2.1 on our SGI4D running IRIX 4.0.1.
  16. : Then I tested 'wish' with demo programs.
  17. : Whenever I tried to click on a button, I got the following
  18. : error message:
  19. : tkerror failed to handle background error.
  20. :     Original error: invalid command name "tk_butDown"
  21. :     Error in tkerror: invalid command name "tkerror"
  22. : Does this mean 'tk_butDown' command desn't exist?
  23. : Or have I done something wrong with compilation?
  24. : -dcl
  25.  
  26. I'm posting this for the people who might have the same
  27. probelm.
  28. Thanks to people who replied. Most of them pointed out that
  29. library directory might have not been installed properly.
  30. In fact, there's nothing wrong with library path. When I
  31. compiled tcl and tk, I redefined TCL_LIBRARY and TK_LIBRARY
  32. (something like /usr/people/lim/lib) in Makefiles, because
  33. I don't have a root access so I can't install them in
  34. /usr/local/lib. Later I put all *.tcl, libtcl.a and libtk.a
  35. in the library directory (as defined by TK_LIBRARY and TCL_
  36. LIBRARY). Now 'wish -f demo.tk' will work fine? Not on my
  37. system (SGI IRIX 4.0.1). Problem was that some tcl scripts
  38. (in my case, button.tcl) were not loaded automatically.
  39. As Justin Seiferth indicated, after I concatenated button.tcl
  40. to tk.tcl, problem was solved.
  41. -dcl
  42.  
  43.