Copyright © 2008, 2009 Arndt Roger Schneider
Runtime Library is a collection composite windows–referred to as templates– written in Tcl/Tk.
The Tcl/Tk package mechanism is being used for each individual template.
The entire Runtime Library shall be placed in the
Tcl/Tk search path specified by the special Tcl-Variable:
auto_path
.
the Example 1, “Extending auto_path” inserts the
directory, represented by the environment
variable »MYPRODUCT_HOME«, at the first position of the
auto_path
variable. Every subdirectory
of »MYPRODUCT_HOME«
containing Tcl/Tk packages is
thus also included in the search path. It does suffice to
make the Runtime Library a subdirectory of »MYPRODUCT_HOME«.
Alternatively, the Runtime Library can be installed where Tcl/Tk itself resides. The Tcl/Tk installation place various on the different platforms.
Tcl/Tk Installations
Under AQUA® the Tcl/Tk installation is being located
under /System/Library/Tcl/
.
Make Runtime Library a subdirectory of the Tcl/Tk installation
directory.
Under X11 and Linux® X11 the Tcl/Tk installation
is either /usr/lib/
or /usr/local/lib
,
were /usr/local/lib/
is the default.
Watch for a subdirectory named:tcl8.x
in these
locations and make Runtime Library a sibling directory of it.
There is no need to extend the auto_path variable when Runtime Library is being installed in the conventional Tcl-directory.