bash-inst.xml 1.2 KB

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