source: general/genlib/pcre.xml@ dda9e84

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since dda9e84 was dda9e84, checked in by Andrew Benton <andy@…>, 12 years ago

pcre md5sum and size

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

  • Property mode set to 100644
File size: 6.2 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 pcre-download-http
8 "&sourceforge-repo;/pcre/pcre-&pcre-version;.tar.bz2">
9 <!ENTITY pcre-download-ftp
10 "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
11 <!ENTITY pcre-md5sum "98e8928cccc945d04279581e778fbdff">
12 <!ENTITY pcre-size "1.2 MB">
13 <!ENTITY pcre-buildsize "13 MB">
14 <!ENTITY pcre-time "0.2 SBU">
15]>
16
17<sect1 id="pcre" xreflabel="PCRE-&pcre-version;">
18 <?dbhtml filename="pcre.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>PCRE-&pcre-version;</title>
26
27 <indexterm zone="pcre">
28 <primary sortas="a-PCRE">PCRE</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to PCRE</title>
33
34 <para>The <application>PCRE</application> package contains
35 <application>Perl</application> Compatible Regular Expression
36 libraries. These are useful for implementing regular expression pattern
37 matching using the same syntax and semantics as
38 <application>Perl</application> 5.</para>
39
40 &lfs70_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <!-- 8.30 isn't on sourceforge yet
45 <listitem>
46 <para>Download (HTTP): <ulink url="&pcre-download-http;"/></para>
47 </listitem> -->
48 <listitem>
49 <para>Download (FTP): <ulink url="&pcre-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &pcre-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &pcre-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &pcre-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &pcre-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <para condition="html" role="usernotes">User Notes:
66 <ulink url="&blfs-wiki;/pcre"/></para>
67 </sect2>
68
69 <sect2 role="installation">
70 <title>Installation of PCRE</title>
71
72 <para>Install <application>PCRE</application> by running
73 the following commands:</para>
74
75<screen><userinput>./configure --prefix=/usr --disable-static --libdir=/lib \
76 --docdir=/usr/share/doc/pcre-&pcre-version; --enable-utf8 --enable-unicode-properties \
77 --enable-pcregrep-libz --enable-pcregrep-libbz2 &amp;&amp;
78make</userinput></screen>
79
80 <para>To test the results, issue: <command>make check</command>.</para>
81
82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
83
84<screen role="root"><userinput>make install</userinput></screen>
85 </sect2>
86
87 <sect2 role="commands">
88 <title>Command Explanations</title>
89
90 <para><option>--disable-static</option>: This switch prevents the static
91 libraries being installed.</para>
92
93 <para><option>--libdir=/lib</option>: This option makes it install its
94 libraries into /lib. If you reinstall <application>Grep</application> after
95 installing <application>PCRE</application>, <application>Grep</application>
96 will get linked against <application>PCRE</application> and this may cause
97 problems during the boot process if
98 <filename class="directory">/usr</filename> is a separate mount
99 point. If you have <filename class="directory">/usr/lib</filename> on the
100 same partition as <filename class="directory">/lib</filename> you can omit
101 this option</para>
102
103 <para><parameter>--enable-utf8</parameter>: This switch includes the code for
104 handling UTF-8 character strings in the library.</para>
105
106 <para><parameter>--enable-unicode-properties</parameter>: This switch
107 enables Unicode properties support. Note: You need this switch if you are
108 going to build <xref linkend="glib2"/> with the
109 <parameter>--with-pcre=system</parameter> switch.</para>
110
111 <para><parameter>--enable-pcregrep-libz</parameter>: This switch adds
112 support to <command>pcregrep</command> to read
113 <filename class="extension">.gz</filename> compressed files.</para>
114
115 <para><parameter>--enable-pcregrep-libbz2</parameter>: This switch adds
116 support to <command>pcregrep</command> to read
117 <filename class="extension">.bz2</filename> compressed files.</para>
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directory</segtitle>
127
128 <seglistitem>
129 <seg>pcregrep, pcretest, and pcre-config</seg>
130 <seg>libpcre.so, libpcrecpp.so and libpcreposix.so</seg>
131 <seg>/usr/share/doc/pcre-&pcre-version;</seg>
132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140 <varlistentry id="pcregrep">
141 <term><command>pcregrep</command></term>
142 <listitem>
143 <para>is a <command>grep</command> that understands
144 <application>Perl</application> compatible regular expressions.</para>
145 <indexterm zone="pcre pcregrep">
146 <primary sortas="b-pcregrep">pcregrep</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="pcretest">
152 <term><command>pcretest</command></term>
153 <listitem>
154 <para>can test a <application>Perl</application> compatible
155 regular expression.</para>
156 <indexterm zone="pcre pcretest">
157 <primary sortas="b-pcretest">pcretest</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="pcre-config">
163 <term><command>pcre-config</command></term>
164 <listitem>
165 <para>is used during the compile process of programs linking to
166 the <application>PCRE</application> libraries.</para>
167 <indexterm zone="pcre pcre-config">
168 <primary sortas="b-pcre-config">pcre-config</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172 </variablelist>
173 </sect2>
174</sect1>
Note: See TracBrowser for help on using the repository browser.