source: general/genlib/pcre.xml@ ecbeb38

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ecbeb38 was ecbeb38, checked in by Larry Lawrence <larry@…>, 17 years ago

updated to pcre-5.0

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

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