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-08-29 02:09:25 +01:00
|
|
|
<para>Bash has different default behavior when called as an interactive and
|
|
|
|
a non-interactive shell. It is possible to change this by opening the config-top.h file and commenting out the line:</para>
|
|
|
|
|
|
|
|
<para><filename>#define NON_INTERACTIVE_LOGIN_SHELLS</filename></para>
|
|
|
|
|
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-01-17 01:12:37 +00:00
|
|
|
<para>Prepare Bash to be compiled:</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-01-17 01:12:37 +00:00
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>make tests</userinput></screen></para>
|
|
|
|
|
2003-01-17 01:12:37 +00:00
|
|
|
<para>And finish off installing 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>
|
|
|
|
|
|
|
|
<para>Reload the newly compiled Bash:</para>
|
|
|
|
|
2003-05-13 19:51:16 +01:00
|
|
|
<para><screen><userinput>exec /bin/bash --login
|
|
|
|
set +h</userinput></screen></para>
|
2003-01-17 01:12:37 +00:00
|
|
|
|
|
|
|
</sect2>
|