bash.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-bash" role="wrap">
  7. <title>Bash-&bash-version;</title>
  8. <?dbhtml filename="bash.html"?>
  9. <indexterm zone="ch-tools-bash">
  10. <primary sortas="a-Bash">Bash</primary>
  11. <secondary>tools</secondary></indexterm>
  12. <sect2 role="package"><title/>
  13. <segmentedlist>
  14. <segtitle>&buildtime;</segtitle>
  15. <segtitle>&diskspace;</segtitle>
  16. <seglistitem><seg>1.2 SBU</seg><seg>27 MB</seg></seglistitem>
  17. </segmentedlist>
  18. </sect2>
  19. <sect2 role="installation">
  20. <title>Installation of Bash</title>
  21. <screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
  22. <para>Prepare Bash for compilation:</para>
  23. <screen><userinput>./configure --prefix=/tools --without-bash-malloc</userinput></screen>
  24. <para>Compile the program:</para>
  25. <screen><userinput>make</userinput></screen>
  26. <para>To test the results, issue:
  27. <userinput>make test</userinput>.</para>
  28. <para>Then install it :</para>
  29. <screen><userinput>make install</userinput></screen>
  30. <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
  31. </sect2>
  32. </sect1>