[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d0c5f50] | 19 | href="../../final-system/common/grep.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Grep</title>
|
---|
| 24 |
|
---|
[103a452] | 25 | <para os="t1">When cross compiling, the <command>configure</command> script
|
---|
| 26 | does not determine the correct values for the following.
|
---|
[b3dcad4] | 27 | Set the values manually:</para>
|
---|
| 28 |
|
---|
| 29 | <screen os="t2"><userinput>cat > config.cache << EOF
|
---|
| 30 | ac_cv_func_malloc_0_nonnull=yes
|
---|
| 31 | ac_cv_func_realloc_0_nonnull=yes
|
---|
| 32 | EOF</userinput></screen>
|
---|
| 33 |
|
---|
[dabbced] | 34 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 35 | href="../../final-system/common/grep.xml"
|
---|
| 36 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 37 |
|
---|
[1bc8e5f] | 38 | <screen os="ca"><userinput>./configure --prefix=/tools \
|
---|
[09c4c90] | 39 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[b3dcad4] | 40 | --disable-perl-regexp --without-included-regex \
|
---|
| 41 | --cache-file=config.cache</userinput></screen>
|
---|
[3f8be484] | 42 |
|
---|
[1bc8e5f] | 43 | <variablelist os="cb">
|
---|
[3f8be484] | 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 |
|
---|
[a507dd7] | 56 | <varlistentry>
|
---|
| 57 | <term><parameter>--without-included-regex</parameter></term>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>When cross-compiling, Grep's <command>configure</command>
|
---|
[8f2d3d6] | 60 | assumes there is no usable <filename>regex.h</filename> installed and
|
---|
[a507dd7] | 61 | instead uses the one included with Grep. This switch forces the use of
|
---|
| 62 | the regex functions from EGLIBC.</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </varlistentry>
|
---|
| 65 |
|
---|
[3f8be484] | 66 | </variablelist>
|
---|
| 67 |
|
---|
[dabbced] | 68 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 69 | href="../../final-system/common/grep.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 71 |
|
---|
[dabbced] | 72 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 73 | href="../../final-system/common/grep.xml"
|
---|
| 74 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 75 |
|
---|
[dabbced] | 76 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 77 | href="../../final-system/common/grep.xml"
|
---|
| 78 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 79 |
|
---|
[dabbced] | 80 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[bc2e3fa] | 81 | href="../../final-system/common/grep.xml"
|
---|
| 82 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
[3f8be484] | 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="content">
|
---|
| 87 | <title/>
|
---|
| 88 |
|
---|
| 89 | <para>Details on this package are located in <xref
|
---|
| 90 | linkend="contents-grep" role="."/></para>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | </sect1>
|
---|