mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Updated build entities and added indexing tags to the PCRE instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3664 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c507fdb39e
commit
aa96cbbc26
@ -7,9 +7,9 @@
|
||||
<!ENTITY pcre-download-http " ">
|
||||
<!ENTITY pcre-download-ftp "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-&pcre-version;.tar.bz2">
|
||||
<!ENTITY pcre-md5 "813850808894d99fb5b1c41ec6335d4f">
|
||||
<!ENTITY pcre-size "460 KB">
|
||||
<!ENTITY pcre-buildsize "3.5 MB">
|
||||
<!ENTITY pcre-time "0.08 SBU">
|
||||
<!ENTITY pcre-size "465 KB">
|
||||
<!ENTITY pcre-buildsize "5.3 MB">
|
||||
<!ENTITY pcre-time "0.11 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="pcre" xreflabel="PCRE-&pcre-version;">
|
||||
@ -19,9 +19,12 @@
|
||||
</sect1info>
|
||||
<?dbhtml filename="pcre.html"?>
|
||||
<title>PCRE-&pcre-version;</title>
|
||||
<indexterm zone="pcre">
|
||||
<primary sortas="a-PCRE">PCRE</primary></indexterm>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application><acronym>PCRE</acronym></application></title>
|
||||
<title>Introduction to
|
||||
<application><acronym>PCRE</acronym></application></title>
|
||||
|
||||
<para>The <application><acronym>PCRE</acronym></application> package contains
|
||||
<application>Perl</application> Compatible Regular Expression
|
||||
@ -45,14 +48,18 @@ url="&pcre-download-ftp;"/></para></listitem>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application><acronym>PCRE</acronym></application></title>
|
||||
<title>Installation of
|
||||
<application><acronym>PCRE</acronym></application></title>
|
||||
|
||||
<para>Install <application><acronym>PCRE</acronym></application> by running
|
||||
the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure --prefix=/usr --enable-utf8 &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
make</command></userinput></screen>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
||||
|
||||
<para>If you reinstall <application>grep</application> after installing
|
||||
<application>pcre</application>, <application>grep</application> will get
|
||||
@ -62,8 +69,8 @@ pass the option <emphasis>--disable-perl-regexp</emphasis> when executing
|
||||
<command>./configure</command> for <application>grep</application> or move
|
||||
<filename>libpcre</filename> to <filename>/lib</filename> as follows.</para>
|
||||
|
||||
<screen><userinput><command>mv /usr/lib/libpcre.so.* /lib/ &&
|
||||
ln -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen>
|
||||
<screen><userinput><command>mv -v /usr/lib/libpcre.so.* /lib/ &&
|
||||
ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -78,26 +85,49 @@ handling <acronym>UTF</acronym>-8 character strings in the library.</para>
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application><acronym>PCRE</acronym></application> package contains
|
||||
the <filename class='libraryfile'>libpcre</filename> libraries,
|
||||
<command>pcregrep</command>, <command>pcretest</command> and
|
||||
<command>pcre-config</command>.</para>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
</sect2>
|
||||
<seglistitem>
|
||||
<seg>pcregrep, pcretest and pcre-config</seg>
|
||||
<seg>libpcre.[so,a] and libpcreposix.[so,a]</seg>
|
||||
<seg>None</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
|
||||
<sect3><title>pcregrep</title>
|
||||
<para><command>pcregrep</command> is a <command>grep</command> that understands
|
||||
<application>Perl</application> compatible regular expressions.</para></sect3>
|
||||
<varlistentry id="pcregrep">
|
||||
<term><command>pcregrep</command></term>
|
||||
<listitem><para>is a <command>grep</command> that understands
|
||||
<application>Perl</application> compatible regular expressions.</para>
|
||||
<indexterm zone="pcre pcregrep">
|
||||
<primary sortas="b-pcregrep">pcregrep</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>pcretest</title>
|
||||
<para><command>pcretest</command> can test your
|
||||
<application>Perl</application> compatible regular expression.</para></sect3>
|
||||
<varlistentry id="pcretest">
|
||||
<term><command>pcretest</command></term>
|
||||
<listitem><para>can test a <application>Perl</application> compatible
|
||||
regular expression.</para>
|
||||
<indexterm zone="pcre pcretest">
|
||||
<primary sortas="b-pcretest">pcretest</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>pcre-config</title>
|
||||
<para><command>pcre-config</command> is used during the compile process of
|
||||
programs linking to this library.</para></sect3>
|
||||
<varlistentry id="pcre-config">
|
||||
<term><command>pcre-config</command></term>
|
||||
<listitem><para>is used during the compile process of programs linking to
|
||||
the <application>PCRE</application> libraries.</para>
|
||||
<indexterm zone="pcre pcre-config">
|
||||
<primary sortas="b-pcre-config">pcre-config</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user