|
@@ -40,32 +40,10 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Grep</title>
|
|
|
|
|
|
- <para>The current Grep package has many bugs, especially in the support of
|
|
|
- multibyte locales. The following consolidated patch from Debian fixes some of them,
|
|
|
- improves the number of individual tests which are passed, and much improves the
|
|
|
- speed in UTF-8 locales:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">patch -Np1 -i ../&grep-debian-patch;</userinput></screen>
|
|
|
-
|
|
|
<para>Prepare Grep for compilation:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
|
- --bindir=/bin \
|
|
|
- --without-included-regex</userinput></screen>
|
|
|
-
|
|
|
-
|
|
|
- <variablelist>
|
|
|
- <title>The meaning of the configure switch:</title>
|
|
|
- <varlistentry>
|
|
|
- <term><parameter>--without-included-regex</parameter></term>
|
|
|
- <listitem>
|
|
|
- <para>The configure check for Glibc's regex library is broken when
|
|
|
- building against Glibc-&glibc-version;. This switch forces the use
|
|
|
- of Glibc's regex library.</para>
|
|
|
- </listitem>
|
|
|
- </varlistentry>
|
|
|
- </variablelist>
|
|
|
-
|
|
|
+ --bindir=/bin</userinput></screen>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
@@ -73,13 +51,7 @@
|
|
|
|
|
|
<para>To test the results, issue:</para>
|
|
|
|
|
|
-<screen><userinput remap="test">make check || true</userinput></screen>
|
|
|
-
|
|
|
- <para>There are known test failures in the <command>fmbtest.sh</command>
|
|
|
- tests. The "|| true" construct is
|
|
|
- used to avoid automated build scripts failing due to the test failures.
|
|
|
- A good run will show 1 failure from 14 tests, although the test failure
|
|
|
- will detail 2 failed sub-tests.</para>
|
|
|
+<screen><userinput remap="test">make check</userinput></screen>
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|