lfs/chapter06/libtool-inst.xml

36 lines
1.0 KiB
XML
Raw Normal View History

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Libtool</title>
<para>This package requires its patch to be applied before you can
install it. Issue the following command to apply the patch:</para>
<para><screen><userinput>
patch -Np1 -i ../libtool-&libtool-patch-version;.patch &amp;&amp;
</userinput></screen></para>
<para>Prepare Libtool to be compiled:</para>
<para><screen><userinput>
./configure --prefix=/usr</userinput></screen></para>
<para>Continue with compiling the package:</para>
<para><screen><userinput>make</userinput></screen></para>
<para>And finish off installing the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>
<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../libtool-&libtool-patch-version;.patch</userinput>:
This patch fixes an incompatibility between Autoconf 2.53 and Libtool 1.4.x.
Specifically, the deprecated m4 macro AC_PROVIDE_AC_LIBTOOL is replaced by
AC_PROVIDE_ELSEIF.</para>
</sect2>