aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-04-03 19:55:14 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-04-03 19:55:14 +0000
commit18f4298c3dbaeff272b70a3f2eafbd563ff51c09 (patch)
tree4b4ca1d80c2b2c40db9b1f5b741709716acc6623 /chapter06
parenta36bd4f2f182d877b029b2b2b5105ef390b1a45d (diff)
Fies for bc in the early LFS environment
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11218 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>