diff options
Diffstat (limited to 'chapter05/expect.xml')
-rw-r--r-- | chapter05/expect.xml | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/chapter05/expect.xml b/chapter05/expect.xml index 7ba3c7119..32662380c 100644 --- a/chapter05/expect.xml +++ b/chapter05/expect.xml @@ -37,7 +37,7 @@ suite run:</para> <para>Now prepare Expect for compilation:</para> <screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \ - --with-tclinclude=$TCLPATH --with-x=no</userinput></screen> + --with-tclinclude=/tools/include --with-x=no</userinput></screen> <para>The meaning of the configure options:</para> @@ -50,11 +50,10 @@ one on the host system.</para></listitem> </varlistentry> <varlistentry> -<term><parameter>--with-tclinclude=$TCLPATH</parameter></term> -<listitem><para>This explicitly tells Expect where to find Tcl's source -directory and internal headers. Using this option avoids conditions -where <command>configure</command> fails because it cannot automatically -discover the location of the Tcl source directory.</para></listitem> +<term><parameter>--with-tclinclude=/tools/include</parameter></term> +<listitem><para>This explicitly tells Expect where to find Tcl's internal headers. +Using this option avoids conditions where <command>configure</command> fails because +it cannot automatically discover the location of Tcl's headers.</para></listitem> </varlistentry> <varlistentry> @@ -90,12 +89,6 @@ scripts, which are not needed.</para></listitem> </varlistentry> </variablelist> -<para>Now remove the <envar>TCLPATH</envar> variable:</para> - -<screen><userinput>unset TCLPATH</userinput></screen> - -<para>The source directories of both Tcl and Expect can now be removed.</para> - </sect2> <sect2 id="contents-expect" role="content"><title>Contents of Expect</title> |