aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/expect-inst.xml
blob: 73fefd214d519203eb51b751faadc448faa28c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Expect</title>

<para>First apply a patch:</para>

<para><screen><userinput>patch -Np1 -i ../expect-&expect-patch-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=/tools --with-tcl=/tools/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>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 source directories of both Tcl and Expect.</para>

</sect2>