|
@@ -41,13 +41,7 @@
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
<title>Installation of Expect</title>
|
|
<title>Installation of Expect</title>
|
|
|
|
|
|
- <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-tk-patch;</userinput></screen>
|
|
|
|
-
|
|
|
|
- <para>Next, force Expect's configure script to use <filename>/bin/stty</filename>
|
|
|
|
|
|
+ <para>First, 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.
|
|
instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system.
|
|
This will ensure that our test suite tools remain sane for the final builds of our
|
|
This will ensure that our test suite tools remain sane for the final builds of our
|
|
toolchain:</para>
|
|
toolchain:</para>
|
|
@@ -58,7 +52,7 @@ sed 's:/usr/local/bin:/bin:' configure.orig > configure</userinput></screen>
|
|
<para>Now prepare Expect for compilation:</para>
|
|
<para>Now prepare Expect for compilation:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \
|
|
<screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \
|
|
- --with-tclinclude=/tools/include --with-tk=no</userinput></screen>
|
|
|
|
|
|
+ --with-tclinclude=/tools/include</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
<variablelist>
|
|
<title>The meaning of the configure options:</title>
|
|
<title>The meaning of the configure options:</title>
|
|
@@ -82,16 +76,6 @@ sed 's:/usr/local/bin:/bin:' configure.orig > configure</userinput></screen>
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
|
|
|
|
- <varlistentry>
|
|
|
|
- <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
|
|
|
|
- may reside on the host system but will not exist in the temporary
|
|
|
|
- environment.</para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
-
|
|
|
|
</variablelist>
|
|
</variablelist>
|
|
|
|
|
|
<para>Build the package:</para>
|
|
<para>Build the package:</para>
|