Browse Source

Fies for bc in the early LFS environment

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11218 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 8 years ago
parent
commit
18f4298c3d
1 changed files with 8 additions and 2 deletions
  1. 8 2
      chapter06/bc.xml

+ 8 - 2
chapter06/bc.xml

@@ -56,13 +56,19 @@ sed -e '$ s/$/0}/' \
     -i libmath.h
     -i libmath.h
 EOF</userinput></screen> 
 EOF</userinput></screen> 
 
 
-    <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
     the readline library and confirm that its required libncurses
     library is available. Even though the libraries are in /tools/lib
     library is available. Even though the libraries are in /tools/lib
     at this point, the system will use /usr/lib at the end of
     at this point, the system will use /usr/lib at the end of
     this chapter.</para>
     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/: ;; # &amp;/' configure</userinput></screen>
 
 
     <para>Prepare Bc for compilation:</para>
     <para>Prepare Bc for compilation:</para>