source: BOOK/temp-system/common/grep.xml@ 4ce7c10

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4ce7c10 was b3dcad4, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Grep to 2.6.3.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-grep" role="wrap">
9 <?dbhtml filename="grep.html"?>
10
11 <title>Grep-&grep-version;</title>
12
13 <indexterm zone="ch-temp-system-grep">
14 <primary sortas="a-Grep">Grep</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/grep.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Grep</title>
24
25 <para os="t1">When Cross Compiling the configure script
26 does not determine the correct values for the following,
27 Set the values manually:</para>
28
29<screen os="t2"><userinput>cat &gt; config.cache &lt;&lt; EOF
30ac_cv_func_malloc_0_nonnull=yes
31ac_cv_func_realloc_0_nonnull=yes
32EOF</userinput></screen>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../../final-system/common/grep.xml"
36 xpointer="xpointer(//*[@os='a'])"/>
37
38<screen os="ca"><userinput>./configure --prefix=/tools \
39 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
40 --disable-perl-regexp --without-included-regex \
41 --cache-file=config.cache</userinput></screen>
42
43 <variablelist os="cb">
44 <title>The meaning of the configure options:</title>
45
46 <varlistentry>
47 <term><parameter>--disable-perl-regexp</parameter></term>
48 <listitem>
49 <para>This ensures that the <command>grep</command> program
50 does not get linked against a Perl Compatible Regular Expression
51 (PCRE) library that may be present on the host but will not be
52 available when building the final system.</para>
53 </listitem>
54 </varlistentry>
55
56 </variablelist>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../../final-system/common/grep.xml"
60 xpointer="xpointer(//*[@os='c'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../../final-system/common/grep.xml"
64 xpointer="xpointer(//*[@os='d'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../../final-system/common/grep.xml"
68 xpointer="xpointer(//*[@os='f'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../../final-system/common/grep.xml"
72 xpointer="xpointer(//*[@os='g'])"/>
73
74 </sect2>
75
76 <sect2 role="content">
77 <title/>
78
79 <para>Details on this package are located in <xref
80 linkend="contents-grep" role="."/></para>
81
82 </sect2>
83
84</sect1>
Note: See TracBrowser for help on using the repository browser.