diff options
Diffstat (limited to 'chapter05/expect.xml')
-rw-r--r-- | chapter05/expect.xml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/chapter05/expect.xml b/chapter05/expect.xml index 108edacdf..e1a9d9dbc 100644 --- a/chapter05/expect.xml +++ b/chapter05/expect.xml @@ -41,13 +41,7 @@ <sect2 role="installation"> <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. This will ensure that our test suite tools remain sane for the final builds of our toolchain:</para> @@ -58,7 +52,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-tk=no</userinput></screen> + --with-tclinclude=/tools/include</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -82,16 +76,6 @@ sed 's:/usr/local/bin:/bin:' configure.orig > configure</userinput></screen> </listitem> </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> <para>Build the package:</para> |