bash-inst.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Bash</title>
  4. <para>Bash has a number of bugs in it that cause it to not behave the
  5. way it is expected at times. Fix this behaviour with the following
  6. patch:</para>
  7. <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
  8. <para><screen><userinput>./configure --prefix=/stage1 \
  9. &nbsp;&nbsp;&nbsp;&nbsp;--with-curses
  10. make
  11. make tests
  12. make install
  13. ln -s bash /stage1/bin/sh</userinput></screen></para>
  14. <blockquote><screen>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'
  15. usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
  16. [--section regexp title] [--infodir=xxx] [--align=nnn]
  17. [--calign=nnn] [--quiet] [--menuentry=xxx]
  18. [--info-dir=xxx]
  19. [--keep-old] [--description=xxx] [--test]
  20. [--remove] [--] filename
  21. make[1]: *** [install] Error 1
  22. make[1]: Leaving directory `/mnt/lfs/usr/src/bash-&bash-version;/doc'
  23. make: [install] Error 2 (ignored)</screen></blockquote>
  24. <para>then that means that you are probably using Debian-2.2 (potato), and
  25. that you have an old version of the texinfo package and the info pages
  26. can't be installed at this time. This error is not a problem as the info
  27. pages will be installed when we recompile bash dynamically in Chapter 6, so
  28. you can ignore it. It is reported that the current release of Debian
  29. (3.0; also known as Woody) doesn't have this problem.</para>
  30. </sect2>