Changeset 78ec17a2


Ignore:
Timestamp:
01/11/2003 03:58:55 PM (21 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e8fe4dc
Parents:
63644a2
Message:

Rewrote chapter 5-bash into new format

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2304 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
1 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • appendixa/bash-desc.xml

    r63644a2 r78ec17a2  
    1 <sect2><title>Contents of Bash</title>
     1<sect2><title>Descriptions</title>
    22
    33<para>Last checked against version &bash-contversion;.</para>
    44
    5 <sect3><title>Program Files</title>
    6 <para>bash, sh (link to bash) and bashbug</para></sect3>
    7 
    8 <sect3><title>Descriptions</title>
     5<sect3><title>ProgramfFiles descriptions</title>
    96
    107<sect4><title>bash</title>
  • appendixa/bash.xml

    r63644a2 r78ec17a2  
    44
    55&aa-bash-down;
     6&aa-bash-shortdesc;
    67&aa-bash-desc;
    78&aa-bash-dep;
  • chapter05/bash-inst.xml

    r63644a2 r78ec17a2  
    1313this package is already installed, or you just installed it, check for the
    1414two files again. Often the <filename>libcurses.a</filename> file is (still)
    15 missing. If so, then create <filename>libcurses.a</filename> as a symlink
    16 by running the following commands as user root:</para>
     15missing. If so, create <filename>libcurses.a</filename> as a symlink
     16by running the following commands as user <emphasis>root:</emphasis></para>
    1717
    1818<para><screen><userinput>ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para>
    1919
    20 <para>Now we can continue. Install Bash by running the following
    21 commands:</para>
     20<para>Now we can really start. Prepare Bash to be compiled by running the
     21following command:</para>
     22
    2223
    2324<para><screen><userinput>./configure --enable-static-link \
    24 &nbsp;&nbsp;&nbsp;&nbsp;--prefix=$LFS/static --with-curses &amp;&amp;
    25 make &amp;&amp;
    26 make install</userinput></screen></para>
     25&nbsp;&nbsp;&nbsp;&nbsp;--prefix=$LFS/static --with-curses</userinput></screen></para>
     26
     27<para>The meaning of the configure switches are:</para>
     28
     29<itemizedlist>
     30<listitem><para><userinput>--enable-static-link:</userinput> This option
     31caused the <userinput>bash</userinput> program to be statically
     32linked.</para></listitem>
     33
     34<listitem><para><userinput>--prefix=$LFS/static</userinput> This option
     35installs all of Bash's files under the $LFS/static directory, which becomes
     36the /static directory when chroot'ed or reboot'ed into
     37LFS.</para></listitem>
     38
     39<listitem><para><userinput>--with-curses:</userinput> This option caused
     40bash to be linked against the curses library instead of the default termcap
     41library which is being phased out and has become obsolete. Note, on most
     42all Linux systems, the curses library is provided by the Ncurses
     43package (so in truth we link against the ncurses library).</para>
     44
     45<para>It is not strictly necessary for the static bash to be linked
     46against libncurses (it can link against a static termcap for the time
     47being just fine because we will reinstall Bash in Chapter 6 anyways,
     48where we will use libncurses), but it's a good test to make sure that
     49the Ncurses package has been installed properly. If not, you will get in
     50trouble later on in this chapter when you install the Texinfo package.
     51That package requires ncurses, and termcap can't reliably be used
     52there.</para></listitem>
     53</itemizedlist>
     54
     55<para>Now we can continue compiling Bash:</para>
     56
     57<para><screen><userinput>make</userinput></screen></para>
     58
     59<para>And finish off the installation by installing Bash:</para>
     60
     61<para><screen><userinput>make install</userinput></screen></para>
    2762
    2863<para>If the <userinput>make install</userinput> phase ends with something
    29 along the lines of this:</para>
     64along the lines of the following:</para>
    3065
    3166<blockquote><screen>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'
     
    4176
    4277<para>then that means that you are probably using Debian-2.2 (potato), and
    43 that you have an old version of the texinfo package. This error is not
    44 severe by any means: the info pages will be installed when we recompile bash
    45 dynamically in Chapter 6, so you can ignore it.  It is reported that the
    46 current release of Debian (3.0; also known as Woody) doesn't have this
    47 problem.</para>
     78that you have an old version of the texinfo package and the info pages
     79can't be installed at this time. This error is not a problem as the info
     80pages will be installed when we recompile bash dynamically in Chapter 6, so
     81you can ignore it.  It is reported that the current release of Debian
     82(3.0; also known as Woody) doesn't have this problem.</para>
    4883
    4984</sect2>
  • chapter05/bash.xml

    r63644a2 r78ec17a2  
    66Estimated required disk space:  &bash-compsize-static;</screen>
    77
     8&aa-bash-shortdesc;
     9&aa-bash-dep;
    810&c5-bash-inst;
    9 &c5-bash-exp;
    10 &aa-bash-desc;
    11 &aa-bash-dep;
    1211
    1312</sect1>
  • chapter06/glibc.xml

    r63644a2 r78ec17a2  
    33<?dbhtml filename="glibc.html" dir="chapter06"?>
    44
    5 <screen>Download location:              <ulink url="ftp://ftp.gnu.org/gnu/glibc/"/>
    6 Download location (patch):      <ulink url="&http;/"/>
    7 Estimated build time:           &glibc-time;
     5<screen>Estimated build time:           &glibc-time;
    86Estimated required disk space:  &glibc-compsize;</screen>
    97
  • entities/bash.ent

    r63644a2 r78ec17a2  
    99
    1010<!ENTITY aa-bash SYSTEM "../appendixa/bash.xml">
     11<!ENTITY aa-bash-shortdesc SYSTEM "../appendixa/bash-shortdesc.xml">
    1112<!ENTITY aa-bash-desc SYSTEM "../appendixa/bash-desc.xml">
    1213<!ENTITY aa-bash-dep SYSTEM "../appendixa/bash-dep.xml">
  • index.xml

    r63644a2 r78ec17a2  
    55<!ENTITY book SYSTEM "book/book.xml">
    66
    7 <!ENTITY version "20030110">
    8 <!ENTITY releasedate "January 10th, 2003">
     7<!ENTITY version "20030111">
     8<!ENTITY releasedate "January 11th, 2003">
    99
    1010<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
Note: See TracChangeset for help on using the changeset viewer.