bash-inst.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Bash</title>
  4. <para>Bash contains several known bugs. Fix these with the following
  5. patch:</para>
  6. <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
  7. <para>Now prepare Bash for compilation:</para>
  8. <para><screen><userinput>./configure --prefix=/tools --with-curses</userinput></screen></para>
  9. <para>Compile the program:</para>
  10. <para><screen><userinput>make</userinput></screen></para>
  11. <para>This package has a testsuite available which can perform a number of
  12. checks to ensure it built correctly. Should you choose to run it, the
  13. following command will do so:</para>
  14. <para><screen><userinput>make tests</userinput></screen></para>
  15. <para>Then install it and its documentation:</para>
  16. <para><screen><userinput>make install</userinput></screen></para>
  17. <para>And make a link for the programs that use <userinput>sh</userinput>
  18. for a shell:</para>
  19. <para><screen><userinput>ln -s bash /tools/bin/sh</userinput></screen></para>
  20. </sect2>