source: BOOK/temp-system/common/grep.xml@ 1c96860

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c96860 was e1fa7a8, checked in by Chris Staub <chris@…>, 12 years ago

Removed no-longer-needed parameter from temp-system grep

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[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
[6848323]25 <para os="t1">When cross compiling, the <command>configure</command> script
26 does not determine the correct values for the following. Set the values
27 manually:</para>
[b3dcad4]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
[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} \
[e1fa7a8]40 --without-included-regex --cache-file=config.cache</userinput></screen>
[3f8be484]41
[1bc8e5f]42 <variablelist os="cb">
[3f8be484]43 <title>The meaning of the configure options:</title>
44
[cf945fa]45 <varlistentry>
46 <term><parameter>--without-included-regex</parameter></term>
47 <listitem>
48 <para>When cross-compiling, Grep's <command>configure</command>
[e2b0621]49 assumes there is no usable <filename>regex.h</filename> installed and
[cf945fa]50 instead uses the one included with Grep. This switch forces the use of
51 the regex functions from EGLIBC.</para>
52 </listitem>
53 </varlistentry>
54
[3f8be484]55 </variablelist>
56
[dabbced]57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]58 href="../../final-system/common/grep.xml"
59 xpointer="xpointer(//*[@os='c'])"/>
60
[dabbced]61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]62 href="../../final-system/common/grep.xml"
63 xpointer="xpointer(//*[@os='d'])"/>
64
[dabbced]65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]66 href="../../final-system/common/grep.xml"
67 xpointer="xpointer(//*[@os='f'])"/>
68
[dabbced]69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[bc2e3fa]70 href="../../final-system/common/grep.xml"
71 xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]72
73 </sect2>
74
75 <sect2 role="content">
76 <title/>
77
78 <para>Details on this package are located in <xref
79 linkend="contents-grep" role="."/></para>
80
81 </sect2>
82
83</sect1>
Note: See TracBrowser for help on using the repository browser.