Changeset d096eb1 for chapter05/grep.xml


Ignore:
Timestamp:
01/20/2006 09:03:20 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
d1ae0cb
Parents:
f658b21
Message:

Ported r7286 from trunk to alphabetical.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7287 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/grep.xml

    rf658b21 rd096eb1  
    11<?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" [
    34  <!ENTITY % general-entities SYSTEM "../general.ent">
    45  %general-entities;
    56]>
     7
    68<sect1 id="ch-tools-grep" role="wrap">
    7 <title>Grep-&grep-version;</title>
    8 <?dbhtml filename="grep.html"?>
     9  <?dbhtml filename="grep.html"?>
    910
    10 <indexterm zone="ch-tools-grep">
    11 <primary sortas="a-Grep">Grep</primary>
    12 <secondary>tools</secondary></indexterm>
     11  <title>Grep-&grep-version;</title>
    1312
    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>
    1617
    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/>
    2220
    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])"/>
    2424
    25 </sect2>
     25    <segmentedlist>
     26      <segtitle>&buildtime;</segtitle>
     27      <segtitle>&diskspace;</segtitle>
    2628
    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>
    2934
    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>
    3145
    3246<screen><userinput>./configure --prefix=/tools \
    3347    --disable-perl-regexp</userinput></screen>
    3448
    35 <para>The meaning of the configure options:</para>
     49    <variablelist>
     50      <title>The meaning of the configure options:</title>
    3651
    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 the
    43 <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>
    4661
    47 <para>Compile the package:</para>
     62    </variablelist>
     63
     64    <para>Compile the package:</para>
    4865
    4966<screen><userinput>make</userinput></screen>
    5067
    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>
    5270
    53 <para>Install the package:</para>
     71    <para>Install the package:</para>
    5472
    5573<screen><userinput>make install</userinput></screen>
    5674
    57 </sect2>
     75  </sect2>
    5876
    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>
    6384
    6485</sect1>
    65 
Note: See TracChangeset for help on using the changeset viewer.