[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
|
---|
[4890200] | 8 | "http://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">
|
---|
[0be2ac2f] | 10 | <!ENTITY apr-util-md5sum "2202b18f269ad606d70e1864857ed93c">
|
---|
[4890200] | 11 | <!ENTITY apr-util-size "680 KB">
|
---|
[0be2ac2f] | 12 | <!ENTITY apr-util-buildsize "8.7 MB (additional 1 MB for the tests)">
|
---|
[75420b1] | 13 | <!ENTITY apr-util-time "0.2 SBU">
|
---|
[d551456] | 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">
|
---|
[4890200] | 27 | <primary sortas="a-Apr-Util">Apr-Util</primary>
|
---|
[d551456] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[4890200] | 31 | <title>Introduction to Apr Util</title>
|
---|
[d551456] | 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 |
|
---|
[3b3a3be] | 40 | &lfs79_checked;&gcc6_checked;
|
---|
[d551456] | 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 |
|
---|
[4890200] | 76 | <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
|
---|
[d551456] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4890200] | 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>
|
---|
[d551456] | 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
[4890200] | 90 | <xref linkend="db"/>,
|
---|
| 91 | <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
|
---|
[ac38e9dc] | 92 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[4890200] | 93 | <xref linkend="openldap"/>,
|
---|
[6041710] | 94 | <xref linkend="postgresql"/>,
|
---|
[4890200] | 95 | <xref linkend="sqlite"/> and
|
---|
| 96 | <xref linkend="unixodbc"/>
|
---|
[d551456] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <para condition="html" role="usernotes">
|
---|
| 100 | User Notes: <ulink url="&blfs-wiki;/apr-util"/>
|
---|
| 101 | </para>
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
[4890200] | 105 | <title>Installation of Apr Util</title>
|
---|
[d551456] | 106 |
|
---|
| 107 | <para>
|
---|
[4890200] | 108 | Install <application>Apr Util</application> by running the following
|
---|
[d551456] | 109 | commands:
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
[4890200] | 112 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 113 | --with-apr=/usr \
|
---|
| 114 | --with-gdbm=/usr \
|
---|
| 115 | --with-openssl=/usr \
|
---|
| 116 | --with-crypto &&
|
---|
[d551456] | 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | To test the results, issue: <command>make test</command>.
|
---|
| 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>
|
---|
| 142 | plugin. Remove them if you have not installed
|
---|
| 143 | <xref linkend="openssl"/>.
|
---|
[d551456] | 144 | </para>
|
---|
[6041710] | 145 |
|
---|
| 146 | <para>
|
---|
[fd69a62] | 147 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
| 148 | <xref linkend="db"/>, use this switch to compile the
|
---|
[4890200] | 149 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
[6041710] | 150 | </para>
|
---|
[4890200] | 151 |
|
---|
[fd69a62] | 152 | <para>
|
---|
| 153 | <option>--with-ldap</option>: If you have installed
|
---|
| 154 | <xref linkend="openldap"/>, use this switch to compile the
|
---|
| 155 | <filename class="libraryfile">apr_ldap.so</filename> plugin.
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
[d551456] | 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2 role="content">
|
---|
| 161 | <title>Contents</title>
|
---|
| 162 |
|
---|
| 163 | <segmentedlist>
|
---|
| 164 | <segtitle>Installed Program</segtitle>
|
---|
| 165 | <segtitle>Installed Library</segtitle>
|
---|
| 166 | <segtitle>Installed Directory</segtitle>
|
---|
| 167 |
|
---|
| 168 | <seglistitem>
|
---|
[4890200] | 169 | <seg>
|
---|
| 170 | apu-1-config
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | libaprutil-1.so
|
---|
| 174 | </seg>
|
---|
| 175 | <seg>
|
---|
| 176 | /usr/lib/apr-util-1
|
---|
| 177 | </seg>
|
---|
[d551456] | 178 | </seglistitem>
|
---|
| 179 | </segmentedlist>
|
---|
| 180 |
|
---|
| 181 | <variablelist>
|
---|
| 182 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 183 | <?dbfo list-presentation="list"?>
|
---|
| 184 | <?dbhtml list-presentation="table"?>
|
---|
| 185 |
|
---|
[ac38e9dc] | 186 | <varlistentry id="apu-1-config">
|
---|
| 187 | <term><command>apu-1-config</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>
|
---|
| 190 | is an APR-util script designed to allow easy command line access to
|
---|
| 191 | APR-util configuration parameters.
|
---|
| 192 | </para>
|
---|
| 193 | <indexterm zone="apr-util apu-1-config">
|
---|
| 194 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
[d551456] | 199 | <varlistentry id="libaprutil-1">
|
---|
| 200 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
| 203 | contains functions that provide a predictable and consistent
|
---|
| 204 | interface to underlying client library interfaces.
|
---|
| 205 | </para>
|
---|
| 206 | <indexterm zone="apr-util libaprutil-1">
|
---|
| 207 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
[4890200] | 211 |
|
---|
[d551456] | 212 | </variablelist>
|
---|
[4890200] | 213 |
|
---|
[d551456] | 214 | </sect2>
|
---|
[4890200] | 215 |
|
---|
[d551456] | 216 | </sect1>
|
---|