Updated to pcre-7.6

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7208 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ag Hatzimanikas 2008-03-07 17:52:58 +00:00
parent b12cddd3f7
commit e924583383
4 changed files with 35 additions and 7 deletions

View File

@ -95,7 +95,7 @@ $Date$
<!-- Part III -->
<!-- Chapter 8 -->
<!ENTITY pcre-version "7.2">
<!ENTITY pcre-version "7.6">
<!ENTITY popt-version "1.10.4">
<!ENTITY slang-version "2.1.1">
<!ENTITY gamin-version "0.1.8">

View File

@ -4,10 +4,10 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY pcre-download-http " ">
<!ENTITY pcre-download-http "http://downloads.sourceforge.net/pcre/pcre-&pcre-version;.tar.bz2">
<!ENTITY pcre-download-ftp "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
<!ENTITY pcre-md5sum "53305db73855f1ff155dcd2c05d448d3">
<!ENTITY pcre-size "738 KB">
<!ENTITY pcre-md5sum "2af38e083fb90ef60fa9eda7cc290e86">
<!ENTITY pcre-size "780 KB">
<!ENTITY pcre-buildsize "11 MB">
<!ENTITY pcre-time "0.3 SBU">
]>
@ -57,6 +57,14 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/pcre-&pcre-version;-abi_breakage-1.patch"/></para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/pcre"/></para>
@ -68,9 +76,12 @@
<para>Install <application>PCRE</application> by running
the following commands:</para>
<screen><userinput>./configure --prefix=/usr \
<screen><userinput>patch -Np1 -i ../pcre-&pcre-version;-abi_breakage-1.patch &amp;&amp;
./configure --prefix=/usr \
--docdir=/usr/share/doc/pcre-&pcre-version; \
--enable-utf8 &amp;&amp;
--enable-utf8 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
@ -98,6 +109,17 @@ ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
<para><parameter>--enable-utf8</parameter>: This switch includes the code for
handling UTF-8 character strings in the library.</para>
<para><parameter>--enable-unicode-properties</parameter>: This switch
enables Unicode properties support. Note: You need this switch if you are
going to built <xref linkend="glib2"/> with the
<parameter>--with-pcre=system</parameter> switch.</para>
<para><parameter>--enable-pcregrep-libz</parameter>: This switch adds
support to pcregrep to read .gz compressed files.</para>
<para><parameter>--enable-pcregrep-libbz2</parameter>: This switch adds
support to pcregrep to read .bz2 compressed files.</para>
</sect2>

View File

@ -44,6 +44,12 @@
<listitem>
<para>March 7th, 2008</para>
<itemizedlist>
<listitem>
<para>[ag] - Updated to pcre-7.6. Added the --enable-pcregrep-libbz2
and --enable-pcregrep-libz switches. Added in commands explanations
the --enable-unicode-properties switch. Added patch to fix ABI
breakage.</para>
</listitem>
<listitem>
<para>[randy] - Added new package GnuPG-2.0.8.</para>
</listitem>

View File

@ -165,7 +165,7 @@ install -v -m644 Doc/zsh.dvi /usr/share/doc/zsh-&zsh-version;</userinput></scree
<filename class='libraryfile'>libpcre.so</filename>. If
<filename class='directory'>/usr</filename> is a separate mount point and
<command>zsh</command> needs to be available at boot time, either you
have statically link <application>ZSH</application> against
have to statically link <application>ZSH</application> against
<application>PCRE</application> (you can examine the
<filename>config.modules</filename> file on how to link statically the
module), or move the library to <filename class='directory'>/lib</filename>