Ignore:
Timestamp:
02/09/2012 01:50:35 PM (12 years ago)
Author:
Andrew Benton <andy@…>
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:
e4b35fd
Parents:
4f51961
Message:

pcre-8.30

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/pcre.xml

    r4f51961 r3861ffb  
    55  %general-entities;
    66
    7   <!ENTITY pcre-download-http "&sourceforge-repo;/pcre/pcre-&pcre-version;.tar.bz2">
    8   <!ENTITY pcre-download-ftp  "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
    9   <!ENTITY pcre-md5sum        "f14a9fef3c92f3fc6c5ac92d7a2c7eb3">
    10   <!ENTITY pcre-size          "976 KB">
    11   <!ENTITY pcre-buildsize     "12 MB">
    12   <!ENTITY pcre-time          "0.3 SBU">
     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        "d5ee0d9f6d2f0b7489331d04b6c182ef">
     12  <!ENTITY pcre-size          "1.6 MB">
     13  <!ENTITY pcre-buildsize     "13 MB">
     14  <!ENTITY pcre-time          "0.2 SBU">
    1315]>
    1416
     
    4042    <bridgehead renderas="sect3">Package Information</bridgehead>
    4143    <itemizedlist spacing="compact">
     44      <!-- 8.30 isn't on sourceforge yet
    4245      <listitem>
    4346        <para>Download (HTTP): <ulink url="&pcre-download-http;"/></para>
    44       </listitem>
     47      </listitem> -->
    4548      <listitem>
    4649        <para>Download (FTP): <ulink url="&pcre-download-ftp;"/></para>
     
    6265    <para condition="html" role="usernotes">User Notes:
    6366    <ulink url="&blfs-wiki;/pcre"/></para>
    64 
    6567  </sect2>
    6668
     
    7173    the following commands:</para>
    7274
    73 <screen><userinput>./configure --prefix=/usr \
    74             --docdir=/usr/share/doc/pcre-&pcre-version; \
    75             --enable-utf8 \
    76             --enable-unicode-properties \
    77             --enable-pcregrep-libz \
    78             --enable-pcregrep-libbz2 &amp;&amp;
     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;
    7978make</userinput></screen>
    8079
     
    8685
    8786<screen role="root"><userinput>make install</userinput></screen>
    88 
    89     <para>If you reinstall <application>Grep</application> after installing
    90     <application>PCRE</application>, <application>Grep</application> will get
    91     linked against <application>PCRE</application> and may cause problems if
    92     <filename class="directory">/usr</filename> is a separate mount point. To avoid
    93     this, either pass the option <option>--disable-perl-regexp</option> when executing
    94     <command>./configure</command> for <application>Grep</application> or move
    95     <filename class="libraryfile">libpcre</filename> to <filename
    96     class="directory">/lib</filename> as follows.</para>
    97 
    98 <screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib/ &amp;&amp;
    99 ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
    100 
    10187  </sect2>
    10288
    10389  <sect2 role="commands">
    10490    <title>Command Explanations</title>
     91
     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>
    105104
    106105    <para><parameter>--enable-utf8</parameter>: This switch includes the code for
     
    114113    <para><parameter>--enable-pcregrep-libz</parameter>: This switch adds
    115114    support to <command>pcregrep</command> to read
    116     <filename class='extension'>.gz</filename> compressed files.</para>
     115    <filename class="extension">.gz</filename> compressed files.</para>
    117116
    118117    <para><parameter>--enable-pcregrep-libbz2</parameter>: This switch adds
    119118    support to <command>pcregrep</command> to read
    120     <filename class='extension'>.bz2</filename> compressed files.</para>
    121 
    122     <para><parameter>--enable-shared --disable-static</parameter>: This pair
    123     of switches prevents the static libraries in this package from being
    124     built and installed.</para>
    125 
     119    <filename class="extension">.bz2</filename> compressed files.</para>
    126120  </sect2>
    127121
     
    136130      <seglistitem>
    137131        <seg>pcregrep, pcretest, and pcre-config</seg>
    138         <seg>libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}</seg>
     132        <seg>libpcre.so, libpcrecpp.so and libpcreposix.so</seg>
    139133        <seg>/usr/share/doc/pcre-&pcre-version;</seg>
    140134      </seglistitem>
     
    178172        </listitem>
    179173      </varlistentry>
    180 
    181174    </variablelist>
    182 
    183175  </sect2>
    184 
    185176</sect1>
Note: See TracChangeset for help on using the changeset viewer.