[d551456] | 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
|
---|
[8dfc5c3] | 8 | "https://archive.apache.org/dist/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
[10091971] | 9 | <!ENTITY apr-util-download-ftp "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
[b04efb5d] | 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)">
|
---|
[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 |
|
---|
[8b225938] | 36 | &lfs112_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">
|
---|
[4890200] | 86 | <xref linkend="db"/>,
|
---|
[36aab55] | 87 | <ulink url="https://www.freetds.org/">FreeTDS</ulink>,
|
---|
| 88 | <xref linkend="mariadb"/> or <ulink url="https://www.mysql.com/">MySQL</ulink>,
|
---|
[4890200] | 89 | <xref linkend="openldap"/>,
|
---|
[6041710] | 90 | <xref linkend="postgresql"/>,
|
---|
[4890200] | 91 | <xref linkend="sqlite"/> and
|
---|
| 92 | <xref linkend="unixodbc"/>
|
---|
[d551456] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">
|
---|
| 96 | User Notes: <ulink url="&blfs-wiki;/apr-util"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[4890200] | 101 | <title>Installation of Apr Util</title>
|
---|
[d551456] | 102 |
|
---|
| 103 | <para>
|
---|
[4890200] | 104 | Install <application>Apr Util</application> by running the following
|
---|
[d551456] | 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[faaa22d] | 108 | <screen><userinput>./configure --prefix=/usr \
|
---|
[4890200] | 109 | --with-apr=/usr \
|
---|
| 110 | --with-gdbm=/usr \
|
---|
| 111 | --with-openssl=/usr \
|
---|
| 112 | --with-crypto &&
|
---|
[d551456] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
[d515b88] | 116 | To test the results, issue: <command>make -j1 test</command>.
|
---|
[b04efb5d] | 117 | One test, testdbm, is known to fail.
|
---|
[d551456] | 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
[4890200] | 131 | <parameter>--with-gdbm=/usr</parameter>: This switch enables the
|
---|
[d551456] | 132 | <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
[4890200] | 136 | <parameter>--with-openssl=/usr --with-crypto</parameter>: These
|
---|
| 137 | switches enable the
|
---|
| 138 | <filename class="libraryfile">apr_crypto_openssl-1.so</filename>
|
---|
[8558044] | 139 | plugin.
|
---|
[d551456] | 140 | </para>
|
---|
[6041710] | 141 |
|
---|
| 142 | <para>
|
---|
[fd69a62] | 143 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
| 144 | <xref linkend="db"/>, use this switch to compile the
|
---|
[4890200] | 145 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
[6041710] | 146 | </para>
|
---|
[4890200] | 147 |
|
---|
[fd69a62] | 148 | <para>
|
---|
| 149 | <option>--with-ldap</option>: If you have installed
|
---|
| 150 | <xref linkend="openldap"/>, use this switch to compile the
|
---|
| 151 | <filename class="libraryfile">apr_ldap.so</filename> plugin.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
[d551456] | 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="content">
|
---|
| 157 | <title>Contents</title>
|
---|
| 158 |
|
---|
| 159 | <segmentedlist>
|
---|
| 160 | <segtitle>Installed Program</segtitle>
|
---|
| 161 | <segtitle>Installed Library</segtitle>
|
---|
| 162 | <segtitle>Installed Directory</segtitle>
|
---|
| 163 |
|
---|
| 164 | <seglistitem>
|
---|
[4890200] | 165 | <seg>
|
---|
| 166 | apu-1-config
|
---|
| 167 | </seg>
|
---|
| 168 | <seg>
|
---|
| 169 | libaprutil-1.so
|
---|
| 170 | </seg>
|
---|
| 171 | <seg>
|
---|
| 172 | /usr/lib/apr-util-1
|
---|
| 173 | </seg>
|
---|
[d551456] | 174 | </seglistitem>
|
---|
| 175 | </segmentedlist>
|
---|
| 176 |
|
---|
| 177 | <variablelist>
|
---|
| 178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 179 | <?dbfo list-presentation="list"?>
|
---|
| 180 | <?dbhtml list-presentation="table"?>
|
---|
| 181 |
|
---|
[7e2908c] | 182 | <varlistentry id="apu-1-config">
|
---|
| 183 | <term><command>apu-1-config</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
| 186 | is an APR-util script designed to allow easy command line access to
|
---|
[4c24eb0a] | 187 | APR-util configuration parameters
|
---|
[7e2908c] | 188 | </para>
|
---|
| 189 | <indexterm zone="apr-util apu-1-config">
|
---|
| 190 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[d551456] | 195 | <varlistentry id="libaprutil-1">
|
---|
| 196 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>
|
---|
| 199 | contains functions that provide a predictable and consistent
|
---|
[4c24eb0a] | 200 | interface to underlying client library interfaces
|
---|
[d551456] | 201 | </para>
|
---|
| 202 | <indexterm zone="apr-util libaprutil-1">
|
---|
| 203 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
[4890200] | 207 |
|
---|
[d551456] | 208 | </variablelist>
|
---|
[4890200] | 209 |
|
---|
[d551456] | 210 | </sect2>
|
---|
[4890200] | 211 |
|
---|
[d551456] | 212 | </sect1>
|
---|