[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
|
---|
[df68b263] | 8 | "http://archive.apache.org/dist/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
[d551456] | 9 | <!ENTITY apr-util-download-ftp
|
---|
[cb7ef13] | 10 | "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-util-&apr-util-version;.tar.bz2">
|
---|
[75420b1] | 11 | <!ENTITY apr-util-md5sum "9c1db8606e520f201c451ec9a0b095f6">
|
---|
| 12 | <!ENTITY apr-util-size "644 KB">
|
---|
| 13 | <!ENTITY apr-util-buildsize "8.6 MB">
|
---|
| 14 | <!ENTITY apr-util-time "0.2 SBU">
|
---|
[d551456] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="apr-util" xreflabel="Apr-Util-&apr-util-version;">
|
---|
| 18 | <?dbhtml filename="apr-util.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>Apr-Util-&apr-util-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="apr-util">
|
---|
| 28 | <primary sortas="a-apr-util">Apr-Util</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Apr-Util</title>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
| 35 | The Apache Portable Runtime Utility Library provides a predictable and
|
---|
| 36 | consistent interface to underlying client library interfaces. This
|
---|
| 37 | application programming interface assures predictable if not identical
|
---|
| 38 | behaviour regardless of which libraries are available on a given platform.
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
[a385460] | 41 | &lfs72_checked;
|
---|
[d551456] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&apr-util-download-http;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&apr-util-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download MD5 sum: &apr-util-md5sum;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download size: &apr-util-size;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated disk space required: &apr-util-buildsize;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Estimated build time: &apr-util-time;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">Apr-Util Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 80 | <para role="required"><xref linkend="apr"/>.</para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
[6041710] | 84 | <xref linkend="openldap"/>,
|
---|
| 85 | <xref linkend="openssl"/>,
|
---|
| 86 | <xref linkend="expat"/>,
|
---|
| 87 | <xref linkend="unixodbc"/>,
|
---|
| 88 | <xref linkend="mysql"/>,
|
---|
| 89 | <xref linkend="postgresql"/>,
|
---|
| 90 | <ulink url="http://www.oracle.com/us/products/database/index.html">Oracle 11g</ulink>,
|
---|
| 91 | <ulink url="http://www.freetds.org/">FreeTDS</ulink>
|
---|
[d551456] | 92 | <xref linkend="sqlite"/> and <xref linkend="db"/>.
|
---|
| 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">
|
---|
| 101 | <title>Installation of Apr-Util</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>Apr-Util</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput>./configure --prefix=/usr --with-apr=/usr --with-gdbm=/usr &&
|
---|
| 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | To test the results, issue: <command>make test</command>.
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | <option>--with-gdbm=/usr</option>: This option makes it compile the
|
---|
| 127 | <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
| 132 | <xref linkend="db"/> use this option to compile the
|
---|
| 133 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
| 134 | </para>
|
---|
[6041710] | 135 |
|
---|
| 136 | <para>
|
---|
| 137 | <option>--with-openssl=/usr</option>: If you have installed
|
---|
| 138 | <xref linkend="openssl"/> use this option to compile the
|
---|
| 139 | <filename class="libraryfile">apr_crypto_openssl-1.so</filename> plugin.
|
---|
| 140 | </para>
|
---|
[d551456] | 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Program</segtitle>
|
---|
| 148 | <segtitle>Installed Library</segtitle>
|
---|
| 149 | <segtitle>Installed Directory</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>apu-1-config</seg>
|
---|
| 153 | <seg>libaprutil-1.so</seg>
|
---|
| 154 | <seg>/usr/lib/apr-util-1</seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="apu-1-config">
|
---|
| 164 | <term><command>apu-1-config</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>is a simple script that provides information about the
|
---|
| 167 | installed APR-Util program.</para>
|
---|
| 168 | <indexterm zone="apache apu-1-config">
|
---|
| 169 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libaprutil-1">
|
---|
| 175 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>
|
---|
| 178 | contains functions that provide a predictable and consistent
|
---|
| 179 | interface to underlying client library interfaces.
|
---|
| 180 | </para>
|
---|
| 181 | <indexterm zone="apr-util libaprutil-1">
|
---|
| 182 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 | </variablelist>
|
---|
| 187 | </sect2>
|
---|
| 188 | </sect1>
|
---|