[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 | <sect1info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Apr-Util-&apr-util-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="apr-util">
|
---|
[4890200] | 26 | <primary sortas="a-Apr-Util">Apr-Util</primary>
|
---|
[d551456] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[4890200] | 30 | <title>Introduction to Apr Util</title>
|
---|
[d551456] | 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 |
|
---|
[03a2986] | 39 | &lfs111_checked;
|
---|
[d551456] | 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 |
|
---|
[4890200] | 75 | <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
|
---|
[d551456] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4890200] | 78 | <para role="required">
|
---|
| 79 | <xref linkend="apr"/>
|
---|
| 80 | </para>
|
---|
[94b42903] | 81 | <!--
|
---|
[4890200] | 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
| 84 | <xref linkend="openssl"/>
|
---|
| 85 | </para>
|
---|
[94b42903] | 86 | -->
|
---|
[d551456] | 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
[4890200] | 89 | <xref linkend="db"/>,
|
---|
| 90 | <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
|
---|
[5e0662d] | 91 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[4890200] | 92 | <xref linkend="openldap"/>,
|
---|
[6041710] | 93 | <xref linkend="postgresql"/>,
|
---|
[4890200] | 94 | <xref linkend="sqlite"/> and
|
---|
| 95 | <xref linkend="unixodbc"/>
|
---|
[d551456] | 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">
|
---|
[4890200] | 104 | <title>Installation of Apr Util</title>
|
---|
[d551456] | 105 |
|
---|
| 106 | <para>
|
---|
[4890200] | 107 | Install <application>Apr Util</application> by running the following
|
---|
[d551456] | 108 | commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[faaa22d] | 111 | <screen><userinput>./configure --prefix=/usr \
|
---|
[4890200] | 112 | --with-apr=/usr \
|
---|
| 113 | --with-gdbm=/usr \
|
---|
| 114 | --with-openssl=/usr \
|
---|
| 115 | --with-crypto &&
|
---|
[d551456] | 116 | make</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
[d515b88] | 119 | To test the results, issue: <command>make -j1 test</command>.
|
---|
[b04efb5d] | 120 | One test, testdbm, is known to fail.
|
---|
[d551456] | 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>
|
---|
[4890200] | 134 | <parameter>--with-gdbm=/usr</parameter>: This switch enables the
|
---|
[d551456] | 135 | <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
[4890200] | 139 | <parameter>--with-openssl=/usr --with-crypto</parameter>: These
|
---|
| 140 | switches enable the
|
---|
| 141 | <filename class="libraryfile">apr_crypto_openssl-1.so</filename>
|
---|
[8558044] | 142 | plugin.
|
---|
[d551456] | 143 | </para>
|
---|
[6041710] | 144 |
|
---|
| 145 | <para>
|
---|
[fd69a62] | 146 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
| 147 | <xref linkend="db"/>, use this switch to compile the
|
---|
[4890200] | 148 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
[6041710] | 149 | </para>
|
---|
[4890200] | 150 |
|
---|
[fd69a62] | 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 |
|
---|
[d551456] | 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>
|
---|
[4890200] | 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>
|
---|
[d551456] | 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 |
|
---|
[7e2908c] | 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
|
---|
[4c24eb0a] | 190 | APR-util configuration parameters
|
---|
[7e2908c] | 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 |
|
---|
[d551456] | 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
|
---|
[4c24eb0a] | 203 | interface to underlying client library interfaces
|
---|
[d551456] | 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>
|
---|
[4890200] | 210 |
|
---|
[d551456] | 211 | </variablelist>
|
---|
[4890200] | 212 |
|
---|
[d551456] | 213 | </sect2>
|
---|
[4890200] | 214 |
|
---|
[d551456] | 215 | </sect1>
|
---|