Changeset ea16306 for general/genlib


Ignore:
Timestamp:
07/19/2012 01:08:12 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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
Children:
355495ce
Parents:
c07080d
Message:

PCRE 8.31

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/pcre.xml

    rc07080d rea16306  
    55  %general-entities;
    66
    7   <!ENTITY pcre-download-http
    8   "&sourceforge-repo;/pcre/pcre-&pcre-version;.tar.bz2">
    9   <!ENTITY pcre-download-ftp
    10   "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
    11   <!ENTITY pcre-md5sum        "98e8928cccc945d04279581e778fbdff">
     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        "1c9a276af932b5599157f96e945391f0">
    1210  <!ENTITY pcre-size          "1.2 MB">
    1311  <!ENTITY pcre-buildsize     "13 MB">
     
    3230    <title>Introduction to PCRE</title>
    3331
    34     <para>The <application>PCRE</application> package contains
    35     <application>Perl</application> Compatible Regular Expression
    36     libraries. These are useful for implementing regular expression pattern
    37     matching using the same syntax and semantics as
    38     <application>Perl</application> 5.</para>
     32    <para>
     33      The <application>PCRE</application> package contains
     34      <application>Perl</application> Compatible Regular Expression
     35      libraries. These are useful for implementing regular expression
     36      pattern matching using the same syntax and semantics as
     37      <application>Perl</application> 5.
     38    </para>
    3939
    4040    &lfs71_checked;
     
    4242    <bridgehead renderas="sect3">Package Information</bridgehead>
    4343    <itemizedlist spacing="compact">
    44       <!-- 8.30 isn't on sourceforge yet
    45       <listitem>
    46         <para>Download (HTTP): <ulink url="&pcre-download-http;"/></para>
    47       </listitem> -->
    48       <listitem>
    49         <para>Download (FTP): <ulink url="&pcre-download-ftp;"/></para>
    50       </listitem>
    51       <listitem>
    52         <para>Download MD5 sum: &pcre-md5sum;</para>
    53       </listitem>
    54       <listitem>
    55         <para>Download size: &pcre-size;</para>
    56       </listitem>
    57       <listitem>
    58         <para>Estimated disk space required: &pcre-buildsize;</para>
    59       </listitem>
    60       <listitem>
    61         <para>Estimated build time: &pcre-time;</para>
     44      <listitem>
     45        <para>
     46          Download (HTTP): <ulink url="&pcre-download-http;"/>
     47        </para>
     48      </listitem>
     49      <listitem>
     50        <para>
     51          Download (FTP): <ulink url="&pcre-download-ftp;"/>
     52        </para>
     53      </listitem>
     54      <listitem>
     55        <para>
     56          Download MD5 sum: &pcre-md5sum;
     57        </para>
     58      </listitem>
     59      <listitem>
     60        <para>
     61          Download size: &pcre-size;
     62        </para>
     63      </listitem>
     64      <listitem>
     65        <para>
     66          Estimated disk space required: &pcre-buildsize;
     67        </para>
     68      </listitem>
     69      <listitem>
     70        <para>
     71          Estimated build time: &pcre-time;
     72        </para>
    6273      </listitem>
    6374    </itemizedlist>
    6475
    6576    <para condition="html" role="usernotes">User Notes:
    66     <ulink url="&blfs-wiki;/pcre"/></para>
     77      <ulink url="&blfs-wiki;/pcre"/>
     78    </para>
    6779  </sect2>
    6880
     
    7082    <title>Installation of PCRE</title>
    7183
    72     <para>Install <application>PCRE</application> by running
    73     the following commands:</para>
    74 
    75 <screen><userinput>./configure --prefix=/usr --disable-static --libdir=/lib \
    76   --docdir=/usr/share/doc/pcre-&pcre-version; --enable-utf8 --enable-unicode-properties \
    77   --enable-pcregrep-libz --enable-pcregrep-libbz2 &amp;&amp;
     84    <para>
     85      Install <application>PCRE</application> by running
     86      the following commands:
     87    </para>
     88
     89<screen><userinput>./configure --prefix=/usr \
     90            --docdir=/usr/share/doc/pcre-&pcre-version; \
     91            --enable-utf \
     92            --enable-unicode-properties \
     93            --enable-pcregrep-libz \
     94            --enable-pcregrep-libbz2 \
     95            --disable-static &amp;&amp;
    7896make</userinput></screen>
    7997
    80     <para>To test the results, issue: <command>make check</command>.</para>
    81 
    82     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     98    <para>
     99      To test the results, issue: <command>make check</command>.
     100    </para>
     101
     102    <para>
     103      Now, as the <systemitem class="username">root</systemitem> user:
     104    </para>
    83105
    84106<screen role="root"><userinput>make install &amp;&amp;
    85 mv /lib/pkgconfig/libpcre*.pc /usr/lib/pkgconfig</userinput></screen>
     107mv -v /usr/lib/libpcre.so.* /lib &amp;&amp;
     108ln -sfv ../../lib/libpcre.so.1.0.1 /usr/lib/libpcre.so</userinput></screen>
    86109
    87110  </sect2>
     
    90113    <title>Command Explanations</title>
    91114
    92     <para><option>--disable-static</option>: This switch prevents the static
    93     libraries being installed.</para>
    94 
    95     <para><option>--libdir=/lib</option>: This option makes it install its
    96     libraries into /lib. If you reinstall <application>Grep</application> after
    97     installing <application>PCRE</application>, <application>Grep</application>
    98     will get linked against <application>PCRE</application> and this may cause
    99     problems during the boot process if
    100     <filename class="directory">/usr</filename> is a separate mount
    101     point. If you have <filename class="directory">/usr/lib</filename> on the
    102     same partition as <filename class="directory">/lib</filename> you can omit
    103     this option</para>
    104 
    105     <para><parameter>--enable-utf8</parameter>: This switch includes the code for
    106     handling UTF-8 character strings in the library.</para>
    107 
    108     <para><parameter>--enable-unicode-properties</parameter>: This switch
    109     enables Unicode properties support. Note: You need this switch if you are
    110     going to build <xref linkend="glib2"/> with the
    111     <parameter>--with-pcre=system</parameter> switch.</para>
    112 
    113     <para><parameter>--enable-pcregrep-libz</parameter>: This switch adds
    114     support to <command>pcregrep</command> to read
    115     <filename class="extension">.gz</filename> compressed files.</para>
    116 
    117     <para><parameter>--enable-pcregrep-libbz2</parameter>: This switch adds
    118     support to <command>pcregrep</command> to read
    119     <filename class="extension">.bz2</filename> compressed files.</para>
     115    <para>
     116      <option>--enable-utf</option>: This switch includes the code for
     117      handling UTF-8 character strings in the library.
     118    </para>
     119
     120    <para>
     121      <option>--enable-unicode-properties</option>: This switch enables
     122      Unicode properties support. Note: You need this switch if you are
     123      going to build <xref linkend="glib2"/> with the
     124      <parameter>--with-pcre=system</parameter> switch.
     125    </para>
     126
     127    <para>
     128      <option>--enable-pcregrep-libz</option>: This switch adds
     129      support to <command>pcregrep</command> to read
     130      <filename class="extension">.gz</filename> compressed files.
     131    </para>
     132
     133    <para>
     134      <option>--enable-pcregrep-libbz2</option>: This switch adds
     135      support to <command>pcregrep</command> to read
     136      <filename class="extension">.bz2</filename> compressed files.
     137    </para>
     138
     139    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     140      href="../../xincludes/static-libraries.xml"/>
     141
     142    <para>
     143      <command>mv -v /usr/lib/libpcre.so.* /lib</command>: Moves
     144      <application>PCRE</application> library on the root filesystem
     145      so that it is available in case <command>grep</command>
     146      gets reinstalled with <application>PCRE</application> support.
     147    </para>
     148
    120149  </sect2>
    121150
     
    129158
    130159      <seglistitem>
    131         <seg>pcregrep, pcretest, and pcre-config</seg>
    132         <seg>libpcre.so, libpcrecpp.so and libpcreposix.so</seg>
    133         <seg>/usr/share/doc/pcre-&pcre-version;</seg>
     160        <seg>
     161          pcregrep, pcretest and pcre-config
     162        </seg>
     163        <seg>
     164          libpcre.so, libpcrecpp.so and libpcreposix.so
     165        </seg>
     166        <seg>
     167          /usr/share/doc/pcre-&pcre-version;
     168        </seg>
    134169      </seglistitem>
    135170    </segmentedlist>
     
    143178        <term><command>pcregrep</command></term>
    144179        <listitem>
    145           <para>is a <command>grep</command> that understands
    146           <application>Perl</application> compatible regular expressions.</para>
     180          <para>
     181            is a <command>grep</command> that understands
     182            <application>Perl</application> compatible regular expressions.
     183          </para>
    147184          <indexterm zone="pcre pcregrep">
    148185            <primary sortas="b-pcregrep">pcregrep</primary>
     
    154191        <term><command>pcretest</command></term>
    155192        <listitem>
    156           <para>can test a <application>Perl</application> compatible
    157           regular expression.</para>
     193          <para>
     194            can test a <application>Perl</application> compatible
     195            regular expression.
     196          </para>
    158197          <indexterm zone="pcre pcretest">
    159198            <primary sortas="b-pcretest">pcretest</primary>
     
    165204        <term><command>pcre-config</command></term>
    166205        <listitem>
    167           <para>is used during the compile process of programs linking to
    168           the <application>PCRE</application> libraries.</para>
     206          <para>
     207            is used during the compile process of programs linking to
     208            the <application>PCRE</application> libraries.
     209          </para>
    169210          <indexterm zone="pcre pcre-config">
    170211            <primary sortas="b-pcre-config">pcre-config</primary>
     
    172213        </listitem>
    173214      </varlistentry>
     215
    174216    </variablelist>
    175   </sect2>
     217
     218  </sect2>
     219
    176220</sect1>
Note: See TracChangeset for help on using the changeset viewer.