mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 19:32:03 +00:00
ab6f1859dd
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
30 lines
845 B
XML
30 lines
845 B
XML
<sect2><title> </title><para> </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>
|
|
|