Explorar o código

[Bug 327] Added --disable-perl-regexp to the grep configure flags to avoid linking against a non-existing static pcre library.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Marc Heerdink %!s(int64=23) %!d(string=hai) anos
pai
achega
3f62e369bf
Modificáronse 4 ficheiros con 13 adicións e 6 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 5 4
      chapter05/grep-inst.xml
  3. 1 0
      chapter05/grep.xml
  4. 3 2
      index.xml

+ 4 - 0
chapter01/changelog.xml

@@ -6,6 +6,10 @@
 
 <itemizedlist>
 
+<listitem><para>April 9th, 2002 [marcheerdink]: Added --disable-perl-regexp
+to the grep configure flags to avoid linking against a non-existing static
+pcre library.</para></listitem>
+
 <listitem><para>April 8th, 2002 [gerard]: Added the
 http://ftp.de.linuxfromscratch.org mirror (to complement
 ftp://ftp.de).</para></listitem>

+ 5 - 4
chapter05/grep-inst.xml

@@ -8,16 +8,17 @@ can also be used for other glibc versions so if you aren't sure, then
 use the first version.</para>
 
 <para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 &amp;&amp;
-./configure --prefix=$LFS/usr --disable-nls --bindir=$LFS/bin &amp;&amp;
+./configure --prefix=$LFS/usr --bindir=$LFS/bin \
+&nbsp;&nbsp;&nbsp;--disable-nls --disable-perl-regexp &amp;&amp;
 unset CPPFLAGS &amp;&amp;
 make LDFLAGS=-static &amp;&amp;
 make install</userinput></screen></para>
  
 <para>If you are using a newer glibc version (2.2.x), you can use the
 following commands to install Grep:</para>
- 
-<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls \
-&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin &amp;&amp;
+
+<para><screen><userinput>./configure --prefix=$LFS/usr --bindir=$LFS/bin \
+&nbsp;&nbsp;&nbsp;--disable-nls --disable-perl-regexp &amp;&amp;
 make LDFLAGS=-static &amp;&amp;
 make install</userinput></screen></para>
 

+ 1 - 0
chapter05/grep.xml

@@ -6,6 +6,7 @@
 Estimated required disk space:  &grep-compsize-static;</screen>
 
 &c5-grep-inst;
+&c5-grep-exp;
 &aa-grep-desc;
 &aa-grep-dep;
 

+ 3 - 2
index.xml

@@ -4,8 +4,8 @@
 
 <!ENTITY book SYSTEM "book/book.xml">
 
-<!ENTITY version "20020408">
-<!ENTITY releasedate "April 8th, 2002">
+<!ENTITY version "20020409">
+<!ENTITY releasedate "April 9th, 2002">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">
@@ -165,6 +165,7 @@
 <!ENTITY c5-gcc-exp SYSTEM "chapter05/gcc-exp.xml">
 <!ENTITY c5-grep SYSTEM "chapter05/grep.xml">
 <!ENTITY c5-grep-inst SYSTEM "chapter05/grep-inst.xml">
+<!ENTITY c5-grep-exp SYSTEM "chapter05/grep-exp.xml">
 <!ENTITY c5-gzip SYSTEM "chapter05/gzip.xml">
 <!ENTITY c5-gzip-inst SYSTEM "chapter05/gzip-inst.xml">
 <!ENTITY c5-gzip-exp SYSTEM "chapter05/gzip-exp.xml">