source: chapter05/grep.xml@ 10fd9eb

Last change on this file since 10fd9eb was 7efa3be, checked in by Archaic <archaic@…>, 19 years ago

More minor wording tweaks (matt).

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

  • Property mode set to 100644
File size: 2.0 KB
Line 
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" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
5 %general-entities;
6 %patches-entities;
7]>
8<sect1 id="ch-tools-grep" role="wrap">
9<title>Grep-&grep-version;</title>
10<?dbhtml filename="grep.html"?>
11
12<indexterm zone="ch-tools-grep">
13<primary sortas="a-Grep">Grep</primary>
14<secondary>tools</secondary></indexterm>
15
16<sect2 role="package"><title/>
17<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.1 SBU</seg><seg>4.5 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
26
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Grep</title>
31
32<para>Prepare Grep for compilation:</para>
33
34<screen><userinput>./configure --prefix=/tools \
35 --disable-perl-regexp</userinput></screen>
36
37<para>The meaning of the configure options:</para>
38
39<variablelist>
40<varlistentry>
41<term><parameter>--disable-perl-regexp</parameter></term>
42<listitem><para>This ensures that the <command>grep</command> program does not
43get linked against a Perl Compatible Regular Expression (PCRE) library that may
44be present on the host but will not be available once we enter the
45<command>chroot</command> environment.</para></listitem>
46</varlistentry>
47</variablelist>
48
49<para>Compile the package:</para>
50
51<screen><userinput>make</userinput></screen>
52
53<para>To test the results, issue: <userinput>make
54check</userinput>.</para>
55
56<para>Install the package:</para>
57
58<screen><userinput>make install</userinput></screen>
59
60</sect2>
61
62<sect2 role="content"><title/>
63<para>Details on this package are located in <xref
64linkend="contents-grep" role="."/></para>
65</sect2>
66
67</sect1>
68
Note: See TracBrowser for help on using the repository browser.