source: general/genlib/pcre2.xml@ f99ea56

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since f99ea56 was f99ea56, checked in by Douglas R. Reno <renodr@…>, 11 months ago

krb5 and pcre2: Replace dead URL for libedit

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

  • Property mode set to 100644
File size: 6.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 pcre2-download-http "&sourceforge-dl;/pcre/pcre2-&pcre2-version;.tar.bz2">
8 <!ENTITY pcre2-download-ftp " ">
9 <!ENTITY pcre2-md5sum "a0674e2cc5941d738c1afddf43fb8745">
10 <!ENTITY pcre2-size "1.6 MB">
11 <!ENTITY pcre2-buildsize "18 MB (with tests)">
12 <!ENTITY pcre2-time "0.5 SBU (with tests)">
13]>
14
15<sect1 id="pcre2" xreflabel="pcre2-&pcre2-version;">
16 <?dbhtml filename="pcre2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>PCRE2-&pcre2-version;</title>
24
25 <indexterm zone="pcre2">
26 <primary sortas="a-pcre2">PCRE2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to PCRE2</title>
31
32 <para>
33 The <application>PCRE2</application> package contains a new generation of
34 the <application>Perl Compatible Regular Expression</application>
35 libraries. These are useful for implementing regular expression pattern
36 matching using the same syntax and semantics as <application>Perl</application>.
37 </para>
38
39 &lfs10_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&pcre2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&pcre2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &pcre2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &pcre2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &pcre2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &pcre2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">PCRE2 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="valgrind"/> and
80 <ulink url="http://thrysoee.dk/editline/">libedit</ulink>
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/pcre2"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of PCRE2</title>
90
91 <para>
92 Install <application>PCRE2</application> by running the following
93 commands:
94 </para>
95
96<screen><userinput>./configure --prefix=/usr \
97 --docdir=/usr/share/doc/pcre2-&pcre2-version; \
98 --enable-unicode \
99 --enable-jit \
100 --enable-pcre2-16 \
101 --enable-pcre2-32 \
102 --enable-pcre2grep-libz \
103 --enable-pcre2grep-libbz2 \
104 --enable-pcre2test-libreadline \
105 --disable-static &amp;&amp;
106make</userinput></screen>
107
108 <para>
109 To test the results, issue: <command>make check</command>.
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>make install</userinput></screen>
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para>
123 <parameter>--enable-unicode</parameter>: This switch enables Unicode
124 support and includes the functions for handling UTF-8/16/32 character
125 strings in the library.
126 </para>
127
128 <para>
129 <parameter>--enable-pcre2-16</parameter>: This switch enables 16 bit
130 character support.
131 </para>
132
133 <para>
134 <parameter>--enable-pcre2-32</parameter>: This switch enables 32 bit
135 character support.
136 </para>
137
138 <para>
139 <parameter>--enable-pcre2grep-libz</parameter>: This switch adds support
140 for reading .gz compressed files to <application>pcre2grep</application>.
141 </para>
142
143 <para>
144 <parameter>--enable-pcre2grep-libbz2</parameter>: This switch adds
145 support for reading .bz2 compressed files to
146 <application>pcre2grep</application>.
147 </para>
148
149 <para>
150 <parameter>--enable-pcre2test-libreadline</parameter>: This switch adds
151 line editing and history features to the
152 <application>pcre2test</application> program.
153 </para>
154
155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
156 href="../../xincludes/static-libraries.xml"/>
157
158 <para>
159 <parameter>--enable-jit</parameter>: this option enables Just-in-time
160 compiling, which can greatly speed up pattern matching.
161 </para>
162
163 </sect2>
164
165 <sect2 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Programs</segtitle>
170 <segtitle>Installed Libraries</segtitle>
171 <segtitle>Installed Directory</segtitle>
172
173 <seglistitem>
174 <seg>
175 pcre2-config,
176 pcre2grep,
177 and pcre2test.
178 </seg>
179 <seg>
180 libpcre2-8.so,
181 libpcre2-16.so,
182 libpcre2-32.so,
183 and libpcre2-posix.so
184 </seg>
185 <seg>
186 /usr/share/doc/pcre2-&pcre2-version;
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="pcre2grep">
197 <term><command>pcre2grep</command></term>
198 <listitem>
199 <para>
200 is a version of <application>grep</application>
201 that understands
202 <application>Perl compatible regular expressions.</application>.
203 </para>
204 <indexterm zone="pcre2 pcre2grep">
205 <primary sortas="b-pcre2grep">pcre2grep</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="pcre2test">
211 <term><command>pcre2test</command></term>
212 <listitem>
213 <para>
214 can test a
215 <application>Perl compatible regular expression.</application>
216 </para>
217 <indexterm zone="pcre2 pcre2test">
218 <primary sortas="b-pcre2test">pcre2</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="pcre2-config">
224 <term><command>pcre2-config</command></term>
225 <listitem>
226 <para>
227 outputs compilation information to programs linking against the
228 <application>PCRE2</application> libraries.
229 </para>
230 <indexterm zone="pcre2 pcre2-config">
231 <primary sortas="b-pcre2-config">pcre2-config</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 </variablelist>
237
238 </sect2>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.