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