Changeset d096eb1 for chapter05/grep.xml
- Timestamp:
- 01/20/2006 09:03:20 PM (19 years ago)
- Children:
- d1ae0cb
- Parents:
- f658b21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/grep.xml
rf658b21 rd096eb1 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-tools-grep" role="wrap"> 7 <title>Grep-&grep-version;</title> 8 <?dbhtml filename="grep.html"?> 9 <?dbhtml filename="grep.html"?> 9 10 10 <indexterm zone="ch-tools-grep"> 11 <primary sortas="a-Grep">Grep</primary> 12 <secondary>tools</secondary></indexterm> 11 <title>Grep-&grep-version;</title> 13 12 14 <sect2 role="package"><title/> 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 13 <indexterm zone="ch-tools-grep"> 14 <primary sortas="a-Grep">Grep</primary> 15 <secondary>tools</secondary> 16 </indexterm> 16 17 17 <segmentedlist> 18 <segtitle>&buildtime;</segtitle> 19 <segtitle>&diskspace;</segtitle> 20 <seglistitem><seg>0.1 SBU</seg><seg>4.5 MB</seg></seglistitem> 21 </segmentedlist> 18 <sect2 role="package"> 19 <title/> 22 20 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../chapter06/grep.xml" 23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 24 24 25 </sect2> 25 <segmentedlist> 26 <segtitle>&buildtime;</segtitle> 27 <segtitle>&diskspace;</segtitle> 26 28 27 <sect2 role="installation"> 28 <title>Installation of Grep</title> 29 <seglistitem> 30 <seg>0.1 SBU</seg> 31 <seg>4.5 MB</seg> 32 </seglistitem> 33 </segmentedlist> 29 34 30 <para>Prepare Grep for compilation:</para> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../chapter06/grep.xml" 37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 38 39 </sect2> 40 41 <sect2 role="installation"> 42 <title>Installation of Grep</title> 43 44 <para>Prepare Grep for compilation:</para> 31 45 32 46 <screen><userinput>./configure --prefix=/tools \ 33 47 --disable-perl-regexp</userinput></screen> 34 48 35 <para>The meaning of the configure options:</para> 49 <variablelist> 50 <title>The meaning of the configure options:</title> 36 51 37 <variablelist>38 <varlistentry>39 <term><parameter>--disable-perl-regexp</parameter></term>40 <listitem><para>This ensures that the <command>grep</command> program does not 41 get linked against a Perl Compatible Regular Expression (PCRE) library that may 42 be present on the host but will not be available once we enter the43 <command>chroot</command> environment.</para></listitem>44 </varlistentry>45 </variablelist>52 <varlistentry> 53 <term><parameter>--disable-perl-regexp</parameter></term> 54 <listitem> 55 <para>This ensures that the <command>grep</command> program does 56 not get linked against a Perl Compatible Regular Expression (PCRE) 57 library that may be present on the host but will not be available 58 once we enter the <command>chroot</command> environment.</para> 59 </listitem> 60 </varlistentry> 46 61 47 <para>Compile the package:</para> 62 </variablelist> 63 64 <para>Compile the package:</para> 48 65 49 66 <screen><userinput>make</userinput></screen> 50 67 51 <para>To test the results, issue: <userinput>make check</userinput>.</para> 68 <para>To test the results, issue: 69 <userinput>make check</userinput>.</para> 52 70 53 <para>Install the package:</para>71 <para>Install the package:</para> 54 72 55 73 <screen><userinput>make install</userinput></screen> 56 74 57 </sect2>75 </sect2> 58 76 59 <sect2 role="content"><title/> 60 <para>Details on this package are located in <xref 61 linkend="contents-grep" role="."/></para> 62 </sect2> 77 <sect2 role="content"> 78 <title/> 79 80 <para>Details on this package are located in 81 <xref linkend="contents-grep" role="."/></para> 82 83 </sect2> 63 84 64 85 </sect1> 65
Note:
See TracChangeset
for help on using the changeset viewer.