source: general/genlib/pcre.xml@ f2464092

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 f2464092 was 864b06f4, checked in by Randy McMurchy <randy@…>, 20 years ago

added HTML download location to PCRE-4.5

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

  • Property mode set to 100644
File size: 4.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY pcre-download-http "http://www.newlisp.org/download/Tools/pcre-&pcre-version;.tar.gz">
8<!ENTITY pcre-download-ftp "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
9<!ENTITY pcre-size "344 KB">
10<!ENTITY pcre-buildsize "3.5 MB">
11<!ENTITY pcre-time "0.08 SBU">
12
13]>
14
15<sect1 id="pcre" xreflabel="PCRE-&pcre-version;">
16<?dbhtml filename="pcre.html"?>
17<title>PCRE-&pcre-version;</title>
18
19<sect2>
20<title>Introduction to <application><acronym>PCRE</acronym></application></title>
21
22<para>The <application><acronym>PCRE</acronym></application> package contains
23<application>Perl</application> Compatible Regular Expression
24libraries. These are useful for implementing regular expression pattern
25matching using the same syntax and semantics as
26<application>Perl</application> 5.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download (HTTP): <ulink
31url="&pcre-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink
33url="&pcre-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &pcre-size;</para></listitem>
35<listitem><para>Estimated Disk space required:
36&pcre-buildsize;</para></listitem>
37<listitem><para>Estimated build time:
38&pcre-time;</para></listitem></itemizedlist>
39</sect3>
40</sect2>
41
42<sect2>
43<title>Installation of <application><acronym>PCRE</acronym></application></title>
44
45<para>Install <application><acronym>PCRE</acronym></application> by running
46the following commands:</para>
47
48<screen><userinput><command>./configure --prefix=/usr --enable-utf8 &amp;&amp;
49make &amp;&amp;
50make install</command></userinput></screen>
51
52<para>If you reinstall <application>grep</application> after installing
53<application>pcre</application>, <application>grep</application> will get
54linked against <application>pcre</application> and may cause problems if
55<filename>/usr</filename> is a separate mount point. To avoid this, either
56pass the option <emphasis>--disable-perl-regexp</emphasis> when executing
57<command>./configure</command> for <application>grep</application> or move
58<filename>libpcre</filename> to <filename>/lib</filename> as follows.</para>
59
60<screen><userinput><command>mv /usr/lib/libpcre.so.* /lib/ &amp;&amp;
61ln -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen>
62</sect2>
63
64<sect2>
65<title>Command explanations</title>
66
67<para><parameter>--enable-utf8</parameter>: This switch includes the code for
68handling <acronym>UTF</acronym>-8 character strings in the library.</para>
69
70</sect2>
71
72<sect2>
73<title>Contents</title>
74
75<para>The <application><acronym>PCRE</acronym></application> package contains
76the <filename class='libraryfile'>libpcre</filename> libraries,
77<command>pcregrep</command>, <command>pcretest</command> and
78<command>pcre-config</command>.</para>
79
80</sect2>
81
82<sect2><title>Description</title>
83
84<sect3><title>pcregrep</title>
85<para><command>pcregrep</command> is a <command>grep</command> that understands
86<application>Perl</application> compatible regular expressions.</para></sect3>
87
88<sect3><title>pcretest</title>
89<para><command>pcretest</command> can test your
90<application>Perl</application> compatible regular expression.</para></sect3>
91
92<sect3><title>pcre-config</title>
93<para><command>pcre-config</command> is used during the compile process of
94programs linking to this library.</para></sect3>
95
96</sect2>
97
98</sect1>
99
Note: See TracBrowser for help on using the repository browser.