source: general/genlib/pcre2.xml@ 0129a2f5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 0129a2f5 was 0129a2f5, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to vinagre-3.22.0
Update to gnome-terminal-3.22.0
Update to mutter-3.22.0
Update to gnome-session-3.22.0
Update to gnome-shell-extensions-3.22.0
Update to gnome-shell-3.22.0
Update to gdm-3.22.0
Update to gnome-control-center-3.22.0
Fix PCRE2 xref id
More to come...

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

  • Property mode set to 100644
File size: 6.7 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 " ">
8 <!ENTITY pcre2-download-ftp "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-&pcre2-version;.tar.bz2">
9 <!ENTITY pcre2-md5sum "c0c02517938ee2b0d350d53edf450664">
10 <!ENTITY pcre2-size "1.5 MB">
11 <!ENTITY pcre2-buildsize "24 MB (with tests)">
12 <!ENTITY pcre2-time "0.4 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 &lfs7a_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 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directory</segtitle>
165
166 <seglistitem>
167 <seg>
168 pcre2-config,
169 pcre2grep,
170 and pcre2test.
171 </seg>
172 <seg>
173 libpcre2-8.so,
174 libpcre2-16.so,
175 libpcre2-32.so,
176 and libpcre2-posix.so
177 </seg>
178 <seg>
179 /usr/share/doc/pcre2-&pcre2-version;
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="pcre2grep">
190 <term><command>pcre2grep</command></term>
191 <listitem>
192 <para>
193 is a version of <application>grep</application>
194 that understands
195 <application>Perl compatible regular expressions.</application>.
196 </para>
197 <indexterm zone="pcre2 pcre2grep">
198 <primary sortas="b-pcre2grep">pcre2grep</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="pcre2test">
204 <term><command>pcre2test</command></term>
205 <listitem>
206 <para>
207 can test a
208 <application>Perl compatible regular expression.</application>
209 </para>
210 <indexterm zone="pcre2 pcre2test">
211 <primary sortas="b-pcre2test">pcre2</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="pcre2-config">
217 <term><command>pcre2-config</command></term>
218 <listitem>
219 <para>
220 outputs compilation information to programs linking against the
221 <application>PCRE2</application> libraries.
222 </para>
223 <indexterm zone="pcre2 pcre2-config">
224 <primary sortas="b-pcre2-config">pcre2-config</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.