aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bash-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/bash-inst.xml')
-rw-r--r--chapter05/bash-inst.xml48
1 files changed, 21 insertions, 27 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml
index 5fcecfcfe..a8dc236f2 100644
--- a/chapter05/bash-inst.xml
+++ b/chapter05/bash-inst.xml
@@ -3,37 +3,31 @@
<sect2>
<title>Installation of Bash</title>
-<para>Bash has a number of bugs in it that cause it to not behave the
-way it is expected at times. Fix this behaviour with the following
+<para>Bash contains several known bugs. Fix these with the following
patch:</para>
<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
-<para><screen><userinput>./configure --prefix=/stage1 \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-curses
-make
-make tests
-make install
-ln -s bash /stage1/bin/sh</userinput></screen></para>
-
-
-<blockquote><screen>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'
-usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
- [--section regexp title] [--infodir=xxx] [--align=nnn]
- [--calign=nnn] [--quiet] [--menuentry=xxx]
- [--info-dir=xxx]
- [--keep-old] [--description=xxx] [--test]
- [--remove] [--] filename
-make[1]: *** [install] Error 1
-make[1]: Leaving directory `/mnt/lfs/usr/src/bash-&bash-version;/doc'
-make: [install] Error 2 (ignored)</screen></blockquote>
-
-<para>then that means that you are probably using Debian-2.2 (potato), and
-that you have an old version of the texinfo package and the info pages
-can't be installed at this time. This error is not a problem as the info
-pages will be installed when we recompile bash dynamically in Chapter 6, so
-you can ignore it. It is reported that the current release of Debian
-(3.0; also known as Woody) doesn't have this problem.</para>
+<para>Now prepare Bash for compilation:</para>
+
+<para><screen><userinput>./configure --prefix=/stage1 --with-curses</userinput></screen></para>
+
+<para>Compile the program:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>Check that it works correctly:</para>
+
+<para><screen><userinput>make tests</userinput></screen></para>
+
+<para>Then install it and its documentation:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
+
+<para>And make a link for the programs that use <userinput>sh</userinput>
+for a shell:</para>
+
+<para><screen><userinput>ln -s bash /stage1/bin/sh</userinput></screen></para>
</sect2>