source: general/genlib/pcre2.xml@ 3dddc93

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 3dddc93 was d7cd496, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to pcre2-10.30.
Update to Net-DNS-1.12 (Perl module).
Tag most of xfce and dependencies.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19059 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 "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-&pcre2-version;.tar.bz2">
9 <!ENTITY pcre2-md5sum "d3adf4b130eed854a530390f00020a65">
10 <!ENTITY pcre2-size "1.5 MB">
11 <!ENTITY pcre2-buildsize "15 MB (with tests)">
12 <!ENTITY pcre2-time "0.3 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 &lfs81_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"/>
80 </para>
81
82 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/pcre2"/>
84 </para>
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of PCRE2</title>
89
90 <para>
91 Install <application>PCRE2</application> by running the following
92 commands:
93 </para>
94
95<screen><userinput>./configure --prefix=/usr \
96 --docdir=/usr/share/doc/pcre2-&pcre2-version; \
97 --enable-unicode \
98 --enable-pcre2-16 \
99 --enable-pcre2-32 \
100 --enable-pcre2grep-libz \
101 --enable-pcre2grep-libbz2 \
102 --enable-pcre2test-libreadline \
103 --disable-static &amp;&amp;
104make</userinput></screen>
105
106 <para>
107 To test the results, issue: <command>make check</command>.
108 </para>
109
110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
113
114<screen role="root"><userinput>make install</userinput></screen>
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para>
121 <parameter>--enable-unicode</parameter>: This switch enables Unicode
122 support and includes the functions for handling UTF-8/16/32 character
123 strings in the library.
124 </para>
125
126 <para>
127 <parameter>--enable-pcre2-16</parameter>: This switch enables 16 bit
128 character support.
129 </para>
130
131 <para>
132 <parameter>--enable-pcre2-32</parameter>: This switch enables 32 bit
133 character support.
134 </para>
135
136 <para>
137 <parameter>--enable-pcre2grep-libz</parameter>: This switch adds support
138 for reading .gz compressed files to <application>pcre2grep</application>.
139 </para>
140
141 <para>
142 <parameter>--enable-pcre2grep-libbz2</parameter>: This switch adds
143 support for reading .bz2 compressed files to
144 <application>pcre2grep</application>.
145 </para>
146
147 <para>
148 <parameter>--enable-pcre2test-libreadline</parameter>: This switch adds
149 line editing and history features to the
150 <application>pcre2test</application> program.
151 </para>
152
153 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/static-libraries.xml"/>
155
156 <para>
157 <option>--enable-jit</option>: this option enables Just-in-time compiling,
158 which can greatly speed up pattern matching.
159 </para>
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directory</segtitle>
170
171 <seglistitem>
172 <seg>
173 pcre2-config,
174 pcre2grep,
175 and pcre2test.
176 </seg>
177 <seg>
178 libpcre2-8.so,
179 libpcre2-16.so,
180 libpcre2-32.so,
181 and libpcre2-posix.so
182 </seg>
183 <seg>
184 /usr/share/doc/pcre2-&pcre2-version;
185 </seg>
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="pcre2grep">
195 <term><command>pcre2grep</command></term>
196 <listitem>
197 <para>
198 is a version of <application>grep</application>
199 that understands
200 <application>Perl compatible regular expressions.</application>.
201 </para>
202 <indexterm zone="pcre2 pcre2grep">
203 <primary sortas="b-pcre2grep">pcre2grep</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="pcre2test">
209 <term><command>pcre2test</command></term>
210 <listitem>
211 <para>
212 can test a
213 <application>Perl compatible regular expression.</application>
214 </para>
215 <indexterm zone="pcre2 pcre2test">
216 <primary sortas="b-pcre2test">pcre2</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="pcre2-config">
222 <term><command>pcre2-config</command></term>
223 <listitem>
224 <para>
225 outputs compilation information to programs linking against the
226 <application>PCRE2</application> libraries.
227 </para>
228 <indexterm zone="pcre2 pcre2-config">
229 <primary sortas="b-pcre2-config">pcre2-config</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235
236 </sect2>
237
238</sect1>
Note: See TracBrowser for help on using the repository browser.