%general-entities; ]> Grep-&grep-version; Grep tools <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.1 SBU</seg><seg>5.8 MB</seg></seglistitem> </segmentedlist> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/grep.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> </sect2> <sect2 role="installation"> <title>Installation of Grep Prepare Grep for compilation: ./configure --prefix=/tools \ --disable-perl-regexp --with-included-regex The meaning of the configure options: --disable-perl-regexp This makes sure that grep does not get linked against a PCRE library that may be present on the host and would not be available once we enter the chroot environment. --with-included-regex This ensures that Grep uses its internal regular expression code. Without this switch, Grep will use the code from Glibc, which is known to be slightly buggy. Compile the programs: make (If you want to test the results, then issue: make check.) Then install them and their documentation: make install <para>The details on this package are found in <xref linkend="contents-grep"/>.</para> </sect2> </sect1>