source: general/genlib/pcre.xml@ 52d29f7

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 52d29f7 was 52d29f7, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML Updates to Part III from DJ

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

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[52d29f7]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-size "344 KB">
10<!ENTITY pcre-buildsize "3.5 MB">
11<!ENTITY pcre-time "0.08 SBU">
12
13]>
14
[9d0cd203]15<sect1 id="pcre" xreflabel="PCRE-&pcre-version;">
[7f72cbf]16<?dbhtml filename="pcre.html"?>
[9d0cd203]17<title>PCRE-&pcre-version;</title>
[f45b1953]18
[52d29f7]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 the following commands:</para>
46
47<screen><userinput><command>./configure --prefix=/usr --enable-utf8 &amp;&amp;
48make &amp;&amp;
49make install</command></userinput></screen>
50
51<para>If you reinstall <application>grep</application> after installing <application>pcre</application>,
52<application>grep</application> will get linked against <application>pcre</application> and
53may cause problems if <filename>/usr</filename> is a separate mount point. To avoid this,
54either pass the option <emphasis>--disable-perl-regexp</emphasis> when executing <command>./configure</command>
55for <application>grep</application> or move <filename>libpcre</filename> to <filename>/lib</filename>
56as follows.</para>
57
58<screen><userinput><command>mv /usr/lib/libpcre.so.* /lib/ &amp;&amp;
59ln -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen>
60</sect2>
61
62<sect2>
63<title>Command explanations</title>
64
65<para><parameter>--enable-utf8</parameter>: This switch includes the
66code for handling <acronym>UTF</acronym>-8 character strings in the
67library.</para>
68
69</sect2>
70
71<sect2>
72<title>Contents</title>
73
74<para>The <application><acronym>PCRE</acronym></application> package contains
75the <filename class='libraryfile'>libpcre</filename> libraries,
76<command>pcregrep</command>, <command>pcretest</command> and
77<command>pcre-config</command>.</para>
78
79</sect2>
80
81<sect2><title>Description</title>
82
83<sect3><title>pcregrep</title>
84<para><command>pcregrep</command> is a <command>grep</command> that understands
85<application>Perl</application> compatible regular expressions.</para></sect3>
86
87<sect3><title>pcretest</title>
88<para><command>pcretest</command> can test your
89<application>Perl</application> compatible regular expression.</para></sect3>
90
91<sect3><title>pcre-config</title>
92<para><command>pcre-config</command> is used during the compile process of
93programs linking to this library.</para></sect3>
94
95</sect2>
[f45b1953]96
97</sect1>
[52d29f7]98
Note: See TracBrowser for help on using the repository browser.