[blfs-book] r11635 - trunk/BOOK/general/genlib

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Thu Aug 15 03:31:32 PDT 2013


Author: krejzi
Date: Thu Aug 15 03:31:32 2013
New Revision: 11635

Log:
enable pcre 16 and 32 bit libraries.

Modified:
   trunk/BOOK/general/genlib/pcre.xml

Modified: trunk/BOOK/general/genlib/pcre.xml
==============================================================================
--- trunk/BOOK/general/genlib/pcre.xml	Thu Aug 15 03:13:55 2013	(r11634)
+++ trunk/BOOK/general/genlib/pcre.xml	Thu Aug 15 03:31:32 2013	(r11635)
@@ -8,8 +8,8 @@
   <!ENTITY pcre-download-ftp  "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
   <!ENTITY pcre-md5sum        "21514018448ac10062ece7a668fca949">
   <!ENTITY pcre-size          "1.4 MB">
-  <!ENTITY pcre-buildsize     "18 MB">
-  <!ENTITY pcre-time          "0.2 SBU">
+  <!ENTITY pcre-buildsize     "24 MB">
+  <!ENTITY pcre-time          "0.3 SBU">
 ]>
 
 <sect1 id="pcre" xreflabel="PCRE-&pcre-version;">
@@ -78,9 +78,6 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <ulink url="http://valgrind.org/">Valgrind</ulink>
-<!-- --enable-pcretest-libedit (redundant as long as LFS installs libreadline
-      and <ulink url="http://www.thrysoee.dk/editline/">libedit</ulink>
--->
     </para>
 
     <para condition="html" role="usernotes">User Notes:
@@ -100,6 +97,8 @@
             --docdir=/usr/share/doc/pcre-&pcre-version; \
             --enable-utf                      \
             --enable-unicode-properties       \
+            --enable-pcre16                   \
+            --enable-pcre32                   \
             --enable-pcregrep-libz            \
             --enable-pcregrep-libbz2          \
             --enable-pcretest-libreadline     \
@@ -116,7 +115,7 @@
 
 <screen role="root"><userinput>make install                     &&
 mv -v /usr/lib/libpcre.so.* /lib &&
-ln -sfv ../../lib/libpcre.so.1.2.1 /usr/lib/libpcre.so</userinput></screen>
+ln -sfv ../../lib/$(readlink /usr/lib/libpcre.so) /usr/lib/libpcre.so</userinput></screen>
 
   </sect2>
 
@@ -136,6 +135,16 @@
     </para>
 
     <para>
+      <option>--enable-pcre16</option>: This switch enables 16 bit
+      character support.
+    </para>
+
+    <para>
+      <option>--enable-pcre32</option>: This switch enables 32 bit
+      character support.
+    </para>
+
+    <para>
       <option>--enable-pcregrep-libz</option>: This switch adds
       support to <command>pcregrep</command> to read
       <filename class="extension">.gz</filename> compressed files.
@@ -177,7 +186,8 @@
           pcregrep, pcretest and pcre-config
         </seg>
         <seg>
-          libpcre.so, libpcrecpp.so and libpcreposix.so
+          libpcre.so, libpcre16.so, libpcre32.so,
+          libpcrecpp.so and libpcreposix.so
         </seg>
         <seg>
           /usr/share/doc/pcre-&pcre-version;



More information about the blfs-book mailing list