*BSD News Article 40022


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!newsroom.utas.edu.au!tasman.cc.utas.edu.au!jlovell
From: jlovell@tasman.cc.utas.edu.au (James E. J. Lovell)
Newsgroups: comp.os.386bsd.questions
Subject: Problems with Tk binary installation.
Date: 30 Dec 1994 04:17:14 GMT
Organization: University of Tasmania, Australia.
Lines: 25
Message-ID: <3e01ka$7p0@franklin.cc.utas.edu.au>
NNTP-Posting-Host: tasman.cc.utas.edu.au

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?

Cheers,
Jim.

--
Jim Lovell, Radioastronomy PhD student, University of Tasmania, Australia.
email: jim.lovell@phys.utas.edu.au