Fies for bc in the early LFS environment

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11218 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2017-04-03 19:55:14 +00:00
parent a36bd4f2f1
commit 18f4298c3d

View File

@ -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>