mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
39dbad2e34
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2856 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
35 lines
1.0 KiB
XML
35 lines
1.0 KiB
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-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 test suite 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>
|
|
|