diff options
Diffstat (limited to 'chapter05/expect-inst.xml')
-rw-r--r-- | chapter05/expect-inst.xml | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/chapter05/expect-inst.xml b/chapter05/expect-inst.xml index 5d6a714ee..f4f24687b 100644 --- a/chapter05/expect-inst.xml +++ b/chapter05/expect-inst.xml @@ -3,14 +3,27 @@ <sect2> <title>Installation of Expect</title> -<para><screen><userinput>patch -Np1 -i ../expect-&expect-version;.patch -./configure --prefix=/stage1 --with-tcl=/stage1/lib --with-x=no -make +<para>First apply a patch:</para> + +<para><screen><userinput>patch -Np1 -i ../expect-&expect-version;.patch</userinput></screen></para> + +<para>This fixes a bug in Expect that can result in bogus failures during the +GCC test suite run.</para> + +<para>Now prepare Expect to be compiled:</para> + +<para><screen><userinput>./configure --prefix=/stage1 --with-tcl=/stage1/lib --with-x=no</userinput></screen></para> + +<para>Build, test, and install the package:</para> + +<para><screen><userinput>make make test make install</userinput></screen></para> -<para>You can remove the tcl&tcl-version; directory now as well as the -expect directory.</para> +<para>Note that also here some of the tests might fail, and that this is not a +problem here either.</para> + +<para>You can now remove the build directories of both Tcl and Expect.</para> </sect2> |