[6e10fa6] | 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-download-http
|
---|
[adf6dd9a] | 8 | "http://archive.apache.org/dist/apr/apr-&apr-version;.tar.bz2">
|
---|
[6e10fa6] | 9 | <!ENTITY apr-download-ftp
|
---|
[adf6dd9a] | 10 | "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-&apr-version;.tar.bz2">
|
---|
[2c5dfc2d] | 11 | <!ENTITY apr-md5sum "4e9769f3349fe11fc0a5e1b224c236aa">
|
---|
| 12 | <!ENTITY apr-size "808 KB">
|
---|
| 13 | <!ENTITY apr-buildsize "13 MB (additional 3 MB for the tests)">
|
---|
| 14 | <!ENTITY apr-time "0.2 SBU (1.1 with tests)">
|
---|
[6e10fa6] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="apr" xreflabel="Apr-&apr-version;">
|
---|
| 18 | <?dbhtml filename="apr.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>Apr-&apr-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="apr">
|
---|
| 28 | <primary sortas="a-apr">Apr</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[d551456] | 32 | <title>Introduction to Apr</title>
|
---|
[6e10fa6] | 33 |
|
---|
[d551456] | 34 | <para>
|
---|
| 35 | The Apache Portable Runtime (APR) is a supporting library for the
|
---|
| 36 | Apache web server. It provides a set of application programming interfaces
|
---|
| 37 | (APIs) that map to the underlying Operating System (OS). Where the OS
|
---|
| 38 | doesn't support a particular function, APR will provide an emulation. Thus
|
---|
| 39 | programmers can use the APR to make a program portable across different
|
---|
| 40 | platforms.
|
---|
| 41 | </para>
|
---|
[6e10fa6] | 42 |
|
---|
[c22db16] | 43 | &lfs77_checked; &gcc5_checked;
|
---|
[6e10fa6] | 44 |
|
---|
| 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[d551456] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&apr-download-http;"/>
|
---|
| 50 | </para>
|
---|
[6e10fa6] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[d551456] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&apr-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[6e10fa6] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[d551456] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &apr-md5sum;
|
---|
| 60 | </para>
|
---|
[6e10fa6] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[d551456] | 63 | <para>
|
---|
| 64 | Download size: &apr-size;
|
---|
| 65 | </para>
|
---|
[6e10fa6] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[d551456] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &apr-buildsize;
|
---|
| 70 | </para>
|
---|
[6e10fa6] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[d551456] | 73 | <para>
|
---|
| 74 | Estimated build time: &apr-time;
|
---|
| 75 | </para>
|
---|
[6e10fa6] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
[d551456] | 79 | <para condition="html" role="usernotes">
|
---|
| 80 | User Notes: <ulink url="&blfs-wiki;/apr"/>
|
---|
| 81 | </para>
|
---|
[6e10fa6] | 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
[d551456] | 85 | <title>Installation of Apr</title>
|
---|
[6e10fa6] | 86 |
|
---|
[d551456] | 87 | <para>
|
---|
| 88 | Install <application>Apr</application> by running the following commands:
|
---|
| 89 | </para>
|
---|
[6e10fa6] | 90 |
|
---|
[adf6dd9a] | 91 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 92 | --disable-static \
|
---|
| 93 | --with-installbuilddir=/usr/share/apr-1/build &&
|
---|
[6e10fa6] | 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
[d551456] | 96 | <para>
|
---|
| 97 | To test the results, issue: <command>make test</command>.
|
---|
| 98 | </para>
|
---|
[6e10fa6] | 99 |
|
---|
[d551456] | 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
[6e10fa6] | 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="commands">
|
---|
| 108 | <title>Command Explanations</title>
|
---|
| 109 |
|
---|
[adf6dd9a] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 111 | href="../../xincludes/static-libraries.xml"/>
|
---|
[6e10fa6] | 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Program</segtitle>
|
---|
| 120 | <segtitle>Installed Library</segtitle>
|
---|
| 121 | <segtitle>Installed Directories</segtitle>
|
---|
| 122 |
|
---|
| 123 | <seglistitem>
|
---|
[adf6dd9a] | 124 | <seg>
|
---|
| 125 | apr-1-config
|
---|
| 126 | </seg>
|
---|
| 127 | <seg>
|
---|
| 128 | libapr-1.so
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | /usr/include/apr-1 and
|
---|
| 132 | /usr/share/apr-1
|
---|
| 133 | </seg>
|
---|
[6e10fa6] | 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="apr-1-config">
|
---|
| 143 | <term><command>apr-1-config</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>
|
---|
| 146 | is a shell script used to retrieve information about the apr
|
---|
| 147 | library in the system. It is typically used to compile and link
|
---|
[d551456] | 148 | against the library.
|
---|
| 149 | </para>
|
---|
[6e10fa6] | 150 | <indexterm zone="apr apr-1-config">
|
---|
| 151 | <primary sortas="b-apr-1-config">apr-1-config</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="libapr-1">
|
---|
| 157 | <term><filename class="libraryfile">libapr-1.so</filename></term>
|
---|
| 158 | <listitem>
|
---|
[d551456] | 159 | <para>
|
---|
| 160 | is the Apache Portable Runtime library.
|
---|
| 161 | </para>
|
---|
[6e10fa6] | 162 | <indexterm zone="apr libapr-1">
|
---|
| 163 | <primary sortas="c-libapr-1">libapr-1.so</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 | </variablelist>
|
---|
[adf6dd9a] | 168 |
|
---|
[6e10fa6] | 169 | </sect2>
|
---|
| 170 | </sect1>
|
---|