bash-inst.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <sect2>
  2. <title>Installation of Bash</title>
  3. <para>
  4. Install Bash by running the following commands:
  5. </para>
  6. <blockquote><literallayout>
  7. <userinput>./configure --enable-static-link --prefix=$LFS/usr \</userinput>
  8. <userinput>&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin
  9. --with-curses &amp;&amp;</userinput>
  10. <userinput>make &amp;&amp;</userinput>
  11. <userinput>make install &amp;&amp;</userinput>
  12. <userinput>cd $LFS/bin &amp;&amp;</userinput>
  13. <userinput>ln -s bash sh</userinput>
  14. </literallayout></blockquote>
  15. <para>
  16. If the make install phase ends with something along the lines of
  17. </para>
  18. <blockquote>
  19. <screen>
  20. install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'
  21. usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
  22. [--section regexp title] [--infodir=xxx] [--align=nnn]
  23. [--calign=nnn] [--quiet] [--menuentry=xxx]
  24. [--info-dir=xxx]
  25. [--keep-old] [--description=xxx] [--test]
  26. [--remove] [--] filename
  27. make[1]: *** [install] Error 1
  28. make[1]: Leaving directory `/mnt/lfs/usr/src/bash-2.04/doc'
  29. make: [install] Error 2 (ignored)
  30. </screen>
  31. </blockquote>
  32. <para>
  33. then that means that you are probably using Debian, and that you have an
  34. old version of the texinfo package. This error is not severe by any means: the
  35. info pages will be installed when we recompile bash dynamically in chapter 6.
  36. </para>
  37. </sect2>