[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">
|
---|
| 10 | <!ENTITY apr-util-md5sum "6f3417691c7a27090f36e7cf4d94b36e">
|
---|
[4890200] | 11 | <!ENTITY apr-util-size "680 KB">
|
---|
| 12 | <!ENTITY apr-util-buildsize "11 MB">
|
---|
[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 |
|
---|
[60d8f77] | 40 | &lfs76_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>,
|
---|
[60d8f77] | 92 | <xref linkend="mariadb"/>,
|
---|
[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
|
---|
[cd72896] | 174 | and several plugins under /usr/lib/apr-util-1/
|
---|
[4890200] | 175 | </seg>
|
---|
| 176 | <seg>
|
---|
| 177 | /usr/lib/apr-util-1
|
---|
| 178 | </seg>
|
---|
[d551456] | 179 | </seglistitem>
|
---|
| 180 | </segmentedlist>
|
---|
| 181 |
|
---|
| 182 | <variablelist>
|
---|
| 183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 184 | <?dbfo list-presentation="list"?>
|
---|
| 185 | <?dbhtml list-presentation="table"?>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="libaprutil-1">
|
---|
| 188 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
| 191 | contains functions that provide a predictable and consistent
|
---|
| 192 | interface to underlying client library interfaces.
|
---|
| 193 | </para>
|
---|
| 194 | <indexterm zone="apr-util libaprutil-1">
|
---|
| 195 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
[4890200] | 199 |
|
---|
[d551456] | 200 | </variablelist>
|
---|
[4890200] | 201 |
|
---|
[d551456] | 202 | </sect2>
|
---|
[4890200] | 203 |
|
---|
[d551456] | 204 | </sect1>
|
---|