aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/tcl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/tcl.xml')
-rw-r--r--chapter05/tcl.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml
index ccb183a93..9d8dec092 100644
--- a/chapter05/tcl.xml
+++ b/chapter05/tcl.xml
@@ -68,6 +68,11 @@ Details on the <envar>TZ</envar> environment variable is provided in
<filename class="directory">tcl&tcl-version;</filename> source directory yet, as the next package
will need its internal headers.</para></warning>
+<para>Set a variable containing the full path of the current directory.
+The next package, Expect, will use this variable to find Tcl's headers.</para>
+
+<screen><userinput>export TCLPATH=`pwd`</userinput></screen>
+
<para>Now make a necessary symbolic link:</para>
<screen><userinput>ln -s tclsh8.4 /tools/bin/tclsh</userinput></screen>