[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[d551456] | 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
|
---|
[8dfc5c3] | 8 | "https://archive.apache.org/dist/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
[e1e58be] | 9 | <!ENTITY apr-util-download-ftp " ">
|
---|
[134d869] | 10 | <!ENTITY apr-util-md5sum "b6e8c9b31d938fe5797ceb0d1ff2eb69">
|
---|
| 11 | <!ENTITY apr-util-size "423 KB">
|
---|
[949b48a] | 12 | <!ENTITY apr-util-buildsize "7.6 MB (add 1.4 MB for tests)">
|
---|
[b04efb5d] | 13 | <!ENTITY apr-util-time "less than 0.1 SBU (add 0.3 SBU for tests)">
|
---|
[d551456] | 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">
|
---|
[4890200] | 23 | <primary sortas="a-Apr-Util">Apr-Util</primary>
|
---|
[d551456] | 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
[4890200] | 27 | <title>Introduction to Apr Util</title>
|
---|
[d551456] | 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
|
---|
[bdf8481] | 33 | behavior regardless of which libraries are available on a given platform.
|
---|
[d551456] | 34 | </para>
|
---|
| 35 |
|
---|
[5d0e7b8] | 36 | &lfs121_checked;
|
---|
[d551456] | 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 |
|
---|
[4890200] | 72 | <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
|
---|
[d551456] | 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4890200] | 75 | <para role="required">
|
---|
| 76 | <xref linkend="apr"/>
|
---|
| 77 | </para>
|
---|
[94b42903] | 78 | <!--
|
---|
[4890200] | 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="openssl"/>
|
---|
| 82 | </para>
|
---|
[94b42903] | 83 | -->
|
---|
[d551456] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
[36aab55] | 86 | <ulink url="https://www.freetds.org/">FreeTDS</ulink>,
|
---|
| 87 | <xref linkend="mariadb"/> or <ulink url="https://www.mysql.com/">MySQL</ulink>,
|
---|
[4890200] | 88 | <xref linkend="openldap"/>,
|
---|
[6041710] | 89 | <xref linkend="postgresql"/>,
|
---|
[dcd5a063] | 90 | <xref linkend="sqlite"/>,
|
---|
| 91 | <xref linkend="unixodbc"/>, and
|
---|
| 92 | &berkeley-db;
|
---|
[d551456] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
[4890200] | 98 | <title>Installation of Apr Util</title>
|
---|
[d551456] | 99 |
|
---|
| 100 | <para>
|
---|
[4890200] | 101 | Install <application>Apr Util</application> by running the following
|
---|
[d551456] | 102 | commands:
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
[faaa22d] | 105 | <screen><userinput>./configure --prefix=/usr \
|
---|
[4890200] | 106 | --with-apr=/usr \
|
---|
| 107 | --with-gdbm=/usr \
|
---|
| 108 | --with-openssl=/usr \
|
---|
| 109 | --with-crypto &&
|
---|
[d551456] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
[d515b88] | 113 | To test the results, issue: <command>make -j1 test</command>.
|
---|
[b04efb5d] | 114 | One test, testdbm, is known to fail.
|
---|
[d551456] | 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>
|
---|
[4890200] | 128 | <parameter>--with-gdbm=/usr</parameter>: This switch enables the
|
---|
[d551456] | 129 | <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
[875b3b57] | 133 | <parameter>--with-openssl=/usr</parameter>
|
---|
| 134 | <parameter>--with-crypto</parameter>: These
|
---|
[4890200] | 135 | switches enable the
|
---|
| 136 | <filename class="libraryfile">apr_crypto_openssl-1.so</filename>
|
---|
[8558044] | 137 | plugin.
|
---|
[d551456] | 138 | </para>
|
---|
[6041710] | 139 |
|
---|
| 140 | <para>
|
---|
[fd69a62] | 141 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
[dcd5a063] | 142 | &berkeley-db;, use this switch to compile the
|
---|
[4890200] | 143 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
[6041710] | 144 | </para>
|
---|
[4890200] | 145 |
|
---|
[fd69a62] | 146 | <para>
|
---|
| 147 | <option>--with-ldap</option>: If you have installed
|
---|
| 148 | <xref linkend="openldap"/>, use this switch to compile the
|
---|
| 149 | <filename class="libraryfile">apr_ldap.so</filename> plugin.
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
[d551456] | 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="content">
|
---|
| 155 | <title>Contents</title>
|
---|
| 156 |
|
---|
| 157 | <segmentedlist>
|
---|
| 158 | <segtitle>Installed Program</segtitle>
|
---|
| 159 | <segtitle>Installed Library</segtitle>
|
---|
| 160 | <segtitle>Installed Directory</segtitle>
|
---|
| 161 |
|
---|
| 162 | <seglistitem>
|
---|
[4890200] | 163 | <seg>
|
---|
| 164 | apu-1-config
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | libaprutil-1.so
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
| 170 | /usr/lib/apr-util-1
|
---|
| 171 | </seg>
|
---|
[d551456] | 172 | </seglistitem>
|
---|
| 173 | </segmentedlist>
|
---|
| 174 |
|
---|
| 175 | <variablelist>
|
---|
| 176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 177 | <?dbfo list-presentation="list"?>
|
---|
| 178 | <?dbhtml list-presentation="table"?>
|
---|
| 179 |
|
---|
[7e2908c] | 180 | <varlistentry id="apu-1-config">
|
---|
| 181 | <term><command>apu-1-config</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>
|
---|
| 184 | is an APR-util script designed to allow easy command line access to
|
---|
[4c24eb0a] | 185 | APR-util configuration parameters
|
---|
[7e2908c] | 186 | </para>
|
---|
| 187 | <indexterm zone="apr-util apu-1-config">
|
---|
| 188 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
[d551456] | 193 | <varlistentry id="libaprutil-1">
|
---|
| 194 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para>
|
---|
| 197 | contains functions that provide a predictable and consistent
|
---|
[4c24eb0a] | 198 | interface to underlying client library interfaces
|
---|
[d551456] | 199 | </para>
|
---|
| 200 | <indexterm zone="apr-util libaprutil-1">
|
---|
| 201 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
[4890200] | 205 |
|
---|
[d551456] | 206 | </variablelist>
|
---|
[4890200] | 207 |
|
---|
[d551456] | 208 | </sect2>
|
---|
[4890200] | 209 |
|
---|
[d551456] | 210 | </sect1>
|
---|