source: general/genlib/pcre.xml@ 24f139d7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 24f139d7 was 1039de3, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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

  • Property mode set to 100644
File size: 5.7 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[469ad5d0]7 <!ENTITY pcre-download-http " ">
8 <!ENTITY pcre-download-ftp "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
[102f11d]9 <!ENTITY pcre-md5sum "61067f730c46cf6bdd0f8efe3f4f51b6">
10 <!ENTITY pcre-size "557 KB">
11 <!ENTITY pcre-buildsize "11.0 MB">
[2e3f234]12 <!ENTITY pcre-time "0.3 SBU">
[52d29f7]13]>
14
[9d0cd203]15<sect1 id="pcre" xreflabel="PCRE-&pcre-version;">
[469ad5d0]16 <?dbhtml filename="pcre.html"?>
[4c3474fe]17
[469ad5d0]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[4f26c54]21 <keywordset>
22 <keyword role="package">pcre-&pcre-version;.tar</keyword>
[22ac237]23 <keyword role="ftpdir">pcre</keyword>
[4f26c54]24 </keywordset>
[469ad5d0]25 </sect1info>
[4c3474fe]26
[469ad5d0]27 <title>PCRE-&pcre-version;</title>
[4c3474fe]28
[469ad5d0]29 <indexterm zone="pcre">
30 <primary sortas="a-PCRE">PCRE</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to PCRE</title>
[4c3474fe]35
[469ad5d0]36 <para>The <application>PCRE</application> package contains
37 <application>Perl</application> Compatible Regular Expression
38 libraries. These are useful for implementing regular expression pattern
39 matching using the same syntax and semantics as
40 <application>Perl</application> 5.</para>
[4c3474fe]41
[469ad5d0]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&pcre-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&pcre-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &pcre-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &pcre-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &pcre-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &pcre-time;</para>
61 </listitem>
62 </itemizedlist>
[4c3474fe]63
[1039de3]64 <para condition="html" role="usernotes">User Notes:
65 <ulink url="&blfs-wiki;/pcre"/></para>
66
[469ad5d0]67 </sect2>
[4c3474fe]68
[469ad5d0]69 <sect2 role="installation">
70 <title>Installation of PCRE</title>
71
[74390482]72 <para>Install <application>PCRE</application> by running
[469ad5d0]73 the following commands:</para>
74
75<screen><userinput>./configure --prefix=/usr --enable-utf8 &amp;&amp;
76make</userinput></screen>
[4fa8bf55]77
78 <para>To test the results, issue: <command>make runtest</command>.</para>
[4c3474fe]79
[469ad5d0]80 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[4c3474fe]81
[c8c8bd0f]82<screen role="root"><userinput>make install &amp;&amp;
83install -v -m755 -d /usr/share/doc/pcre-&pcre-version;/html &amp;&amp;
84install -v -m644 doc/html/* /usr/share/doc/pcre-&pcre-version;/html &amp;&amp;
85install -v -m644 doc/{Tech.Notes,*.txt} /usr/share/doc/pcre-&pcre-version;</userinput></screen>
[469ad5d0]86
[4c288b0]87 <para>If you reinstall <application>Grep</application> after installing
88 <application>PCRE</application>, <application>Grep</application> will get
89 linked against <application>PCRE</application> and may cause problems if
[74390482]90 <filename class="directory">/usr</filename> is a separate mount point. To avoid
91 this, either pass the option <option>--disable-perl-regexp</option> when executing
[4c288b0]92 <command>./configure</command> for <application>Grep</application> or move
[74390482]93 <filename class="libraryfile">libpcre</filename> to <filename
[469ad5d0]94 class="directory">/lib</filename> as follows.</para>
95
96<screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib/ &amp;&amp;
97ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
[4c3474fe]98
[469ad5d0]99 </sect2>
[4c3474fe]100
[469ad5d0]101 <sect2 role="commands">
102 <title>Command Explanations</title>
103
[74390482]104 <para><parameter>--enable-utf8</parameter>: This switch includes the code for
[469ad5d0]105 handling UTF-8 character strings in the library.</para>
[4c3474fe]106
[469ad5d0]107 </sect2>
[4c3474fe]108
[469ad5d0]109 <sect2 role="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Programs</segtitle>
114 <segtitle>Installed Libraries</segtitle>
[4c288b0]115 <segtitle>Installed Directory</segtitle>
[4c3474fe]116
[469ad5d0]117 <seglistitem>
118 <seg>pcregrep, pcretest, and pcre-config</seg>
[1039de3]119 <seg>libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}</seg>
[61ef9d8d]120 <seg>/usr/share/doc/pcre-&pcre-version;</seg>
[469ad5d0]121 </seglistitem>
122 </segmentedlist>
[4c3474fe]123
[469ad5d0]124 <variablelist>
125 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
126 <?dbfo list-presentation="list"?>
127 <?dbhtml list-presentation="table"?>
[4c3474fe]128
[469ad5d0]129 <varlistentry id="pcregrep">
130 <term><command>pcregrep</command></term>
131 <listitem>
[74390482]132 <para>is a <command>grep</command> that understands
[469ad5d0]133 <application>Perl</application> compatible regular expressions.</para>
134 <indexterm zone="pcre pcregrep">
135 <primary sortas="b-pcregrep">pcregrep</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
[4c3474fe]139
[469ad5d0]140 <varlistentry id="pcretest">
141 <term><command>pcretest</command></term>
142 <listitem>
[74390482]143 <para>can test a <application>Perl</application> compatible
[469ad5d0]144 regular expression.</para>
145 <indexterm zone="pcre pcretest">
146 <primary sortas="b-pcretest">pcretest</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
[4c3474fe]150
[469ad5d0]151 <varlistentry id="pcre-config">
152 <term><command>pcre-config</command></term>
153 <listitem>
[74390482]154 <para>is used during the compile process of programs linking to
[469ad5d0]155 the <application>PCRE</application> libraries.</para>
156 <indexterm zone="pcre pcre-config">
157 <primary sortas="b-pcre-config">pcre-config</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
[4c3474fe]161
[469ad5d0]162 </variablelist>
163
164 </sect2>
[f45b1953]165
166</sect1>
Note: See TracBrowser for help on using the repository browser.