|
@@ -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 &&
|
|
|
-./configure --prefix=$LFS/usr --disable-nls --bindir=$LFS/bin &&
|
|
|
+./configure --prefix=$LFS/usr --bindir=$LFS/bin \
|
|
|
+ --disable-nls --disable-perl-regexp &&
|
|
|
unset CPPFLAGS &&
|
|
|
make LDFLAGS=-static &&
|
|
|
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 \
|
|
|
- --bindir=$LFS/bin &&
|
|
|
+
|
|
|
+<para><screen><userinput>./configure --prefix=$LFS/usr --bindir=$LFS/bin \
|
|
|
+ --disable-nls --disable-perl-regexp &&
|
|
|
make LDFLAGS=-static &&
|
|
|
make install</userinput></screen></para>
|
|
|
|