[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">
|
---|
[248a536] | 10 | <!ENTITY apr-util-md5sum "2202b18f269ad606d70e1864857ed93c">
|
---|
[4890200] | 11 | <!ENTITY apr-util-size "680 KB">
|
---|
[248a536] | 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 |
|
---|
[89f706b2] | 40 | &lfs80_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 |
|
---|
[a4f37269] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>Required patch: <ulink url="&patch-root;/apr-util-&apr-util-version;-openssl-1.1.0-1.patch"/></para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[4890200] | 83 | <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
|
---|
[d551456] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4890200] | 86 | <para role="required">
|
---|
| 87 | <xref linkend="apr"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 91 | <para role="recommended">
|
---|
| 92 | <xref linkend="openssl"/>
|
---|
| 93 | </para>
|
---|
[d551456] | 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
[4890200] | 97 | <xref linkend="db"/>,
|
---|
| 98 | <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
|
---|
[5e0662d] | 99 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[4890200] | 100 | <xref linkend="openldap"/>,
|
---|
[6041710] | 101 | <xref linkend="postgresql"/>,
|
---|
[4890200] | 102 | <xref linkend="sqlite"/> and
|
---|
| 103 | <xref linkend="unixodbc"/>
|
---|
[d551456] | 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <para condition="html" role="usernotes">
|
---|
| 107 | User Notes: <ulink url="&blfs-wiki;/apr-util"/>
|
---|
| 108 | </para>
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
[4890200] | 112 | <title>Installation of Apr Util</title>
|
---|
[d551456] | 113 |
|
---|
| 114 | <para>
|
---|
[4890200] | 115 | Install <application>Apr Util</application> by running the following
|
---|
[d551456] | 116 | commands:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
[a4f37269] | 119 | <screen><userinput>patch -Np1 -i ../apr-util-&apr-util-version;-openssl-1.1.0-1.patch &&
|
---|
| 120 | ./configure --prefix=/usr \
|
---|
[4890200] | 121 | --with-apr=/usr \
|
---|
| 122 | --with-gdbm=/usr \
|
---|
| 123 | --with-openssl=/usr \
|
---|
| 124 | --with-crypto &&
|
---|
[d551456] | 125 | make</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | To test the results, issue: <command>make test</command>.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
| 141 | <para>
|
---|
[4890200] | 142 | <parameter>--with-gdbm=/usr</parameter>: This switch enables the
|
---|
[d551456] | 143 | <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
| 146 | <para>
|
---|
[4890200] | 147 | <parameter>--with-openssl=/usr --with-crypto</parameter>: These
|
---|
| 148 | switches enable the
|
---|
| 149 | <filename class="libraryfile">apr_crypto_openssl-1.so</filename>
|
---|
| 150 | plugin. Remove them if you have not installed
|
---|
| 151 | <xref linkend="openssl"/>.
|
---|
[d551456] | 152 | </para>
|
---|
[6041710] | 153 |
|
---|
| 154 | <para>
|
---|
[fd69a62] | 155 | <option>--with-berkeley-db=/usr</option>: If you have installed
|
---|
| 156 | <xref linkend="db"/>, use this switch to compile the
|
---|
[4890200] | 157 | <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
---|
[6041710] | 158 | </para>
|
---|
[4890200] | 159 |
|
---|
[fd69a62] | 160 | <para>
|
---|
| 161 | <option>--with-ldap</option>: If you have installed
|
---|
| 162 | <xref linkend="openldap"/>, use this switch to compile the
|
---|
| 163 | <filename class="libraryfile">apr_ldap.so</filename> plugin.
|
---|
| 164 | </para>
|
---|
| 165 |
|
---|
[d551456] | 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | <sect2 role="content">
|
---|
| 169 | <title>Contents</title>
|
---|
| 170 |
|
---|
| 171 | <segmentedlist>
|
---|
| 172 | <segtitle>Installed Program</segtitle>
|
---|
| 173 | <segtitle>Installed Library</segtitle>
|
---|
| 174 | <segtitle>Installed Directory</segtitle>
|
---|
| 175 |
|
---|
| 176 | <seglistitem>
|
---|
[4890200] | 177 | <seg>
|
---|
| 178 | apu-1-config
|
---|
| 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | libaprutil-1.so
|
---|
| 182 | </seg>
|
---|
| 183 | <seg>
|
---|
| 184 | /usr/lib/apr-util-1
|
---|
| 185 | </seg>
|
---|
[d551456] | 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | <variablelist>
|
---|
| 190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 191 | <?dbfo list-presentation="list"?>
|
---|
| 192 | <?dbhtml list-presentation="table"?>
|
---|
| 193 |
|
---|
[7e2908c] | 194 | <varlistentry id="apu-1-config">
|
---|
| 195 | <term><command>apu-1-config</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | is an APR-util script designed to allow easy command line access to
|
---|
| 199 | APR-util configuration parameters.
|
---|
| 200 | </para>
|
---|
| 201 | <indexterm zone="apr-util apu-1-config">
|
---|
| 202 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
[d551456] | 207 | <varlistentry id="libaprutil-1">
|
---|
| 208 | <term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | contains functions that provide a predictable and consistent
|
---|
| 212 | interface to underlying client library interfaces.
|
---|
| 213 | </para>
|
---|
| 214 | <indexterm zone="apr-util libaprutil-1">
|
---|
| 215 | <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
[4890200] | 219 |
|
---|
[d551456] | 220 | </variablelist>
|
---|
[4890200] | 221 |
|
---|
[d551456] | 222 | </sect2>
|
---|
[4890200] | 223 |
|
---|
[d551456] | 224 | </sect1>
|
---|