aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bash.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-01 22:31:50 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-01 22:31:50 +0000
commit73aedd1d35747ff2fad4ddf514dca810721a612a (patch)
treed05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter05/bash.xml
parent0b400add2ba87352e955326bcb931e53864cc2ae (diff)
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bash.xml')
-rw-r--r--chapter05/bash.xml36
1 files changed, 35 insertions, 1 deletions
diff --git a/chapter05/bash.xml b/chapter05/bash.xml
index 8ea856ad1..16824d4dd 100644
--- a/chapter05/bash.xml
+++ b/chapter05/bash.xml
@@ -7,7 +7,41 @@ Estimated required disk space: &bash-compsize-tools;</screen>
&aa-bash-shortdesc;
&aa-bash-dep;
-&c5-bash-inst;
+
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2>
+<title>Installation of Bash</title>
+
+<para>Bash contains several known bugs. Fix these with the following
+patch:</para>
+
+<screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
+
+<para>Now prepare Bash for compilation:</para>
+
+<screen><userinput>./configure --prefix=/tools</userinput></screen>
+
+<para>Compile the program:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>This package has a test suite available which can perform a number of
+checks to ensure it built correctly. Should you choose to run it, the
+following command will do so:</para>
+
+<screen><userinput>make tests</userinput></screen>
+
+<para>Then install it and its documentation:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+<para>And make a link for the programs that use <userinput>sh</userinput>
+for a shell:</para>
+
+<screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
+
+</sect2>
</sect1>