Changeset 469ad5d0
- Timestamp:
- 05/01/2005 03:34:33 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.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/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 36f0d75
- Parents:
- 2a78ab4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/pcre.xml
r2a78ab4 r469ad5d0 5 5 %general-entities; 6 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 "465 KB">11 <!ENTITY pcre-buildsize "5.3 MB">12 <!ENTITY pcre-time "0.11 SBU">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-md5sum "813850808894d99fb5b1c41ec6335d4f"> 10 <!ENTITY pcre-size "465 KB"> 11 <!ENTITY pcre-buildsize "5.3 MB"> 12 <!ENTITY pcre-time "0.11 SBU"> 13 13 ]> 14 14 15 15 <sect1 id="pcre" xreflabel="PCRE-&pcre-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="pcre.html"?> 21 <title>PCRE-&pcre-version;</title> 22 <indexterm zone="pcre"> 23 <primary sortas="a-PCRE">PCRE</primary></indexterm> 16 <?dbhtml filename="pcre.html"?> 17 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 22 23 <title>PCRE-&pcre-version;</title> 24 25 <indexterm zone="pcre"> 26 <primary sortas="a-PCRE">PCRE</primary> 27 </indexterm> 24 28 25 <sect2> 26 <title>Introduction to 27 <application><acronym>PCRE</acronym></application></title> 29 <sect2 role="package"> 30 <title>Introduction to PCRE</title> 31 32 <para>The <application>PCRE</application> package contains 33 <application>Perl</application> Compatible Regular Expression 34 libraries. These are useful for implementing regular expression pattern 35 matching using the same syntax and semantics as 36 <application>Perl</application> 5.</para> 37 38 <bridgehead renderas="sect3">Package Information</bridgehead> 39 <itemizedlist spacing="compact"> 40 <listitem> 41 <para>Download (HTTP): <ulink url="&pcre-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&pcre-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &pcre-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &pcre-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &pcre-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &pcre-time;</para> 57 </listitem> 58 </itemizedlist> 59 60 </sect2> 61 62 <sect2 role="installation"> 63 <title>Installation of PCRE</title> 28 64 29 <para>The <application><acronym>PCRE</acronym></application> package contains 30 <application>Perl</application> Compatible Regular Expression 31 libraries. These are useful for implementing regular expression pattern 32 matching using the same syntax and semantics as 33 <application>Perl</application> 5.</para> 65 <para>Install <application>PCRE</application> by running 66 the following commands:</para> 34 67 35 <sect3><title>Package information</title> 36 <itemizedlist spacing='compact'> 37 <listitem><para>Download (HTTP): <ulink 38 url="&pcre-download-http;"/></para></listitem> 39 <listitem><para>Download (FTP): <ulink 40 url="&pcre-download-ftp;"/></para></listitem> 41 <listitem><para>Download MD5 Sum: &pcre-md5;</para></listitem> 42 <listitem><para>Download size: &pcre-size;</para></listitem> 43 <listitem><para>Estimated disk space required: 44 &pcre-buildsize;</para></listitem> 45 <listitem><para>Estimated build time: 46 &pcre-time;</para></listitem></itemizedlist> 47 </sect3> 48 </sect2> 68 <screen><userinput>./configure --prefix=/usr --enable-utf8 && 69 make</userinput></screen> 70 71 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 72 73 <screen role="root"><userinput>make install</userinput></screen> 49 74 50 <sect2> 51 <title>Installation of 52 <application><acronym>PCRE</acronym></application></title> 75 <para>If you reinstall <application>grep</application> after installing 76 <application>pcre</application>, <application>grep</application> will get 77 linked against <application>pcre</application> and may cause problems if 78 <filename class="directory">/usr</filename> is a separate mount point. To avoid 79 this, either pass the option <option>--disable-perl-regexp</option> when executing 80 <command>./configure</command> for <application>grep</application> or move 81 <filename class="libraryfile">libpcre</filename> to <filename 82 class="directory">/lib</filename> as follows.</para> 53 83 54 <para>Install <application><acronym>PCRE</acronym></application> by running 55 the following commands:</para> 84 <screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib/ && 85 ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen> 86 87 </sect2> 88 89 <sect2 role="commands"> 90 <title>Command Explanations</title> 56 91 57 <screen><userinput><command>./configure --prefix=/usr --enable-utf8 && 58 make</command></userinput></screen> 92 <para><parameter>--enable-utf8</parameter>: This switch includes the code for 93 handling UTF-8 character strings in the library.</para> 94 95 </sect2> 96 97 <sect2 role="content"> 98 <title>Contents</title> 59 99 60 <para>Now, as the root user:</para> 100 <segmentedlist> 101 <segtitle>Installed Programs</segtitle> 102 <segtitle>Installed Libraries</segtitle> 103 <segtitle>Installed Directories</segtitle> 104 105 <seglistitem> 106 <seg>pcregrep, pcretest, and pcre-config</seg> 107 <seg>libpcre.[so,a] and libpcreposix.[so,a]</seg> 108 <seg>None</seg> 109 </seglistitem> 110 </segmentedlist> 111 112 <variablelist> 113 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 114 <?dbfo list-presentation="list"?> 115 <?dbhtml list-presentation="table"?> 116 117 <varlistentry id="pcregrep"> 118 <term><command>pcregrep</command></term> 119 <listitem> 120 <para>is a <command>grep</command> that understands 121 <application>Perl</application> compatible regular expressions.</para> 122 <indexterm zone="pcre pcregrep"> 123 <primary sortas="b-pcregrep">pcregrep</primary> 124 </indexterm> 125 </listitem> 126 </varlistentry> 127 128 <varlistentry id="pcretest"> 129 <term><command>pcretest</command></term> 130 <listitem> 131 <para>can test a <application>Perl</application> compatible 132 regular expression.</para> 133 <indexterm zone="pcre pcretest"> 134 <primary sortas="b-pcretest">pcretest</primary> 135 </indexterm> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry id="pcre-config"> 140 <term><command>pcre-config</command></term> 141 <listitem> 142 <para>is used during the compile process of programs linking to 143 the <application>PCRE</application> libraries.</para> 144 <indexterm zone="pcre pcre-config"> 145 <primary sortas="b-pcre-config">pcre-config</primary> 146 </indexterm> 147 </listitem> 148 </varlistentry> 149 150 </variablelist> 61 151 62 <screen><userinput role='root'><command>make install</command></userinput></screen> 63 64 <para>If you reinstall <application>grep</application> after installing 65 <application>pcre</application>, <application>grep</application> will get 66 linked against <application>pcre</application> and may cause problems if 67 <filename>/usr</filename> is a separate mount point. To avoid this, either 68 pass the option <emphasis>--disable-perl-regexp</emphasis> when executing 69 <command>./configure</command> for <application>grep</application> or move 70 <filename>libpcre</filename> to <filename>/lib</filename> as follows.</para> 71 72 <screen><userinput><command>mv -v /usr/lib/libpcre.so.* /lib/ && 73 ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen> 74 75 </sect2> 76 77 <sect2> 78 <title>Command explanations</title> 79 80 <para><parameter>--enable-utf8</parameter>: This switch includes the code for 81 handling <acronym>UTF</acronym>-8 character strings in the library.</para> 82 83 </sect2> 84 85 <sect2> 86 <title>Contents</title> 87 88 <segmentedlist> 89 <segtitle>Installed Programs</segtitle> 90 <segtitle>Installed Libraries</segtitle> 91 <segtitle>Installed Directories</segtitle> 92 93 <seglistitem> 94 <seg>pcregrep, pcretest and pcre-config</seg> 95 <seg>libpcre.[so,a] and libpcreposix.[so,a]</seg> 96 <seg>None</seg> 97 </seglistitem> 98 </segmentedlist> 99 100 <variablelist> 101 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 102 <?dbfo list-presentation="list"?> 103 104 <varlistentry id="pcregrep"> 105 <term><command>pcregrep</command></term> 106 <listitem><para>is a <command>grep</command> that understands 107 <application>Perl</application> compatible regular expressions.</para> 108 <indexterm zone="pcre pcregrep"> 109 <primary sortas="b-pcregrep">pcregrep</primary> 110 </indexterm></listitem> 111 </varlistentry> 112 113 <varlistentry id="pcretest"> 114 <term><command>pcretest</command></term> 115 <listitem><para>can test a <application>Perl</application> compatible 116 regular expression.</para> 117 <indexterm zone="pcre pcretest"> 118 <primary sortas="b-pcretest">pcretest</primary> 119 </indexterm></listitem> 120 </varlistentry> 121 122 <varlistentry id="pcre-config"> 123 <term><command>pcre-config</command></term> 124 <listitem><para>is used during the compile process of programs linking to 125 the <application>PCRE</application> libraries.</para> 126 <indexterm zone="pcre pcre-config"> 127 <primary sortas="b-pcre-config">pcre-config</primary> 128 </indexterm></listitem> 129 </varlistentry> 130 </variablelist> 131 132 </sect2> 152 </sect2> 133 153 134 154 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.