source: general/genlib/apr.xml@ 86b3ae3

12.1 ken/TL2024 lazarus rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 86b3ae3 was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 5 months ago

Change all xml decl to encoding=utf-8

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6e10fa6]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
[8dfc5c3]8 "https://archive.apache.org/dist/apr/apr-&apr-version;.tar.bz2">
[28d1edf]9 <!ENTITY apr-download-ftp " ">
[17eb807]10 <!ENTITY apr-md5sum "f8a62f3984898ba0ea8b6f26b851cb99">
11 <!ENTITY apr-size "876 KB">
12 <!ENTITY apr-buildsize "11 MB (additional 4 MB for the tests)">
13 <!ENTITY apr-time "0.1 SBU (add 1.4 SBU for tests)">
[6e10fa6]14]>
15
16<sect1 id="apr" xreflabel="Apr-&apr-version;">
17 <?dbhtml filename="apr.html"?>
18
19
20 <title>Apr-&apr-version;</title>
21
22 <indexterm zone="apr">
23 <primary sortas="a-apr">Apr</primary>
24 </indexterm>
25
26 <sect2 role="package">
[d551456]27 <title>Introduction to Apr</title>
[6e10fa6]28
[d551456]29 <para>
30 The Apache Portable Runtime (APR) is a supporting library for the
31 Apache web server. It provides a set of application programming interfaces
32 (APIs) that map to the underlying Operating System (OS). Where the OS
33 doesn't support a particular function, APR will provide an emulation. Thus
34 programmers can use the APR to make a program portable across different
35 platforms.
36 </para>
[6e10fa6]37
[a73fc762]38 &lfs120_checked;
[6e10fa6]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[d551456]43 <para>
44 Download (HTTP): <ulink url="&apr-download-http;"/>
45 </para>
[6e10fa6]46 </listitem>
47 <listitem>
[d551456]48 <para>
49 Download (FTP): <ulink url="&apr-download-ftp;"/>
50 </para>
[6e10fa6]51 </listitem>
52 <listitem>
[d551456]53 <para>
54 Download MD5 sum: &apr-md5sum;
55 </para>
[6e10fa6]56 </listitem>
57 <listitem>
[d551456]58 <para>
59 Download size: &apr-size;
60 </para>
[6e10fa6]61 </listitem>
62 <listitem>
[d551456]63 <para>
64 Estimated disk space required: &apr-buildsize;
65 </para>
[6e10fa6]66 </listitem>
67 <listitem>
[d551456]68 <para>
69 Estimated build time: &apr-time;
70 </para>
[6e10fa6]71 </listitem>
72 </itemizedlist>
73
74 </sect2>
75
76 <sect2 role="installation">
[d551456]77 <title>Installation of Apr</title>
[6e10fa6]78
[15b2f5a3]79<!--
[a541e080]80 <para>
81 First, fix a security issue:
82 </para>
[15b2f5a3]83<!- -
[a541e080]84<screen><userinput>sed '/{306/a \
85\
86 if (xt-&gt;tm_mon &lt; 0 || xt-&gt;tm_mon &gt;= 12) \
87 return APR_EBADDATE;' -i time/unix/time.c</userinput></screen>
[15b2f5a3]88- ->
[9d154616]89<screen><userinput>sed -e "/shift/i \
[4021e181]90\ if (xt-&gt;tm_mon &lt; 0 || xt-&gt;tm_mon &gt;= 12) return APR_EBADDATE;" \
[9d154616]91 -i time/unix/time.c</userinput></screen>
[15b2f5a3]92-->
[17eb807]93<!--
[15b2f5a3]94 <para>
95 Fix an issue checking a location in a script template:
96 </para>
97<screen><userinput>sed -e '/^case "$0"/s;$0;$(readlink -f $0);' \
98 -i apr-config.in</userinput></screen>
[17eb807]99-->
[d551456]100 <para>
101 Install <application>Apr</application> by running the following commands:
102 </para>
[6e10fa6]103
[92245989]104<screen><userinput>./configure --prefix=/usr \
[adf6dd9a]105 --disable-static \
106 --with-installbuilddir=/usr/share/apr-1/build &amp;&amp;
[6e10fa6]107make</userinput></screen>
108
[d551456]109 <para>
[0d38b000]110 To test the results, issue: <command>make test</command>. <!-- teststr is
111 known to hang on some systems. - WORKS AS OF 1.6.5 (renodr) -->
[d551456]112 </para>
[6e10fa6]113
[d551456]114 <para>
115 Now, as the <systemitem class="username">root</systemitem> user:
116 </para>
[6e10fa6]117
118<screen role="root"><userinput>make install</userinput></screen>
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
[adf6dd9a]124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/static-libraries.xml"/>
[6e10fa6]126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Program</segtitle>
134 <segtitle>Installed Library</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
[adf6dd9a]138 <seg>
139 apr-1-config
140 </seg>
141 <seg>
142 libapr-1.so
143 </seg>
144 <seg>
[f3429309]145 /usr/include/apr-1 and
[adf6dd9a]146 /usr/share/apr-1
147 </seg>
[6e10fa6]148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="apr-1-config">
157 <term><command>apr-1-config</command></term>
158 <listitem>
159 <para>
160 is a shell script used to retrieve information about the apr
161 library in the system. It is typically used to compile and link
[4c24eb0a]162 against the library
[d551456]163 </para>
[6e10fa6]164 <indexterm zone="apr apr-1-config">
165 <primary sortas="b-apr-1-config">apr-1-config</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="libapr-1">
171 <term><filename class="libraryfile">libapr-1.so</filename></term>
172 <listitem>
[d551456]173 <para>
[4c24eb0a]174 is the Apache Portable Runtime library
[d551456]175 </para>
[6e10fa6]176 <indexterm zone="apr libapr-1">
177 <primary sortas="c-libapr-1">libapr-1.so</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181 </variablelist>
[adf6dd9a]182
[6e10fa6]183 </sect2>
[4c24eb0a]184
[6e10fa6]185</sect1>
Note: See TracBrowser for help on using the repository browser.