Re: importing Tk package
- From: "Larry W. Virden" <lvirden@xxxxxxxxx>
- Date: Tue, 30 Oct 2007 12:14:05 -0000
On Oct 29, 12:35 pm, ala.netst...@xxxxxxxxx wrote:
I'm using a commercial product that has a built-in Tcl interpreter
(8.4.4). The Tk package is not loaded into this interpreter, and when
I try to do 'package require Tk', I get:
can't find package Tk
What does:
info patchlevel
report?
What does
parray env
say - particularly about env(DISPLAY) ?
What platform is this - unix, mac, windows?
what does
package names
report after you do the above package require ?
What does
puts $auto_path
output - that is the places tcl looks for its packages. Look in the
directories listed to see what packages are found.
Now, wish is correctly installed on the system (also 8.4.4).
Is there a way I could load this external Tk package into the
commercial product?
Older versions of Tcl couldn't load the external Tk package. Also, the
vendor might have statically linked Tk into their wish, to prevent you
from loading it.
Note that your product also might have had dynamic loading turned off.
.
- References:
- importing Tk package
- From: ala . netstuff
- importing Tk package
- Prev by Date: Re: TclOO: questions (Method Chaining, next, my variable)
- Next by Date: Re: Standard DBI Proposal
- Previous by thread: Re: importing Tk package
- Next by thread: Questions about Snit
- Index(es):
Relevant Pages
|