source: general/genlib/apr.xml@ 31d2934

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 31d2934 was 31d2934, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

More lfs74 tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11649 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.6 KB
Line 
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
8 "http://archive.apache.org/dist/apr/apr-&apr-version;.tar.bz2">
9 <!ENTITY apr-download-ftp
10 "ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-&apr-version;.tar.bz2">
11 <!ENTITY apr-md5sum "ce2ab01a0c3cdb71cf0a6326b8654f41">
12 <!ENTITY apr-size "760 KB">
13 <!ENTITY apr-buildsize "14 MB">
14 <!ENTITY apr-time "0.2 SBU (1.4 with tests)">
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">
32 <title>Introduction to Apr</title>
33
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>
42
43 &lfs74_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&apr-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&apr-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &apr-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &apr-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &apr-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &apr-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <para condition="html" role="usernotes">
80 User Notes: <ulink url="&blfs-wiki;/apr"/>
81 </para>
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of Apr</title>
86
87 <para>
88 Install <application>Apr</application> by running the following commands:
89 </para>
90
91<screen><userinput>./configure -&#45;prefix=/usr -&#45;disable-static \
92 -&#45;with-installbuilddir=/usr/share/apr-1/build &amp;&amp;
93make</userinput></screen>
94
95 <para>
96 To test the results, issue: <command>make test</command>.
97 </para>
98
99 <para>
100 Now, as the <systemitem class="username">root</systemitem> user:
101 </para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <para>
110 <option>-&#45;disable-static</option>: This stops it from compiling a static
111 version of <filename class="libraryfile">libapr-1</filename>.
112 </para>
113
114 </sect2>
115
116 <sect2 role="content">
117 <title>Contents</title>
118
119 <segmentedlist>
120 <segtitle>Installed Program</segtitle>
121 <segtitle>Installed Library</segtitle>
122 <segtitle>Installed Directories</segtitle>
123
124 <seglistitem>
125 <seg>apr-1-config</seg>
126 <seg>libapr-1.so</seg>
127 <seg>/usr/include/apr-1 and /usr/share/apr-1</seg>
128 </seglistitem>
129 </segmentedlist>
130
131 <variablelist>
132 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
133 <?dbfo list-presentation="list"?>
134 <?dbhtml list-presentation="table"?>
135
136 <varlistentry id="apr-1-config">
137 <term><command>apr-1-config</command></term>
138 <listitem>
139 <para>
140 is a shell script used to retrieve information about the apr
141 library in the system. It is typically used to compile and link
142 against the library.
143 </para>
144 <indexterm zone="apr apr-1-config">
145 <primary sortas="b-apr-1-config">apr-1-config</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="libapr-1">
151 <term><filename class="libraryfile">libapr-1.so</filename></term>
152 <listitem>
153 <para>
154 is the Apache Portable Runtime library.
155 </para>
156 <indexterm zone="apr libapr-1">
157 <primary sortas="c-libapr-1">libapr-1.so</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161 </variablelist>
162 </sect2>
163</sect1>
Note: See TracBrowser for help on using the repository browser.