aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bash-inst.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-08-18 20:53:34 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-08-18 20:53:34 +0000
commit69a52c12701352c5c76d8956cb9b0982baf21fdf (patch)
treeb0fd8f90bebf5353ccac9e927c7dabd0f6c6622a /chapter05/bash-inst.xml
parent2cff2cc411f336acc18f57066e30ea4fa215c8a8 (diff)
last text additions in chapter 5, added a section on stripping
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2672 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>