Author: dj
Date: 2008-10-20 23:31:18 -0600 (Mon, 20 Oct 2008)
New Revision: 8688
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/grep.xml
trunk/BOOK/chapter06/grep.xml
Log:
Fixed grep's -i feature.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2008-10-21 05:19:14 UTC (rev 8687)
+++ trunk/BOOK/chapter01/changelog.xml 2008-10-21 05:31:18 UTC (rev 8688)
@@ -41,6 +41,11 @@
<para>2008-10-21</para>
<itemizedlist>
<listitem>
+ <para>[dj] - Added '--without-included-regex' to grep instrcutions
+ in order to force the use of glibc's regex library. This fixes the
+ -i switch for grep.</para>
+ </listitem>
+ <listitem>
<para>[dj] - Reintroduced the command to supress installation of the
vi_VN.TCVN locale as bash is still broken with it.</para>
</listitem>
Modified: trunk/BOOK/chapter05/grep.xml
===================================================================
--- trunk/BOOK/chapter05/grep.xml 2008-10-21 05:19:14 UTC (rev 8687)
+++ trunk/BOOK/chapter05/grep.xml 2008-10-21 05:31:18 UTC (rev 8688)
@@ -46,10 +46,11 @@
<para>Prepare Grep for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools \
- --disable-perl-regexp</userinput></screen>
+ --disable-perl-regexp \
+ --without-included-regex</userinput></screen>
<variablelist>
- <title>The meaning of the configure option:</title>
+ <title>The meaning of the configure switches:</title>
<varlistentry>
<term><parameter>--disable-perl-regexp</parameter></term>
@@ -61,6 +62,14 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--without-included-regex</parameter></term>
+ <listitem>
+ <para>The configure check for glibc's regex library is broken when
+ building against glibc-2.8. This switch forces the use of glibc's
+ regex library.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>Compile the package:</para>
Modified: trunk/BOOK/chapter06/grep.xml
===================================================================
--- trunk/BOOK/chapter06/grep.xml 2008-10-21 05:19:14 UTC (rev 8687)
+++ trunk/BOOK/chapter06/grep.xml 2008-10-21 05:31:18 UTC (rev 8688)
@@ -55,8 +55,24 @@
<para>Prepare Grep for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr
--bindir=/bin</userinput></screen>
+<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-2.8. This switch forces the use of glibc's
+ regex library.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page