Author: andy Date: 2012-02-09 06:50:35 -0700 (Thu, 09 Feb 2012) New Revision: 9329
Modified: trunk/BOOK/general.ent trunk/BOOK/general/genlib/pcre.xml trunk/BOOK/general/graphlib/lcms2.xml trunk/BOOK/introduction/welcome/changelog.xml Log: pcre-8.30 Modified: trunk/BOOK/general/genlib/pcre.xml =================================================================== --- trunk/BOOK/general/genlib/pcre.xml 2012-02-09 08:32:00 UTC (rev 9328) +++ trunk/BOOK/general/genlib/pcre.xml 2012-02-09 13:50:35 UTC (rev 9329) @@ -4,12 +4,14 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!ENTITY pcre-download-http "&sourceforge-repo;/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 "f14a9fef3c92f3fc6c5ac92d7a2c7eb3"> - <!ENTITY pcre-size "976 KB"> - <!ENTITY pcre-buildsize "12 MB"> - <!ENTITY pcre-time "0.3 SBU"> + <!ENTITY pcre-download-http + "&sourceforge-repo;/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 "d5ee0d9f6d2f0b7489331d04b6c182ef"> + <!ENTITY pcre-size "1.6 MB"> + <!ENTITY pcre-buildsize "13 MB"> + <!ENTITY pcre-time "0.2 SBU"> ]> <sect1 id="pcre" xreflabel="PCRE-&pcre-version;"> @@ -39,9 +41,10 @@ <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> + <!-- 8.30 isn't on sourceforge yet <listitem> <para>Download (HTTP): <ulink url="&pcre-download-http;"/></para> - </listitem> + </listitem> --> <listitem> <para>Download (FTP): <ulink url="&pcre-download-ftp;"/></para> </listitem> @@ -61,7 +64,6 @@ <para condition="html" role="usernotes">User Notes: <ulink url="&blfs-wiki;/pcre"/></para> - </sect2> <sect2 role="installation"> @@ -70,12 +72,9 @@ <para>Install <application>PCRE</application> by running the following commands:</para> -<screen><userinput>./configure --prefix=/usr \ - --docdir=/usr/share/doc/pcre-&pcre-version; \ - --enable-utf8 \ - --enable-unicode-properties \ - --enable-pcregrep-libz \ - --enable-pcregrep-libbz2 && +<screen><userinput>./configure --prefix=/usr --disable-static --libdir=/lib \ + --docdir=/usr/share/doc/pcre-&pcre-version; --enable-utf8 --enable-unicode-properties \ + --enable-pcregrep-libz --enable-pcregrep-libbz2 && make</userinput></screen> <para>To test the results, issue: <command>make check</command>. Note: @@ -85,24 +84,24 @@ <para>Now, as the <systemitem class="username">root</systemitem> user:</para> <screen role="root"><userinput>make install</userinput></screen> - - <para>If you reinstall <application>Grep</application> after installing - <application>PCRE</application>, <application>Grep</application> will get - linked against <application>PCRE</application> and may cause problems if - <filename class="directory">/usr</filename> is a separate mount point. To avoid - this, either pass the option <option>--disable-perl-regexp</option> when executing - <command>./configure</command> for <application>Grep</application> or move - <filename class="libraryfile">libpcre</filename> to <filename - class="directory">/lib</filename> as follows.</para> - -<screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib/ && -ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen> - </sect2> <sect2 role="commands"> <title>Command Explanations</title> + <para><option>--disable-static</option>: This switch prevents the static + libraries being installed.</para> + + <para><option>--libdir=/lib</option>: This option makes it install its + libraries into /lib. If you reinstall <application>Grep</application> after + installing <application>PCRE</application>, <application>Grep</application> + will get linked against <application>PCRE</application> and this may cause + problems during the boot process if + <filename class="directory">/usr</filename> is a separate mount + point. If you have <filename class="directory">/usr/lib</filename> on the + same partition as <filename class="directory">/lib</filename> you can omit + this option</para> + <para><parameter>--enable-utf8</parameter>: This switch includes the code for handling UTF-8 character strings in the library.</para> @@ -113,16 +112,11 @@ <para><parameter>--enable-pcregrep-libz</parameter>: This switch adds support to <command>pcregrep</command> to read - <filename class='extension'>.gz</filename> compressed files.</para> + <filename class="extension">.gz</filename> compressed files.</para> <para><parameter>--enable-pcregrep-libbz2</parameter>: This switch adds support to <command>pcregrep</command> to read - <filename class='extension'>.bz2</filename> compressed files.</para> - - <para><parameter>--enable-shared --disable-static</parameter>: This pair - of switches prevents the static libraries in this package from being - built and installed.</para> - + <filename class="extension">.bz2</filename> compressed files.</para> </sect2> <sect2 role="content"> @@ -135,7 +129,7 @@ <seglistitem> <seg>pcregrep, pcretest, and pcre-config</seg> - <seg>libpcre.{so,a}, libpcrecpp.{so,a} and libpcreposix.{so,a}</seg> + <seg>libpcre.so, libpcrecpp.so and libpcreposix.so</seg> <seg>/usr/share/doc/pcre-&pcre-version;</seg> </seglistitem> </segmentedlist> @@ -177,9 +171,6 @@ </indexterm> </listitem> </varlistentry> - </variablelist> - </sect2> - </sect1> Modified: trunk/BOOK/general/graphlib/lcms2.xml =================================================================== --- trunk/BOOK/general/graphlib/lcms2.xml 2012-02-09 08:32:00 UTC (rev 9328) +++ trunk/BOOK/general/graphlib/lcms2.xml 2012-02-09 13:50:35 UTC (rev 9329) @@ -83,7 +83,7 @@ <sect2 role="commands"> <title>Command Explanations</title> - <para><option> --disable-static</option>: This switch prevents the static + <para><option>--disable-static</option>: This switch prevents the static libraries being installed.</para> </sect2> Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2012-02-09 08:32:00 UTC (rev 9328) +++ trunk/BOOK/general.ent 2012-02-09 13:50:35 UTC (rev 9329) @@ -164,7 +164,7 @@ <!-- Part III --> <!-- Chapter 8 --> -<!ENTITY pcre-version "8.12"> +<!ENTITY pcre-version "8.30"> <!ENTITY popt-version "1.16"> <!ENTITY gamin-version "0.1.10"> <!ENTITY libxml2-version "2.7.8"> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2012-02-09 08:32:00 UTC (rev 9328) +++ trunk/BOOK/introduction/welcome/changelog.xml 2012-02-09 13:50:35 UTC (rev 9329) @@ -59,6 +59,9 @@ <listitem> <para>[ken] - merge libnotify-0.7.4 from Wayne.</para> </listitem> + <listitem> + <para>[abenton] - PCRE 8.30.</para> + </listitem> </itemizedlist> </listitem> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
