lfs/chapter05/expect-inst.xml

30 lines
845 B
XML
Raw Normal View History

<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-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>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>