2003-01-11 16:24:56 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bash</title>
|
|
|
|
|
2003-08-18 21:53:34 +01:00
|
|
|
<para>Bash contains several known bugs. Fix these with the following
|
2003-05-11 16:09:30 +01:00
|
|
|
patch:</para>
|
|
|
|
|
2003-10-07 23:22:46 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen></para>
|
2003-05-11 16:09:30 +01:00
|
|
|
|
2003-08-18 21:53:34 +01:00
|
|
|
<para>Now prepare Bash for compilation:</para>
|
|
|
|
|
2003-09-25 00:48:45 +01:00
|
|
|
<para><screen><userinput>./configure --prefix=/tools</userinput></screen></para>
|
2003-08-18 21:53:34 +01:00
|
|
|
|
|
|
|
<para>Compile the program:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
2003-09-21 08:31:01 +01:00
|
|
|
<para>This package has a test suite available which can perform a number of
|
2003-09-11 21:07:44 +01:00
|
|
|
checks to ensure it built correctly. Should you choose to run it, the
|
|
|
|
following command will do so:</para>
|
2003-08-18 21:53:34 +01:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2003-09-02 23:03:51 +01:00
|
|
|
<para><screen><userinput>ln -s bash /tools/bin/sh</userinput></screen></para>
|
2001-09-11 20:25:24 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|