|
@@ -38,7 +38,8 @@ suite run:</para>
|
|
|
|
|
|
<para>Now prepare Expect for compilation:</para>
|
|
|
|
|
|
-<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib --with-x=no</userinput></screen>
|
|
|
+<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
|
|
|
+ --with-tclinclude=$TCLPATH --with-x=no</userinput></screen>
|
|
|
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
@@ -50,6 +51,13 @@ the temporary tools location instead of possibly locating an existing
|
|
|
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
|
|
|
+containing its internal headers. Using this option avoids conditions where configure fails
|
|
|
+because it hasn't automatically discovered the location of the Tcl source directory.</para></listitem>
|
|
|
+</varlistentry>
|
|
|
+
|
|
|
<varlistentry>
|
|
|
<term><parameter>--with-x=no</parameter></term>
|
|
|
<listitem><para>This tells the configure script not to search for Tk
|
|
@@ -82,6 +90,10 @@ scripts, which are not needed.</para></listitem>
|
|
|
</varlistentry>
|
|
|
</variablelist>
|
|
|
|
|
|
+<para>Now remove the TCLPATH variable:</para>
|
|
|
+
|
|
|
+<screen><userinput>unset TCLPATH</userinput></screen>
|
|
|
+
|
|
|
<para>The source directories of both Tcl and Expect can now be removed.</para>
|
|
|
|
|
|
</sect2>
|