1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 | <!ENTITY apr-util-download-http
|
---|
8 | "https://archive.apache.org/dist/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
9 | <!ENTITY apr-util-download-ftp "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
10 | <!ENTITY apr-util-md5sum "8ff5dc36fa39a2a3db1df196d3ed6086">
|
---|
11 | <!ENTITY apr-util-size "420 KB">
|
---|
12 | <!ENTITY apr-util-buildsize "6.5 MB (add 1.4 MB for tests)">
|
---|
13 | <!ENTITY apr-util-time "less than 0.1 SBU (add 0.3 SBU for tests)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="apr-util" xreflabel="Apr-Util-&apr-util-version;">
|
---|
17 | <?dbhtml filename="apr-util.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Apr-Util-&apr-util-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="apr-util">
|
---|
26 | <primary sortas="a-Apr-Util">Apr-Util</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Apr Util</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The Apache Portable Runtime Utility Library provides a predictable and
|
---|
34 | consistent interface to underlying client library interfaces. This
|
---|
35 | application programming interface assures predictable if not identical
|
---|
36 | behaviour regardless of which libraries are available on a given platform.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs111_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&apr-util-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&apr-util-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &apr-util-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &apr-util-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &apr-util-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &apr-util-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="apr"/>
|
---|
80 | </para>
|
---|
81 | <!--
|
---|
82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
83 | <para role="recommended">
|
---|
84 | <xref linkend="openssl"/>
|
---|
85 | </para>
|
---|
86 | -->
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="db"/>,
|
---|
90 | <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
|
---|
91 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
92 | <xref linkend="openldap"/>,
|
---|
93 | <xref linkend="postgresql"/>,
|
---|
94 | <xref linkend="sqlite"/> and
|
---|
95 | <xref linkend="unixodbc"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <para condition="html" role="usernotes">
|
---|
99 | User Notes: <ulink url="&blfs-wiki;/apr-util"/>
|
---|
100 | </para>
|
---|
101 | </sect2>
|
---|
102 |
|
---|
103 | <sect2 role="installation">
|
---|
104 | <title>Installation of Apr Util</title>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | Install <application>Apr Util</application> by running the following
|
---|
108 | commands:
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <screen><userinput>./configure --prefix=/usr \
|
---|
112 | --with-apr=/usr \
|
---|
113 | --with-gdbm=/usr \
|
---|
114 | --with-openssl=/usr \
|
---|
115 | --with-crypto &&
|
---|
116 | make</userinput></screen>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | To test the results, issue: <command>make -j1 test</command>.
|
---|
120 | One test, testdbm, is known to fail.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | <sect2 role="commands">
|
---|
131 | <title>Command Explanations</title>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | <parameter>--with-gdbm=/usr</parameter>: This switch enables the
|
---|
135 | <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
---|
136 | </para>
|
---|
137 |
|
---|
138 | <para>
|
---|
139 | <parameter>--with-openssl=/usr --with-crypto</parameter>: These
|
---|
140 | switches enable the
|
---|
141 | <filename class="libraryfile">apr_crypto_openssl-1.so</filename>
|
---|
142 | plugin.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
147 | <xref linkend="db"/>, use this switch to compile the
|
---|
148 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <option>--with-ldap</option>: If you have installed
|
---|
153 | <xref linkend="openldap"/>, use this switch to compile the
|
---|
154 | <filename class="libraryfile">apr_ldap.so</filename> plugin.
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | <sect2 role="content">
|
---|
160 | <title>Contents</title>
|
---|
161 |
|
---|
162 | <segmentedlist>
|
---|
163 | <segtitle>Installed Program</segtitle>
|
---|
164 | <segtitle>Installed Library</segtitle>
|
---|
165 | <segtitle>Installed Directory</segtitle>
|
---|
166 |
|
---|
167 | <seglistitem>
|
---|
168 | <seg>
|
---|
169 | apu-1-config
|
---|
170 | </seg>
|
---|
171 | <seg>
|
---|
172 | libaprutil-1.so
|
---|
173 | </seg>
|
---|
174 | <seg>
|
---|
175 | /usr/lib/apr-util-1
|
---|
176 | </seg>
|
---|
177 | </seglistitem>
|
---|
178 | </segmentedlist>
|
---|
179 |
|
---|
180 | <variablelist>
|
---|
181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
182 | <?dbfo list-presentation="list"?>
|
---|
183 | <?dbhtml list-presentation="table"?>
|
---|
184 |
|
---|
185 | <varlistentry id="apu-1-config">
|
---|
186 | <term><command>apu-1-config</command></term>
|
---|
187 | <listitem>
|
---|
188 | <para>
|
---|
189 | is an APR-util script designed to allow easy command line access to
|
---|
190 | APR-util configuration parameters
|
---|
191 | </para>
|
---|
192 | <indexterm zone="apr-util apu-1-config">
|
---|
193 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
194 | </indexterm>
|
---|
195 | </listitem>
|
---|
196 | </varlistentry>
|
---|
197 |
|
---|
198 | <varlistentry id="libaprutil-1">
|
---|
199 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
200 | <listitem>
|
---|
201 | <para>
|
---|
202 | contains functions that provide a predictable and consistent
|
---|
203 | interface to underlying client library interfaces
|
---|
204 | </para>
|
---|
205 | <indexterm zone="apr-util libaprutil-1">
|
---|
206 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | </variablelist>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | </sect1>
|
---|