Re: importing Tk package



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.

.



Relevant Pages

  • Re: logic analyzer signal tap 2 - writing data
    ... matlab to Quartus Tcl? ... When you click on the insystem_memory_edit package in the ... # Write memory content using the hex memory file ... i am trying to load the quartus_stp package, ...
    (comp.arch.fpga)
  • Re: logic analyzer signal tap 2 - writing data
    ... not a TCL package. ... executable provides a TCL shell environment that loads a number of TCL ... # Write memory content using the hex memory file ... i am trying to load the quartus_stp package, ...
    (comp.arch.fpga)
  • Re: Error reading delimited list
    ... Likewise in LOAD, the usual thing I do in all of my programs that want ... load does not prevent to load-time code from modifying the package ... advocating a terrible programming style by doing this. ... It's good to understand the power at one's fingertips. ...
    (comp.lang.lisp)
  • Re: Failure integrating .NET GPL version of GNAT into Visual Studio 2005
    ... I get a package load failure error ... For assistance, contact the package vendor. ... It took a bit of hacking on the .reg file, but I got VS to start. ...
    (comp.lang.ada)
  • Re: Package: symbol reading woes
    ... The Lisp package system is not ... I'm not too worried about pollution. ... forms successively -- the only way to do that might be to use LOAD. ...
    (comp.lang.lisp)