|
@@ -41,14 +41,11 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Expect</title>
|
|
|
|
|
|
- <para>First, fix a bug that can result in false failures during the GCC test
|
|
|
- suite run:</para>
|
|
|
+ <para>First, apply a patch to remove the dependency on Tk, that may be
|
|
|
+ present on the host but will not be available once we enter the
|
|
|
+ <command>chroot</command> environment:</para>
|
|
|
|
|
|
-<screen><userinput remap="pre">patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
|
|
|
-
|
|
|
- <para>Next, fix a bug that is a result of recent Tcl changes:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">patch -Np1 -i ../&expect-tcl-patch;</userinput></screen>
|
|
|
+<screen><userinput remap="pre">patch -Np1 -i ../&expect-tk-patch;</userinput></screen>
|
|
|
|
|
|
<para>Next, force Expect's configure script to use <filename>/bin/stty</filename>
|
|
|
instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system.
|
|
@@ -61,7 +58,7 @@ sed 's:/usr/local/bin:/bin:' configure.orig > configure</userinput></screen>
|
|
|
<para>Now prepare Expect for compilation:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \
|
|
|
- --with-tclinclude=/tools/include --with-x=no</userinput></screen>
|
|
|
+ --with-tclinclude=/tools/include --with-tk=no</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
<title>The meaning of the configure options:</title>
|
|
@@ -86,7 +83,7 @@ sed 's:/usr/local/bin:/bin:' configure.orig > configure</userinput></screen>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
- <term><parameter>--with-x=no</parameter></term>
|
|
|
+ <term><parameter>--with-tk=no</parameter></term>
|
|
|
<listitem>
|
|
|
<para>This tells the configure script not to search for Tk (the
|
|
|
Tcl GUI component) or the X Window System libraries, both of which
|