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