source: general/genlib/apr.xml@ 84cbff3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 84cbff3 was 84cbff3, checked in by Pierre Labastie <pieere@…>, 8 years ago

My first set of tags for LFS-7.10

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

  • Property mode set to 100644
File size: 4.9 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 "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)">
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 &lfs7a_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>sed -i "/seems to be moved/s/^/#/" build/ltmain.sh &amp;&amp;
92
93./configure --prefix=/usr \
94 --disable-static \
95 --with-installbuilddir=/usr/share/apr-1/build &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make test</command>.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para>
113 <command>sed -i ...</command>: This sed silences several meaningless
114 warnings from libtool.
115 </para>
116
117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
118 href="../../xincludes/static-libraries.xml"/>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Program</segtitle>
127 <segtitle>Installed Library</segtitle>
128 <segtitle>Installed Directories</segtitle>
129
130 <seglistitem>
131 <seg>
132 apr-1-config
133 </seg>
134 <seg>
135 libapr-1.so
136 </seg>
137 <seg>
138 /usr/include/apr-1 and
139 /usr/share/apr-1
140 </seg>
141 </seglistitem>
142 </segmentedlist>
143
144 <variablelist>
145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
146 <?dbfo list-presentation="list"?>
147 <?dbhtml list-presentation="table"?>
148
149 <varlistentry id="apr-1-config">
150 <term><command>apr-1-config</command></term>
151 <listitem>
152 <para>
153 is a shell script used to retrieve information about the apr
154 library in the system. It is typically used to compile and link
155 against the library.
156 </para>
157 <indexterm zone="apr apr-1-config">
158 <primary sortas="b-apr-1-config">apr-1-config</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="libapr-1">
164 <term><filename class="libraryfile">libapr-1.so</filename></term>
165 <listitem>
166 <para>
167 is the Apache Portable Runtime library.
168 </para>
169 <indexterm zone="apr libapr-1">
170 <primary sortas="c-libapr-1">libapr-1.so</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174 </variablelist>
175
176 </sect2>
177</sect1>
Note: See TracBrowser for help on using the repository browser.