aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/flex.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
commit9dfc02ff38f26117daffe7d8b822ebb64a3fed04 (patch)
treec3ea0521973ac75238f6ab5f674d5b4fc4032df8 /chapter06/flex.xml
parent411ceb86b8150183a447f89b4789395bf16fddf0 (diff)
Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/flex.xml')
-rw-r--r--chapter06/flex.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 4210a6fc8..34f0fbc1e 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -23,7 +23,17 @@ GCC, Gettext, Glibc, Grep, M4, Make, Sed.</para>
<sect2>
<title>Installation of Flex</title>
-<para>Prepare Flex for compilation:</para>
+<para>Flex contains several known bugs. Fix these with the following patch:</para>
+
+<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian-fixes-2.patch</userinput></screen>
+
+<para>The GNU autotools detects that the Flex source code has been modified by the patch,
+and tries to update the man pages to include those changes, but this breaks on many
+systems, and the default pages are fine, so make sure they don't get renegerated:</para>
+
+<screen><userinput>touch doc/*.1</userinput></screen>
+
+<para>Now prepare Flex for compilation:</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>
@@ -32,7 +42,7 @@ GCC, Gettext, Glibc, Grep, M4, Make, Sed.</para>
<screen><userinput>make</userinput></screen>
<para>To test the results, issue:
-<userinput>make bigcheck</userinput>.</para>
+<userinput>make check</userinput>.</para>
<para>Now install the package:</para>