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