2003-01-17 01:12:37 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bash</title>
|
|
|
|
|
2003-05-11 16:09:30 +01:00
|
|
|
<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
|
|
|
|
patch:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Prepare Bash for compilation:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Compile the package:</para>
|
2003-01-17 01:12:37 +00:00
|
|
|
|
|
|
|
<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-30 00:20:23 +01:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>make tests</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Install the package:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 01:12:37 +00:00
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>And reload the newly compiled <userinput>bash</userinput> program:</para>
|
2003-01-17 01:12:37 +00:00
|
|
|
|
2003-09-19 23:24:19 +01:00
|
|
|
<para><screen><userinput>exec /bin/bash --login +h</userinput></screen></para>
|
2003-01-17 01:12:37 +00:00
|
|
|
|
|
|
|
</sect2>
|