[lfs-book] r11218 - trunk/BOOK/chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Mon Apr 3 12:55:14 PDT 2017

Author: bdubbs
Date: Mon Apr  3 12:55:14 2017
New Revision: 11218

Fies for bc in the early LFS environment


Modified: trunk/BOOK/chapter06/bc.xml
--- trunk/BOOK/chapter06/bc.xml	Mon Apr  3 11:45:56 2017	(r11217)
+++ trunk/BOOK/chapter06/bc.xml	Mon Apr  3 12:55:14 2017	(r11218)
@@ -56,13 +56,19 @@
     -i libmath.h
-    <para>Create a temporary symbolic link so the package can find
+    <para>Create temporary symbolic links so the package can find
     the readline library and confirm that its required libncurses
     library is available. Even though the libraries are in /tools/lib
     at this point, the system will use /usr/lib at the end of
     this chapter.</para>
-<screen><userinput remap="pre">ln -sv /tools/lib/libncursesw.so /usr/lib/libncurses.so</userinput></screen>
+<screen><userinput remap="pre">ln -sv /tools/lib/libncursesw.so.6 /usr/lib/libncursesw.so.6
+ln -sfv libncurses.so.6 /usr/lib/libncurses.so</userinput></screen>
+    <para>Fix an issue in <command>configure</command> due to missing
+    files in the early stages of LFS:</para>
+<screen><userinput remap="pre">sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure</userinput></screen>
     <para>Prepare Bc for compilation:</para>

More information about the lfs-book mailing list