- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/grep.xml
rdabbced re904ebfa 23 23 <title>Installation of Grep</title> 24 24 25 <para os="t1">When Cross Compiling the configure script26 does not determine the correct values for the following,27 Set the values manually:</para>28 29 <screen os="t2"><userinput>cat > config.cache << EOF30 ac_cv_func_malloc_0_nonnull=yes31 ac_cv_func_realloc_0_nonnull=yes32 EOF</userinput></screen>33 34 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 35 26 href="../../final-system/common/grep.xml" … … 38 29 <screen os="ca"><userinput>./configure --prefix=/tools \ 39 30 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 40 --disable-perl-regexp --without-included-regex \ 41 --cache-file=config.cache</userinput></screen> 31 --without-included-regex</userinput></screen> 42 32 43 33 <variablelist os="cb"> 44 <title>The meaning of the configure options:</title>34 <title>The meaning of the new configure option:</title> 45 35 46 36 <varlistentry> 47 <term><parameter>-- disable-perl-regexp</parameter></term>37 <term><parameter>--without-included-regex</parameter></term> 48 38 <listitem> 49 <para> This ensures that the <command>grep</command> program50 does not get linked against a Perl Compatible Regular Expression51 (PCRE) library that may be present on the host but will not be52 available when building the final system.</para>39 <para>When cross-compiling, Grep's <command>configure</command> 40 assumes there is no usable <filename>regex.h</filename> installed and 41 instead uses the one included with Grep. This switch forces the use of 42 the regex functions from EGLIBC.</para> 53 43 </listitem> 54 44 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.