Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!agate!tfs.com!mohamad From: mohamad@nntp.tfs.com (Bring the mountain to me) Subject: Re: Problems with Tk binary installation. Message-ID: <D20n4r.CDs@tfs.com> Sender: usenet@tfs.com (Mr. News) Organization: TRW Financial Systems, Oakland, CA X-Newsreader: TIN [version 1.2 PL2] References: <3e01ka$7p0@franklin.cc.utas.edu.au> Date: Sat, 7 Jan 1995 03:31:38 GMT Lines: 31 James E. J. Lovell (jlovell@tasman.cc.utas.edu.au) wrote: : Hi, : I'm running version 2.0 on my PC and have been having trouble : getting Tk to work. Whenever I try to execute a Tk application : such as wish I get the following message: : Tcl_AppInit failed: can't read "tk_library": no such variable : % : I've read the man pages and they say that setting the environment : variable TK_LIBRARY (which is set in one of the configuration files : when installing from scratch) will override whatever it is currently : set to. I tried this but experienced the same problem. : I installed Tk and Tcl using the pkg_add program from the 2.0-RELEASE : distribution. Both packages were installed in the default directories. : I guess the next thing to try is an full installation, but does anyone : have any ideas as to what I might be doing wrong? You need to install the itcl_1_5.tgz, then execute /usr/local/bin/itcl_wish instead of wish. At least that`s what I had to do to get it working. : Cheers, : Jim. : -- : Jim Lovell, Radioastronomy PhD student, University of Tasmania, Australia. : email: jim.lovell@phys.utas.edu.au mohamad <mohamad@tfs.com>