lfs/chapter05/expect-inst.xml
Alex Gronenwoud 148bb04f80 Renaming /stage1 to /tools.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-09-02 22:03:51 +00:00

30 lines
849 B
XML

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