aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/libtool-inst.xml
blob: ec34765661abfc844c69274e4bb1b85ecbeeb4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<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>