aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bc.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/chapter06/bc.xml b/chapter06/bc.xml
index 3c585547e..2b168fbc0 100644
--- a/chapter06/bc.xml
+++ b/chapter06/bc.xml
@@ -56,13 +56,19 @@ sed -e '$ s/$/0}/' \
-i libmath.h
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
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/: ;; # &amp;/' configure</userinput></screen>
<para>Prepare Bc for compilation:</para>