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