[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[6370fa6] | 7 |
|
---|
[fcc02767] | 8 | <sect1 id="ch-tools-grep" role="wrap">
|
---|
[6a82dd9] | 9 | <?dbhtml filename="grep.html"?>
|
---|
[673b0d8] | 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>grep</productname>
|
---|
| 13 | <productnumber>&grep-version;</productnumber>
|
---|
| 14 | <address>&grep-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[6a82dd9] | 17 | <title>Grep-&grep-version;</title>
|
---|
[3554fa3a] | 18 |
|
---|
[fcc02767] | 19 | <indexterm zone="ch-tools-grep">
|
---|
[6a82dd9] | 20 | <primary sortas="a-Grep">Grep</primary>
|
---|
[fcc02767] | 21 | <secondary>tools</secondary>
|
---|
[6a82dd9] | 22 | </indexterm>
|
---|
[73aedd1d] | 23 |
|
---|
[6a82dd9] | 24 | <sect2 role="package">
|
---|
| 25 | <title/>
|
---|
[fa21b3d] | 26 |
|
---|
[fcc02767] | 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 28 | href="../chapter08/grep.xml"
|
---|
| 29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[fa21b3d] | 30 |
|
---|
[6a82dd9] | 31 | <segmentedlist>
|
---|
| 32 | <segtitle>&buildtime;</segtitle>
|
---|
| 33 | <segtitle>&diskspace;</segtitle>
|
---|
[fa21b3d] | 34 |
|
---|
[6a82dd9] | 35 | <seglistitem>
|
---|
[fb386e0] | 36 | <seg>&grep-tmp-sbu;</seg>
|
---|
| 37 | <seg>&grep-tmp-du;</seg>
|
---|
[6a82dd9] | 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
[fa21b3d] | 40 |
|
---|
[6a82dd9] | 41 | </sect2>
|
---|
[73aedd1d] | 42 |
|
---|
[6a82dd9] | 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of Grep</title>
|
---|
[73aedd1d] | 45 |
|
---|
[6a82dd9] | 46 | <para>Prepare Grep for compilation:</para>
|
---|
[5888299] | 47 |
|
---|
[be5b2e0] | 48 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
| 49 | --host=$LFS_TGT \
|
---|
| 50 | --build=$(./build-aux/config.guess)</userinput></screen>
|
---|
[673b0d8] | 51 |
|
---|
[01a94005] | 52 | <para>Compile the package:</para>
|
---|
[81fd230] | 53 |
|
---|
[01a94005] | 54 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[81fd230] | 55 |
|
---|
[6a82dd9] | 56 | <para>Install the package:</para>
|
---|
[81fd230] | 57 |
|
---|
[fcc02767] | 58 | <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
|
---|
[673b0d8] | 59 |
|
---|
[6a82dd9] | 60 | </sect2>
|
---|
| 61 |
|
---|
[fcc02767] | 62 | <sect2 role="content">
|
---|
| 63 | <title/>
|
---|
[6a82dd9] | 64 |
|
---|
[fcc02767] | 65 | <para>Details on this package are located in
|
---|
| 66 | <xref linkend="contents-grep" role="."/></para>
|
---|
[6a82dd9] | 67 |
|
---|
| 68 | </sect2>
|
---|
[673b0d8] | 69 |
|
---|
| 70 | </sect1>
|
---|