source: chapter08/libtool.xml

trunk
Last change on this file was 9ac6ff5, checked in by Xi Ruoyao <xry111@…>, 3 months ago

libtool: Add "or newer" after "grep-3.8"

We have grep-3.11 now.

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-libtool" role="wrap">
9 <?dbhtml filename="libtool.html"?>
10
11 <sect1info condition="script">
12 <productname>libtool</productname>
13 <productnumber>&libtool-version;</productnumber>
14 <address>&libtool-url;</address>
15 </sect1info>
16
17 <title>Libtool-&libtool-version;</title>
18
19 <indexterm zone="ch-system-libtool">
20 <primary sortas="a-Libtool">Libtool</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Libtool package contains the GNU generic library support script.
27 It makes the use of shared libraries simpler with a consistent, portable
28 interface.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&libtool-fin-sbu;</seg>
36 <seg>&libtool-fin-du;</seg>
37 </seglistitem>
38 </segmentedlist>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Libtool</title>
44
45 <para>Prepare Libtool for compilation:</para>
46
47<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
48
49 <para>Compile the package:</para>
50
51<screen><userinput remap="make">make</userinput></screen>
52
53<para>To test the results<!--(about 11.0 SBU)-->, issue:</para>
54
55<screen><userinput remap="test">make -k check</userinput></screen>
56
57 <para>Five tests are known to fail in the LFS build environment due
58 to a circular dependency, but these tests pass if rechecked after
59 automake has been installed. Additionally, with grep-3.8 or newer,
60 two tests will trigger a warning for non-POSIX regular expressions and
61 fail.</para>
62
63 <para>Install the package:</para>
64
65<screen><userinput remap="install">make install</userinput></screen>
66
67 <!-- dev: - -disable-static works but causes additional test failures
68 so we manually remove the static library -->
69
70 <para>Remove a useless static library:</para>
71
72<screen><userinput remap="install">rm -fv /usr/lib/libltdl.a</userinput></screen>
73
74 </sect2>
75
76
77 <sect2 id="contents-libtool" role="content">
78 <title>Contents of Libtool</title>
79
80 <segmentedlist>
81 <segtitle>Installed programs</segtitle>
82 <segtitle>Installed libraries</segtitle>
83 <segtitle>Installed directories</segtitle>
84
85 <seglistitem>
86 <seg>libtool and libtoolize</seg>
87 <seg>libltdl.so</seg>
88 <seg>/usr/include/libltdl and /usr/share/libtool</seg>
89 </seglistitem>
90 </segmentedlist>
91
92 <variablelist>
93 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
94 <?dbfo list-presentation="list"?>
95 <?dbhtml list-presentation="table"?>
96
97 <varlistentry id="libtool">
98 <term><command>libtool</command></term>
99 <listitem>
100 <para>Provides generalized library-building support services</para>
101 <indexterm zone="ch-system-libtool libtool">
102 <primary sortas="b-libtool">libtool</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="libtoolize">
108 <term><command>libtoolize</command></term>
109 <listitem>
110 <para>Provides a standard way to add <command>libtool</command>
111 support to a package</para>
112 <indexterm zone="ch-system-libtool libtoolize">
113 <primary sortas="b-libtoolize">libtoolize</primary>
114 </indexterm>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry id="libltdl">
119 <term><filename class="libraryfile">libltdl</filename></term>
120 <listitem>
121 <para>Hides the various difficulties of opening dynamically loaded libraries</para>
122 <indexterm zone="ch-system-libtool libltdl">
123 <primary sortas="c-libltdl">libltdl</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 </variablelist>
129
130 </sect2>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.