2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-02-29 23:30:34 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY apr-util-download-http
|
2017-08-16 02:49:48 +08:00
|
|
|
"https://archive.apache.org/dist/apr/apr-util-&apr-util-version;.tar.bz2">
|
2023-10-16 03:43:08 +08:00
|
|
|
<!ENTITY apr-util-download-ftp " ">
|
2023-02-02 23:15:06 +08:00
|
|
|
<!ENTITY apr-util-md5sum "b6e8c9b31d938fe5797ceb0d1ff2eb69">
|
|
|
|
<!ENTITY apr-util-size "423 KB">
|
2023-02-01 09:06:00 +08:00
|
|
|
<!ENTITY apr-util-buildsize "7.6 MB (add 1.4 MB for tests)">
|
2017-10-28 11:05:43 +08:00
|
|
|
<!ENTITY apr-util-time "less than 0.1 SBU (add 0.3 SBU for tests)">
|
2012-02-29 23:30:34 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="apr-util" xreflabel="Apr-Util-&apr-util-version;">
|
|
|
|
<?dbhtml filename="apr-util.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>Apr-Util-&apr-util-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="apr-util">
|
2013-04-28 02:04:22 +08:00
|
|
|
<primary sortas="a-Apr-Util">Apr-Util</primary>
|
2012-02-29 23:30:34 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2013-04-28 02:04:22 +08:00
|
|
|
<title>Introduction to Apr Util</title>
|
2012-02-29 23:30:34 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
The Apache Portable Runtime Utility Library provides a predictable and
|
|
|
|
consistent interface to underlying client library interfaces. This
|
|
|
|
application programming interface assures predictable if not identical
|
2022-12-13 05:30:37 +08:00
|
|
|
behavior regardless of which libraries are available on a given platform.
|
2012-02-29 23:30:34 +08:00
|
|
|
</para>
|
|
|
|
|
2023-08-17 08:32:11 +08:00
|
|
|
&lfs120_checked;
|
2012-02-29 23:30:34 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&apr-util-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&apr-util-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &apr-util-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &apr-util-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &apr-util-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &apr-util-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2013-04-28 02:04:22 +08:00
|
|
|
<bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
|
2012-02-29 23:30:34 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2013-04-28 02:04:22 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="apr"/>
|
|
|
|
</para>
|
2018-02-12 01:41:19 +08:00
|
|
|
<!--
|
2013-04-28 02:04:22 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="openssl"/>
|
|
|
|
</para>
|
2018-02-12 01:41:19 +08:00
|
|
|
-->
|
2012-02-29 23:30:34 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2022-09-08 14:56:22 +08:00
|
|
|
<ulink url="https://www.freetds.org/">FreeTDS</ulink>,
|
|
|
|
<xref linkend="mariadb"/> or <ulink url="https://www.mysql.com/">MySQL</ulink>,
|
2013-04-28 02:04:22 +08:00
|
|
|
<xref linkend="openldap"/>,
|
2012-03-01 02:08:11 +08:00
|
|
|
<xref linkend="postgresql"/>,
|
2023-11-23 05:35:10 +08:00
|
|
|
<xref linkend="sqlite"/>,
|
|
|
|
<xref linkend="unixodbc"/>, and
|
|
|
|
&berkeley-db;
|
2012-02-29 23:30:34 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2013-04-28 02:04:22 +08:00
|
|
|
<title>Installation of Apr Util</title>
|
2012-02-29 23:30:34 +08:00
|
|
|
|
|
|
|
<para>
|
2013-04-28 02:04:22 +08:00
|
|
|
Install <application>Apr Util</application> by running the following
|
2012-02-29 23:30:34 +08:00
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2017-06-23 01:11:53 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
2013-04-28 02:04:22 +08:00
|
|
|
--with-apr=/usr \
|
|
|
|
--with-gdbm=/usr \
|
|
|
|
--with-openssl=/usr \
|
|
|
|
--with-crypto &&
|
2012-02-29 23:30:34 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
2020-12-17 12:16:15 +08:00
|
|
|
To test the results, issue: <command>make -j1 test</command>.
|
2017-10-28 11:05:43 +08:00
|
|
|
One test, testdbm, is known to fail.
|
2012-02-29 23:30:34 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
2013-04-28 02:04:22 +08:00
|
|
|
<parameter>--with-gdbm=/usr</parameter>: This switch enables the
|
2012-02-29 23:30:34 +08:00
|
|
|
<filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2023-12-09 05:03:47 +08:00
|
|
|
<parameter>--with-openssl=/usr</parameter>
|
|
|
|
<parameter>--with-crypto</parameter>: These
|
2013-04-28 02:04:22 +08:00
|
|
|
switches enable the
|
|
|
|
<filename class="libraryfile">apr_crypto_openssl-1.so</filename>
|
2021-09-07 01:42:49 +08:00
|
|
|
plugin.
|
2012-02-29 23:30:34 +08:00
|
|
|
</para>
|
2012-03-01 02:08:11 +08:00
|
|
|
|
|
|
|
<para>
|
2014-03-18 07:29:19 +08:00
|
|
|
<option>--with-berkeley-db=/usr</option>: If you have installed
|
2023-11-23 05:35:10 +08:00
|
|
|
&berkeley-db;, use this switch to compile the
|
2013-04-28 02:04:22 +08:00
|
|
|
<filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
|
2012-03-01 02:08:11 +08:00
|
|
|
</para>
|
2013-04-28 02:04:22 +08:00
|
|
|
|
2014-03-18 07:29:19 +08:00
|
|
|
<para>
|
|
|
|
<option>--with-ldap</option>: If you have installed
|
|
|
|
<xref linkend="openldap"/>, use this switch to compile the
|
|
|
|
<filename class="libraryfile">apr_ldap.so</filename> plugin.
|
|
|
|
</para>
|
|
|
|
|
2012-02-29 23:30:34 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2013-04-28 02:04:22 +08:00
|
|
|
<seg>
|
|
|
|
apu-1-config
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libaprutil-1.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/lib/apr-util-1
|
|
|
|
</seg>
|
2012-02-29 23:30:34 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2015-05-26 23:08:46 +08:00
|
|
|
<varlistentry id="apu-1-config">
|
|
|
|
<term><command>apu-1-config</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is an APR-util script designed to allow easy command line access to
|
2021-02-19 23:20:16 +08:00
|
|
|
APR-util configuration parameters
|
2015-05-26 23:08:46 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="apr-util apu-1-config">
|
|
|
|
<primary sortas="b-apu-1-config">apu-1-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-02-29 23:30:34 +08:00
|
|
|
<varlistentry id="libaprutil-1">
|
|
|
|
<term><filename class="libraryfile">libaprutil-1.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains functions that provide a predictable and consistent
|
2021-02-19 23:20:16 +08:00
|
|
|
interface to underlying client library interfaces
|
2012-02-29 23:30:34 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="apr-util libaprutil-1">
|
|
|
|
<primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-04-28 02:04:22 +08:00
|
|
|
|
2012-02-29 23:30:34 +08:00
|
|
|
</variablelist>
|
2013-04-28 02:04:22 +08:00
|
|
|
|
2012-02-29 23:30:34 +08:00
|
|
|
</sect2>
|
2013-04-28 02:04:22 +08:00
|
|
|
|
2012-02-29 23:30:34 +08:00
|
|
|
</sect1>
|