bash.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <sect1 id="ch-tools-bash">
  2. <title>Installing Bash-&bash-version;</title>
  3. <?dbhtml filename="bash.html" dir="chapter05"?>
  4. <screen>&buildtime; &bash-time-tools;
  5. &diskspace; &bash-compsize-tools;</screen>
  6. &aa-bash-down;
  7. &aa-bash-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Bash</title>
  11. <para>Bash contains several known bugs. Fix these with the following
  12. patch:</para>
  13. <screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
  14. <para>Now prepare Bash for compilation:</para>
  15. <screen><userinput>./configure --prefix=/tools</userinput></screen>
  16. <para>Compile the program:</para>
  17. <screen><userinput>make</userinput></screen>
  18. <para>As discussed earlier, we don't recommend running the test suites for the
  19. temporary tools here in this chapter. If you still want to run the Bash test
  20. suite anyway, the following command will do so:</para>
  21. <screen><userinput>make tests</userinput></screen>
  22. <para>Then install it and its documentation:</para>
  23. <screen><userinput>make install</userinput></screen>
  24. <para>And make a link for the programs that use <userinput>sh</userinput>
  25. for a shell:</para>
  26. <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
  27. </sect2>
  28. <sect2><title>&nbsp;</title><para>&nbsp;</para>
  29. <para>The details on this package are found in <xref linkend="contents-bash"/>.</para>
  30. <para>&nbsp;</para></sect2>
  31. </sect1>