bash-exp.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>--enable-static-link:</userinput> This configure
  4. option causes bash to be linked statically.</para>
  5. <para><userinput>--prefix=$LFS/static:</userinput> This configure option
  6. installs all of Bash's files under the $LFS/static directory, which becomes
  7. the /static directory when chroot'ed or reboot'ed into LFS.</para>
  8. <para><userinput>--with-curses:</userinput> This causes bash to be
  9. linked against the curses library instead of the default termcap
  10. library which is becoming obsolete.</para>
  11. <para>It is not strictly necessary for the static bash to be linked
  12. against libncurses (it can link against a static termcap for the time
  13. being just fine because we will reinstall Bash in Chapter 6 anyways,
  14. where we will use libncurses), but it's a good test to make sure that
  15. the Ncurses package has been installed properly. If not, you will get in
  16. trouble later on in this chapter when you install the Texinfo package.
  17. That package requires ncurses, and termcap can't reliably be used
  18. there.</para>
  19. <para>The <userinput>&amp;&amp;</userinput>'s at the end of every line cause
  20. the next command to be executed only if the previous command exits
  21. with a return value of 0 indicating success. In case all of these
  22. commands are copy&amp;pasted on the shell, it is important to ensure
  23. that if ./configure fails, make isn't executed and, likewise, if make
  24. fails, that make install isn't executed, and so forth.</para>
  25. </sect2>