lfs/chapter05/expect-inst.xml
Jeremy Utley 0841437890 Dropped non-toolchain tests to optional
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-09-11 20:07:44 +00:00

35 lines
1.0 KiB
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 the package:</para>
<para><screen><userinput>make</userinput></screen></para>
<para>This package has a testsuite available which can perform a number of
checks to ensure it built correctly. Should you choose to run it, the
following command will do so:</para>
<para><screen><userinput>make test</userinput></screen></para>
<para>And install:</para>
<para><screen><userinput>make install</userinput></screen></para>
<para>You can now remove the source directories of both Tcl and Expect.</para>
</sect2>