Ignore:
Timestamp:
Feb 21, 2006, 1:23:04 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
69caf2f
Parents:
82fedc4
Message:

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


Location:
BOOK/final-system/common
Files:
39 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/autoconf.xml

    r82fedc4 re0e40d3  
    3636    <para os="a">Prepare Autoconf for compilation:</para>
    3737
    38 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     38<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3939
    40     <para os="b">Compile the package:</para>
     40    <para os="c">Compile the package:</para>
    4141
    42 <screen os="c"><userinput>make</userinput></screen>
     42<screen os="d"><userinput>make</userinput></screen>
    4343
    44     <para os="d">To test the results, issue:
     44    <para os="e">To test the results, issue:
    4545    <userinput>make check</userinput>.</para>
    4646
    47     <para os="e">Install the package:</para>
     47    <para os="f">Install the package:</para>
    4848
    49 <screen os="f"><userinput>make install</userinput></screen>
     49<screen os="g"><userinput>make install</userinput></screen>
    5050
    5151  </sect2>
  • BOOK/final-system/common/automake.xml

    r82fedc4 re0e40d3  
    3737    <para os="a">Prepare Automake for compilation:</para>
    3838
    39 <screen><userinput>./configure --prefix=/usr</userinput></screen>
    40 
    41     <para os="b">Compile the package:</para>
    42 
    43 <screen os="c"><userinput>make</userinput></screen>
    44 
    45     <para os="d">To test the results, issue:
     39<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     40
     41    <para os="c">Compile the package:</para>
     42
     43<screen os="d"><userinput>make</userinput></screen>
     44
     45    <para os="e">To test the results, issue:
    4646    <userinput>make check</userinput>.</para>
    4747
    48     <para os="e">Install the package:</para>
    49 
    50 <screen os="f"><userinput>make install</userinput></screen>
     48    <para os="f">Install the package:</para>
     49
     50<screen os="g"><userinput>make install</userinput></screen>
    5151
    5252  </sect2>
  • BOOK/final-system/common/bash.xml

    r82fedc4 re0e40d3  
    5454    <para os="g">Prepare Bash for compilation:</para>
    5555
    56 <screen><userinput>./configure --prefix=/usr --bindir=/bin \
     56<screen os="h"><userinput>./configure --prefix=/usr --bindir=/bin \
    5757    --without-bash-malloc --with-installed-readline</userinput></screen>
    5858
    59     <variablelist os="h">
     59    <variablelist os="i">
    6060      <title>The meaning of the configure option:</title>
    6161
     
    7171    </variablelist>
    7272
    73     <para os="i">Compile the package:</para>
     73    <para os="j">Compile the package:</para>
    7474
    75 <screen os="j"><userinput>make</userinput></screen>
     75<screen os="k"><userinput>make</userinput></screen>
    7676
    77     <para os="k">To test the results, issue:
     77    <para os="l">To test the results, issue:
    7878    <userinput>make tests</userinput>.</para>
    7979
    80     <para os="l">Install the package:</para>
     80    <para os="m">Install the package:</para>
    8181
    82 <screen os="m"><userinput>make install</userinput></screen>
     82<screen os="n"><userinput>make install</userinput></screen>
    8383
    84     <para os="n">Run the newly compiled <command>bash</command> program (replacing
     84    <para os="o">Run the newly compiled <command>bash</command> program (replacing
    8585    the one that is currently being executed):</para>
    8686
    87 <screen os="o"><userinput>exec /bin/bash --login +h</userinput></screen>
     87<screen os="p"><userinput>exec /bin/bash --login +h</userinput></screen>
    8888
    89     <note os="p">
     89    <note os="q">
    9090      <para>The parameters used make the <command>bash</command>
    9191      process an interactive login shell and continue to disable hashing so
  • BOOK/final-system/common/bison.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of Bison</title>
    3535
    36     <para>Prepare Bison for compilation:</para>
     36    <para os="a">Prepare Bison for compilation:</para>
    3737
    38 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     38<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3939
    40     <para>Compile the package:</para>
     40    <para os="c">Compile the package:</para>
    4141
    42 <screen><userinput>make</userinput></screen>
     42<screen os="d"><userinput>make</userinput></screen>
    4343
    44     <para>To test the results, issue:
     44    <para os="e">To test the results, issue:
    4545    <userinput>make check</userinput>.</para>
    4646
    47     <para>Install the package:</para>
     47    <para os="f">Install the package:</para>
    4848
    49 <screen><userinput>make install</userinput></screen>
     49<screen os="g"><userinput>make install</userinput></screen>
    5050
    5151  </sect2>
  • BOOK/final-system/common/bzip2.xml

    r82fedc4 re0e40d3  
    3636    <title>Installation of Bzip2</title>
    3737
    38     <para os="j">Apply a patch to install the documentation for this
     38    <para os="p1">Apply a patch to install the documentation for this
    3939    package:</para>
    4040
    41 <screen os="k"><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
    42 
    43     <para os="l">The <command>bzgrep</command> command does not escape '|' and
     41<screen os="p2"><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen>
     42
     43    <para os="p3">The <command>bzgrep</command> command does not escape '|' and
    4444    '&amp;' in filenames passed to it. This allows arbitrary commands to be
    4545    executed with the privileges of the user running <command>bzgrep</command>.
    4646    Apply the following patch to address this:</para>
    4747
    48 <screen os="m"><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
     48<screen os="p4"><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen>
    4949
    5050    <para os="a">The Bzip2 package does not contain a <command>configure</command>
    5151    script. Compile it with:</para>
    5252
    53 <screen><userinput>make -f Makefile-libbz2_so
     53<screen os="b"><userinput>make -f Makefile-libbz2_so
    5454make clean</userinput></screen>
    5555
    56     <para os="b">The <parameter>-f</parameter> flag will cause Bzip2 to be built
     56    <para os="c">The <parameter>-f</parameter> flag will cause Bzip2 to be built
    5757    using a different <filename>Makefile</filename> file, in this case the
    5858    <filename>Makefile-libbz2_so</filename> file, which creates a dynamic
     
    6060    Bzip2 utilities against it.</para>
    6161
    62     <para os="c">Compile and test the package:</para>
    63 
    64 <screen><userinput>make</userinput></screen>
    65 
    66     <para os="e">If reinstalling Bzip2, perform
     62    <para os="d">Compile and test the package:</para>
     63
     64<screen os="e"><userinput>make</userinput></screen>
     65
     66    <para os="f">If reinstalling Bzip2, perform
    6767    <userinput>rm -f /usr/bin/bz*</userinput> first, otherwise the
    6868    following <command>make install</command> will fail.</para>
    6969
    70     <para os="f">Install the programs:</para>
    71 
    72 <screen os="g"><userinput>make install</userinput></screen>
    73 
    74     <para os="h">Install the shared <command>bzip2</command> binary into the
     70    <para os="g">Install the programs:</para>
     71
     72<screen os="h"><userinput>make install</userinput></screen>
     73
     74    <para os="i">Install the shared <command>bzip2</command> binary into the
    7575    <filename class="directory">/bin</filename> directory, make
    7676    some necessary symbolic links, and clean up:</para>
    7777
    78 <screen os="i"><userinput>cp bzip2-shared /bin/bzip2
     78<screen os="j"><userinput>cp bzip2-shared /bin/bzip2
    7979cp -a libbz2.so* /lib
    8080ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
  • BOOK/final-system/common/diffutils.xml

    r82fedc4 re0e40d3  
    3535    <title>Installation of Diffutils</title>
    3636
    37     <para>Prepare Diffutils for compilation:</para>
     37    <para os="a">Prepare Diffutils for compilation:</para>
    3838
    39 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     39<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    4040
    41     <para>Compile the package:</para>
     41    <para os="c">Compile the package:</para>
    4242
    43 <screen><userinput>make</userinput></screen>
     43<screen os="d"><userinput>make</userinput></screen>
    4444
    45     <para>This package does not come with a test suite.</para>
     45    <para os="e">This package does not come with a test suite.</para>
    4646
    47     <para>Install the package:</para>
     47    <para os="f">Install the package:</para>
    4848
    49 <screen><userinput>make install</userinput></screen>
     49<screen os="g"><userinput>make install</userinput></screen>
    5050
    5151  </sect2>
  • BOOK/final-system/common/e2fsprogs.xml

    r82fedc4 re0e40d3  
    4545    <para os="c">Prepare E2fsprogs for compilation:</para>
    4646
    47 <screen><userinput>../configure --prefix=/usr --with-root-prefix="" \
     47<screen os="d"><userinput>../configure --prefix=/usr --with-root-prefix="" \
    4848    --enable-elf-shlibs --disable-evms</userinput></screen>
    4949
    50     <variablelist os="d">
     50    <variablelist os="e">
    5151      <title>The meaning of the configure options:</title>
    5252
    53       <varlistentry>
     53      <varlistentry os="e1">
    5454        <term><parameter>--with-root-prefix=""</parameter></term>
    5555        <listitem>
     
    6565      </varlistentry>
    6666
    67       <varlistentry os="l">
     67      <varlistentry os="e2">
    6868        <term><parameter>--enable-elf-shlibs</parameter></term>
    6969        <listitem>
     
    7373      </varlistentry>
    7474
    75       <varlistentry os="m">
     75      <varlistentry os="e3">
    7676        <term><parameter>--disable-evms</parameter></term>
    7777        <listitem>
     
    8484        </listitem>
    8585      </varlistentry>
     86
    8687    </variablelist>
    8788
    88     <para os="e">Compile the package:</para>
    89 
    90 <screen os="f"><userinput>make</userinput></screen>
    91 
    92     <para os="g">To test the results, issue:
     89    <para os="f">Compile the package:</para>
     90
     91<screen os="g"><userinput>make</userinput></screen>
     92
     93    <para os="h">To test the results, issue:
    9394    <userinput>make check</userinput>.</para>
    9495
    95     <para os="h">Install the binaries and documentation:</para>
    96 
    97 <screen os="i"><userinput>make install</userinput></screen>
    98 
    99     <para os="j">Install the shared libraries:</para>
    100 
    101 <screen os="k"><userinput>make install-libs</userinput></screen>
     96    <para os="i">Install the binaries and documentation:</para>
     97
     98<screen os="j"><userinput>make install</userinput></screen>
     99
     100    <para os="k">Install the shared libraries:</para>
     101
     102<screen os="l"><userinput>make install-libs</userinput></screen>
    102103
    103104  </sect2>
  • BOOK/final-system/common/findutils.xml

    r82fedc4 re0e40d3  
    3939    <para os="a">Prepare Findutils for compilation:</para>
    4040
    41 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
     41<screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
    4242    --localstatedir=/var/lib/locate</userinput></screen>
    4343
    44     <variablelist os="b">
     44    <variablelist os="c">
    4545      <title>The meaning of the configure options:</title>
    4646
     
    5656    </variablelist>
    5757
    58     <para os="c">Compile the package:</para>
     58    <para os="d">Compile the package:</para>
    5959
    60 <screen os="d"><userinput>make</userinput></screen>
     60<screen os="e"><userinput>make</userinput></screen>
    6161
    62     <para os="e">To test the results, issue:
     62    <para os="f">To test the results, issue:
    6363    <userinput>make check</userinput>.</para>
    6464
    65     <para os="f">Install the package:</para>
     65    <para os="g">Install the package:</para>
    6666
    67 <screen os="g"><userinput>make install</userinput></screen>
     67<screen os="h"><userinput>make install</userinput></screen>
    6868
    6969  </sect2>
  • BOOK/final-system/common/flex.xml

    r82fedc4 re0e40d3  
    4949    <para os="e">Prepare Flex for compilation:</para>
    5050
    51 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     51<screen os="f"><userinput>./configure --prefix=/usr</userinput></screen>
    5252
    53     <para os="f">Compile the package:</para>
     53    <para os="g">Compile the package:</para>
    5454
    55 <screen os="g"><userinput>make</userinput></screen>
     55<screen os="h"><userinput>make</userinput></screen>
    5656
    57     <para os="h">To test the results, issue:
     57    <para os="i">To test the results, issue:
    5858    <userinput>make check</userinput>.</para>
    5959
    60     <para os="i">Install the package:</para>
     60    <para os="j">Install the package:</para>
    6161
    62 <screen os="j"><userinput>make install</userinput></screen>
     62<screen os="k"><userinput>make install</userinput></screen>
    6363
    64     <para os="k">There are some packages that expect to find the
     64    <para os="l">There are some packages that expect to find the
    6565    <filename class="libraryfile">lex</filename> library in <filename
    6666    class="directory">/usr/lib</filename>. Create a symlink to account for
    6767    this:</para>
    6868
    69 <screen os="l"><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen>
     69<screen os="m"><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen>
    7070
    71     <para os="m">A few programs do not know about <command>flex</command> yet and
     71    <para os="n">A few programs do not know about <command>flex</command> yet and
    7272    try to run its predecessor, <command>lex</command>. To support those
    7373    programs, create a wrapper script named <filename>lex</filename> that
     
    7575    mode:</para>
    7676
    77 <screen os="n"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
     77<screen os="o"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
    7878<literal>#!/bin/sh
    7979# Begin /usr/bin/lex
  • BOOK/final-system/common/gettext.xml

    r82fedc4 re0e40d3  
    3737    <title>Installation of Gettext</title>
    3838
    39     <para>Prepare Gettext for compilation:</para>
    40 
    41 <screen><userinput>./configure --prefix=/usr</userinput></screen>
    42 
    43     <para>Compile the package:</para>
    44 
    45 <screen><userinput>make</userinput></screen>
    46 
    47     <para>To test the results, issue: <userinput>make check</userinput>.</para>
    48 
    49     <para>Install the package:</para>
    50 
    51 <screen><userinput>make install</userinput></screen>
     39    <para os="a">Prepare Gettext for compilation:</para>
     40
     41<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     42
     43    <para os="c">Compile the package:</para>
     44
     45<screen os="d"><userinput>make</userinput></screen>
     46
     47    <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
     48
     49    <para os="f">Install the package:</para>
     50
     51<screen os="g"><userinput>make install</userinput></screen>
    5252
    5353  </sect2>
  • BOOK/final-system/common/groff.xml

    r82fedc4 re0e40d3  
    4242    <para os="b">Prepare Groff for compilation:</para>
    4343
    44 <screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen>
    45 
    46     <para os="c">Compile the package:</para>
    47 
    48 <screen os="d"><userinput>make</userinput></screen>
    49 
    50     <para os="e">Install the package:</para>
    51 
    52 <screen os="f"><userinput>make install</userinput></screen>
    53 
    54     <para os="g">Some documentation programs, such as <command>xman</command>,
     44<screen os="c"><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure --prefix=/usr</userinput></screen>
     45
     46    <para os="d">Compile the package:</para>
     47
     48<screen os="e"><userinput>make</userinput></screen>
     49
     50    <para os="f">Install the package:</para>
     51
     52<screen os="g"><userinput>make install</userinput></screen>
     53
     54    <para os="h">Some documentation programs, such as <command>xman</command>,
    5555    will not work properly without the following symlinks:</para>
    5656
    57 <screen os="h"><userinput>ln -s soelim /usr/bin/zsoelim
     57<screen os="i"><userinput>ln -s soelim /usr/bin/zsoelim
    5858ln -s eqn /usr/bin/geqn
    5959ln -s tbl /usr/bin/gtbl</userinput></screen>
  • BOOK/final-system/common/gzip.xml

    r82fedc4 re0e40d3  
    3535    <title>Installation of Gzip</title>
    3636
    37     <para os="a">The following patch fixes two security vulnerabilities in Gzip.
     37    <para os="p1">The following patch fixes two security vulnerabilities in Gzip.
    3838    First, a path traversal bug when using the <option>-N</option> option
    3939    (CAN-2005-1228) Second, a race condition in the file permission restore
    4040    code (CAN-2005-0998)</para>
    4141
    42 <screen os="b"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
    43 
    44     <para os="c">Prepare Gzip for compilation:</para>
    45 
    46 <screen><userinput>./configure --prefix=/usr</userinput></screen>
    47 
    48     <para os="d">The <command>gzexe</command> script has the location of the
     42<screen os="p2"><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
     43
     44    <para os="a">Prepare Gzip for compilation:</para>
     45
     46<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     47
     48    <para os="c">The <command>gzexe</command> script has the location of the
    4949    <command>gzip</command> binary hard-wired into it. Because the
    5050    location of the binary is changed later, the following command ensures
    5151    that the new location gets placed into the script:</para>
    5252
    53 <screen os="e"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
    54 
    55     <para os="f">Compile the package:</para>
    56 
    57 <screen os="g"><userinput>make</userinput></screen>
    58 
    59     <para os="h">Install the package:</para>
    60 
    61 <screen os="i"><userinput>make install</userinput></screen>
    62 
    63     <para os="j">Move the <command>gzip</command> program to the <filename
     53<screen os="d"><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
     54
     55    <para os="e">Compile the package:</para>
     56
     57<screen os="f"><userinput>make</userinput></screen>
     58
     59    <para os="g">Install the package:</para>
     60
     61<screen os="h"><userinput>make install</userinput></screen>
     62
     63    <para os="i">Move the <command>gzip</command> program to the <filename
    6464    class="directory">/bin</filename> directory and create some commonly
    6565    used symlinks to it:</para>
    6666
    67 <screen os="k"><userinput>mv /usr/bin/gzip /bin
     67<screen os="j"><userinput>mv /usr/bin/gzip /bin
    6868rm /usr/bin/{gunzip,zcat}
    6969ln -s gzip /bin/gunzip
  • BOOK/final-system/common/hotplug.xml

    r82fedc4 re0e40d3  
    3838    <title>Installation of Hotplug</title>
    3939
    40     <para>Install the Hotplug package:</para>
    41 
    42 <screen><userinput>make install</userinput></screen>
    43 
    44     <para>Remove the init script that Hotplug installs since we are going
     40    <para os="a">Install the Hotplug package:</para>
     41
     42<screen os="b"><userinput>make install</userinput></screen>
     43
     44    <para os="c">Remove the init script that Hotplug installs since we are going
    4545    to be using the script included in the LFS-Bootscripts package:</para>
    4646
    47 <screen><userinput>rm -rf /etc/init.d</userinput></screen>
    48 
    49     <para>Network device hotplugging is not yet supported by the
     47<screen os="d"><userinput>rm -rf /etc/init.d</userinput></screen>
     48
     49    <para os="e">Network device hotplugging is not yet supported by the
    5050    LFS-Bootscripts package. For that reason, remove the network
    5151    hotplug agent:</para>
    5252
    53 <screen><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
    54 
    55     <para>Create a directory for storing firmware that can be loaded by
     53<screen os="f"><userinput>rm -f /etc/hotplug/net.agent</userinput></screen>
     54
     55    <para os="g">Create a directory for storing firmware that can be loaded by
    5656    <command>hotplug</command>:</para>
    5757
    58 <screen><userinput>mkdir /lib/firmware</userinput></screen>
     58<screen os="h"><userinput>mkdir /lib/firmware</userinput></screen>
    5959
    6060  </sect2>
  • BOOK/final-system/common/iana-etc.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of Iana-Etc</title>
    3535
    36     <para>The following command converts the raw data provided by IANA into
     36    <para os="a">The following command converts the raw data provided by IANA into
    3737    the correct formats for the <filename>/etc/protocols</filename> and
    3838    <filename>/etc/services</filename> data files:</para>
    3939
    40 <screen><userinput>make</userinput></screen>
     40<screen os="b"><userinput>make</userinput></screen>
    4141
    42     <para>Install the package:</para>
     42    <para os="c">Install the package:</para>
    4343
    44 <screen><userinput>make install</userinput></screen>
     44<screen os="d"><userinput>make install</userinput></screen>
    4545
    4646  </sect2>
  • BOOK/final-system/common/inetutils.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of Inetutils</title>
    3535
    36     <para os="a">All programs that come with Inetutils will not be installed.
     36    <para os="p1">All programs that come with Inetutils will not be installed.
    3737    However, the Inetutils build system will insist on installing all the
    3838    man pages anyway. The following patch will correct this
    3939    situation:</para>
    4040
    41 <screen os="b"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
    42 
    43     <para os="b1">The following patches addresses build issues with GCC 4.x:</para>
    44 
    45 <screen os="b2"><userinput>patch -Np1 -i ../&inetutils-gcc4_fixes-patch;</userinput></screen>
    46 
    47     <para os="c">Prepare Inetutils for compilation:</para>
    48 
    49 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
     41<screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
     42
     43    <para os="p3">The following patches addresses build issues with GCC 4.x:</para>
     44
     45<screen os="p4"><userinput>patch -Np1 -i ../&inetutils-gcc4_fixes-patch;</userinput></screen>
     46
     47    <para os="a">Prepare Inetutils for compilation:</para>
     48
     49<screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin \
    5050    --sysconfdir=/etc --localstatedir=/var \
    5151    --disable-logger --disable-syslogd \
    5252    --disable-whois --disable-servers</userinput></screen>
    5353
    54     <variablelist os="d">
     54    <variablelist os="c">
    5555      <title>The meaning of the configure options:</title>
    5656
     
    9898    </variablelist>
    9999
    100     <para os="e">Compile the package:</para>
    101 
    102 <screen os="f"><userinput>make</userinput></screen>
    103 
    104     <para os="g">Install the package:</para>
    105 
    106 <screen os="h"><userinput>make install</userinput></screen>
    107 
    108     <para os="i">Move the <command>ping</command> program to its FHS-compliant
     100    <para os="d">Compile the package:</para>
     101
     102<screen os="e"><userinput>make</userinput></screen>
     103
     104    <para os="f">Install the package:</para>
     105
     106<screen os="g"><userinput>make install</userinput></screen>
     107
     108    <para os="h">Move the <command>ping</command> program to its FHS-compliant
    109109    place:</para>
    110110
    111 <screen os="j"><userinput>mv /usr/bin/ping /bin</userinput></screen>
     111<screen os="i"><userinput>mv /usr/bin/ping /bin</userinput></screen>
    112112
    113113  </sect2>
  • BOOK/final-system/common/iproute2.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of IPRoute2</title>
    3535
    36     <para os="a">The <command>arpd</command> binary included in this package is
     36    <para os="s1">The <command>arpd</command> binary included in this package is
    3737    dependent on Berkeley DB.  Because <command>arpd</command> is not a
    3838    very common requirement on a base Linux system, remove the dependency
     
    4242    url="&blfs-root;view/svn/server/databases.html#db"/>.</para>
    4343
    44 <screen os="b"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
    45 
    46     <para os="c">Prepare IPRoute2 for compilation:</para>
    47 
    48 <screen os="d"><userinput>sh configure </userinput></screen>
    49 
    50     <para os="e">Compile the package:</para>
    51 
    52 <screen><userinput>make SBINDIR=/sbin</userinput></screen>
    53 
    54     <variablelist os="f">
     44<screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
     45
     46    <para os="a">Prepare IPRoute2 for compilation:</para>
     47
     48<screen os="b"><userinput>sh configure </userinput></screen>
     49
     50    <para os="c">Compile the package:</para>
     51
     52<screen os="d"><userinput>make SBINDIR=/sbin</userinput></screen>
     53
     54    <variablelist os="e">
    5555      <title>The meaning of the make option:</title>
    5656
     
    6666    </variablelist>
    6767
    68     <para os="g">Install the package:</para>
    69 
    70 <screen os="h"><userinput>make SBINDIR=/sbin install</userinput></screen>
     68    <para os="f">Install the package:</para>
     69
     70<screen os="g"><userinput>make SBINDIR=/sbin install</userinput></screen>
    7171
    7272  </sect2>
  • BOOK/final-system/common/kbd.xml

    r82fedc4 re0e40d3  
    3535    <title>Installation of Kbd</title>
    3636
    37     <para os="a1">The following patch fixes build issues with GCC 4.x:</para>
    38 
    39 <screen os="a2"><userinput>patch -Np1 -i ../&kbd-gcc4_fixes-patch;</userinput></screen>
    40 
    41     <para>Prepare Kbd for compilation:</para>
    42 
    43 <screen><userinput>./configure</userinput></screen>
    44 
    45     <para>Compile the package:</para>
    46 
    47 <screen><userinput>make</userinput></screen>
    48 
    49     <para>Install the package:</para>
    50 
    51 <screen><userinput>make install</userinput></screen>
     37    <para os="p1">The following patch fixes build issues with GCC 4.x:</para>
     38
     39<screen os="p2"><userinput>patch -Np1 -i ../&kbd-gcc4_fixes-patch;</userinput></screen>
     40
     41    <para os="a">Prepare Kbd for compilation:</para>
     42
     43<screen os="b"><userinput>./configure</userinput></screen>
     44
     45    <para os="c">Compile the package:</para>
     46
     47<screen os="d"><userinput>make</userinput></screen>
     48
     49    <para os="e">Install the package:</para>
     50
     51<screen os="f"><userinput>make install</userinput></screen>
    5252
    5353  </sect2>
  • BOOK/final-system/common/less.xml

    r82fedc4 re0e40d3  
    3636    <para os="a">Prepare Less for compilation:</para>
    3737
    38 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
     38<screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
    3939
    40     <variablelist os="b">
     40    <variablelist os="c">
    4141      <title>The meaning of the configure option:</title>
    4242
     
    5151    </variablelist>
    5252
    53     <para os="c">Compile the package:</para>
     53    <para os="d">Compile the package:</para>
    5454
    55 <screen os="d"><userinput>make</userinput></screen>
     55<screen os="e"><userinput>make</userinput></screen>
    5656
    57     <para os="e">Install the package:</para>
     57    <para os="f">Install the package:</para>
    5858
    59 <screen os="f"><userinput>make install</userinput></screen>
     59<screen os="g"><userinput>make install</userinput></screen>
    6060
    61     <para os="g">Move less to /bin:</para>
     61    <para os="h">Move less to /bin:</para>
    6262
    63 <screen os="h"><userinput>mv /usr/bin/less /bin</userinput></screen>
     63<screen os="i"><userinput>mv /usr/bin/less /bin</userinput></screen>
    6464
    6565  </sect2>
  • BOOK/final-system/common/libtool.xml

    r82fedc4 re0e40d3  
    3838    <para os="a">Prepare Libtool for compilation:</para>
    3939
    40 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     40<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    4141
    42     <para os="b">Compile the package:</para>
     42    <para os="c">Compile the package:</para>
    4343
    44 <screen os="c"><userinput>make</userinput></screen>
     44<screen os="d"><userinput>make</userinput></screen>
    4545
    46     <para os="d">To test the results, issue:
     46    <para os="e">To test the results, issue:
    4747    <userinput>make check</userinput>.</para>
    4848
    49     <para os="e">Install the package:</para>
     49    <para os="f">Install the package:</para>
    5050
    51 <screen os="f"><userinput>make install</userinput></screen>
     51<screen os="g"><userinput>make install</userinput></screen>
    5252
    53     <para os="g">Correct the ownership of the <filename
     53    <para os="h">Correct the ownership of the <filename
    5454    class="libraryfile">libltdl</filename> data files:</para>
    5555
    56 <screen os="h"><userinput>chown -R root:root /usr/share/libtool/libltdl</userinput></screen>
     56<screen os="i"><userinput>chown -R root:root /usr/share/libtool/libltdl</userinput></screen>
    5757
    5858  </sect2>
  • BOOK/final-system/common/m4.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of M4</title>
    3535
    36     <para>Prepare M4 for compilation:</para>
     36    <para os="a">Prepare M4 for compilation:</para>
    3737
    38 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     38<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3939
    40     <para>Compile the package:</para>
     40    <para os="c">Compile the package:</para>
    4141
    42 <screen><userinput>make</userinput></screen>
     42<screen os="d"><userinput>make</userinput></screen>
    4343
    44     <para>To test the results, issue:
     44    <para os="e">To test the results, issue:
    4545    <userinput>make check</userinput>.</para>
    4646
    47     <para>Install the package:</para>
     47    <para os="f">Install the package:</para>
    4848
    49 <screen><userinput>make install</userinput></screen>
     49<screen os="g"><userinput>make install</userinput></screen>
    5050
    5151  </sect2>
  • BOOK/final-system/common/man-pages.xml

    r82fedc4 re0e40d3  
    3333    <title>Installation of Man-pages</title>
    3434
    35     <para>Install Man-pages by running:</para>
     35    <para os="a">Install Man-pages by running:</para>
    3636
    37 <screen><userinput>make install</userinput></screen>
     37<screen os="b"><userinput>make install</userinput></screen>
    3838
    3939  </sect2>
  • BOOK/final-system/common/man.xml

    r82fedc4 re0e40d3  
    5252    <para os="f">Prepare Man for compilation:</para>
    5353
    54 <screen><userinput>./configure -confdir=/etc</userinput></screen>
    55 
    56     <variablelist os="g">
     54<screen os="g"><userinput>./configure -confdir=/etc</userinput></screen>
     55
     56    <variablelist os="h">
    5757      <title>The meaning of the configure options:</title>
    5858
     
    6767    </variablelist>
    6868
    69     <para os="h">Compile the package:</para>
    70 
    71 <screen os="i"><userinput>make</userinput></screen>
    72 
    73     <para os="j">Install the package:</para>
    74 
    75 <screen os="k"><userinput>make install</userinput></screen>
    76 
    77     <note os="l">
     69    <para os="i">Compile the package:</para>
     70
     71<screen os="j"><userinput>make</userinput></screen>
     72
     73    <para os="k">Install the package:</para>
     74
     75<screen os="l"><userinput>make install</userinput></screen>
     76
     77    <note os="m">
    7878      <para>If you will be working on a terminal that does not support
    7979      text attributes such as color and bold, you can disable Select
     
    8686    </note>
    8787
    88     <para os="m">If the character set of the locale uses 8-bit characters, search
     88    <para os="n">If the character set of the locale uses 8-bit characters, search
    8989    for the line beginning with <quote>NROFF</quote> in
    9090    <filename>/etc/man.conf</filename>, and verify that it matches the
    9191    following:</para>
    9292
    93 <screen os="n">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>
    94 
    95     <para os="o">Note that <quote>latin1</quote> should be used even if it is not
     93<screen os="o">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>
     94
     95    <para os="p">Note that <quote>latin1</quote> should be used even if it is not
    9696    the character set of the locale. The reason is that, according to the
    9797    specification, <command>groff</command> has no means of typesetting
     
    105105    it is usable as the input for a pager.</para>
    106106
    107     <para os="p">This does not solve the problem of a non-working
     107    <para os="q">This does not solve the problem of a non-working
    108108    <command>man2dvi</command> program for localized man pages in
    109109    non-ISO 8859-1 locales. Also, it does not work with multibyte
     
    112112    not support multibyte character sets.</para>
    113113
    114     <para os="q">Additional information with regards to the compression of
     114    <para os="r">Additional information with regards to the compression of
    115115    man and info pages can be found in the BLFS book at
    116116    <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para>
  • BOOK/final-system/common/mktemp.xml

    r82fedc4 re0e40d3  
    4242    <para os="c">Prepare Mktemp for compilation:</para>
    4343
    44 <screen os="c1"><userinput>./configure --prefix=/usr --with-libc</userinput></screen>
     44<screen os="d"><userinput>./configure --prefix=/usr --with-libc</userinput></screen>
    4545
    46     <variablelist os="d">
     46    <variablelist os="e">
    4747      <title>The meaning of the configure option:</title>
    4848
     
    5757    </variablelist>
    5858
    59     <para os="e">Compile the package:</para>
     59    <para os="f">Compile the package:</para>
    6060
    61 <screen os="f"><userinput>make</userinput></screen>
     61<screen os="g"><userinput>make</userinput></screen>
    6262
    63     <para os="g">Install the package:</para>
     63    <para os="h">Install the package:</para>
    6464
    65 <screen os="h"><userinput>make install
     65<screen os="i"><userinput>make install
    6666make install-tempfile</userinput></screen>
    6767
  • BOOK/final-system/common/module-init-tools.xml

    r82fedc4 re0e40d3  
    4343<screen os="b"><userinput>touch modprobe.conf.5</userinput></screen>
    4444
    45     <para os="g">If you wish to run the test suite for Module-Init-Tools, you
     45    <para os="c">If you wish to run the test suite for Module-Init-Tools, you
    4646    will need to download the separate testsuite tarball. Issue the
    4747    following commands to perform the tests (note that the
     
    5050    process):</para>
    5151
    52 <screen os="g1"><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-path=1 &amp;&amp;
     52<screen os="d"><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-path=1 &amp;&amp;
    5353./configure &amp;&amp;
    5454make check &amp;&amp;
    5555make distclean</userinput></screen>
    5656
    57     <para os="c">Prepare Module-Init-Tools for compilation:</para>
     57    <para os="e">Prepare Module-Init-Tools for compilation:</para>
    5858
    59 <screen os="c1"><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>
     59<screen os="f"><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>
    6060
    61     <variablelist os="d">
     61    <variablelist os="g">
    6262      <title>The meaning of the configure options:</title>
    6363
     
    7272    </variablelist>
    7373
    74     <para os="e">Compile the package:</para>
     74    <para os="h">Compile the package:</para>
    7575
    76 <screen os="f"><userinput>make</userinput></screen>
     76<screen os="i"><userinput>make</userinput></screen>
    7777
    78     <para os="h">Install the package:</para>
     78    <para os="j">Install the package:</para>
    7979
    80 <screen os="i"><userinput>make install</userinput></screen>
     80<screen os="k"><userinput>make install</userinput></screen>
    8181
    8282  </sect2>
  • BOOK/final-system/common/ncurses.xml

    r82fedc4 re0e40d3  
    3737    <para os="a">Prepare Ncurses for compilation:</para>
    3838
    39 <screen><userinput>./configure --prefix=/usr --libdir=/lib \
     39<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
    4040    --with-shared --without-debug</userinput></screen>
    4141
    42     <para os="b">Compile the package:</para>
    43 
    44 <screen os="c"><userinput>make</userinput></screen>
    45 
    46     <para os="d">This package does not come with a test suite.</para>
    47 
    48     <para os="e">Install the package:</para>
    49 
    50 <screen os="f"><userinput>make install</userinput></screen>
    51 
    52     <para os="g">Move the Ncurses static libraries to the proper locations:</para>
    53 
    54 <screen os="h"><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
    55 
    56     <para os="i">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
    57 
    58 <screen os="j"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so
     42    <para os="c">Compile the package:</para>
     43
     44<screen os="d"><userinput>make</userinput></screen>
     45
     46    <para os="e">This package does not come with a test suite.</para>
     47
     48    <para os="f">Install the package:</para>
     49
     50<screen os="g"><userinput>make install</userinput></screen>
     51
     52    <para os="h">Move the Ncurses static libraries to the proper locations:</para>
     53
     54<screen os="i"><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a /usr/lib</userinput></screen>
     55
     56    <para os="j">Create symlinks in <filename class="directory">/usr/lib:</filename></para>
     57
     58<screen os="k"><userinput>rm /lib/lib{ncurses,menu,panel,form,curses}.so
    5959ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so
    6060ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
     
    6363ln -sf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
    6464
    65     <para os="k">Give the Ncurses libraries execute permissions:</para>
    66 
    67 <screen os="l"><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
     65    <para os="l">Give the Ncurses libraries execute permissions:</para>
     66
     67<screen os="m"><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
    6868
    6969  </sect2>
  • BOOK/final-system/common/patch.xml

    r82fedc4 re0e40d3  
    3636    <title>Installation of Patch</title>
    3737
    38     <para>Prepare Patch for compilation:</para>
     38    <para os="a">Prepare Patch for compilation:</para>
    3939
    40 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     40<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    4141
    42     <para>Compile the package:</para>
     42    <para os="c">Compile the package:</para>
    4343
    44 <screen><userinput>make</userinput></screen>
     44<screen os="d"><userinput>make</userinput></screen>
    4545
    46     <para>This package does not come with a test suite.</para>
     46    <para os="e">This package does not come with a test suite.</para>
    4747
    48     <para>Install the package:</para>
     48    <para os="f">Install the package:</para>
    4949
    50 <screen><userinput>make install</userinput></screen>
     50<screen os="g"><userinput>make install</userinput></screen>
    5151
    5252  </sect2>
  • BOOK/final-system/common/perl.xml

    r82fedc4 re0e40d3  
    4040    prepare Perl for compilation with:</para>
    4141
    42 <screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
    43 
    44     <variablelist os="b">
     42<screen os="b"><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
     43
     44    <variablelist os="c">
    4545      <title>The meaning of the configure option:</title>
    4646
    47       <varlistentry>
     47      <varlistentry os="c1">
    4848        <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
    4949        <listitem>
     
    5454    </variablelist>
    5555
    56     <para os="c">Compile the package:</para>
    57 
    58 <screen os="d"><userinput>make</userinput></screen>
    59 
    60     <para os="e">To run the test suite, first create a basic
     56    <para os="d">Compile the package:</para>
     57
     58<screen os="e"><userinput>make</userinput></screen>
     59
     60    <para os="f">To run the test suite, first create a basic
    6161    <filename>/etc/hosts</filename> file which is needed by a couple of
    6262    the tests to resolve the network name localhost:</para>
    6363
    64 <screen os="f"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
    65 
    66     <para os="g">Now run the tests, if desired:</para>
    67 
    68 <screen os="h"><userinput>make test</userinput></screen>
    69 
    70     <para os="i">Install the package:</para>
    71 
    72 <screen os="j"><userinput>make install</userinput></screen>
     64<screen os="g"><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
     65
     66    <para os="h">Now run the tests, if desired:</para>
     67
     68<screen os="i"><userinput>make test</userinput></screen>
     69
     70    <para os="j">Install the package:</para>
     71
     72<screen os="k"><userinput>make install</userinput></screen>
    7373
    7474  </sect2>
  • BOOK/final-system/common/procps.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of Procps</title>
    3535
    36     <para>Compile the package:</para>
    37 
    38 <screen><userinput>make</userinput></screen>
    39 
    40     <para>Install the package:</para>
    41 
    42 <screen><userinput>make install</userinput></screen>
     36    <para os="a">Compile the package:</para>
     37
     38<screen os="b"><userinput>make</userinput></screen>
     39
     40    <para os="c">Install the package:</para>
     41
     42<screen os="d"><userinput>make install</userinput></screen>
    4343
    4444  </sect2>
  • BOOK/final-system/common/psmisc.xml

    r82fedc4 re0e40d3  
    3737    <para os="a">Prepare Psmisc for compilation:</para>
    3838
    39 <screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
     39<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
    4040
    41     <variablelist os="b">
     41    <variablelist os="c">
    4242      <title>The meaning of the configure option:</title>
    4343
     
    5454    </variablelist>
    5555
    56     <para os="c">Compile the package:</para>
     56    <para os="d">Compile the package:</para>
    5757
    58 <screen os="d"><userinput>make</userinput></screen>
     58<screen os="e"><userinput>make</userinput></screen>
    5959
    60     <para os="e">Install the package:</para>
     60    <para os="f">Install the package:</para>
    6161
    62 <screen os="f"><userinput>make install</userinput></screen>
     62<screen os="g"><userinput>make install</userinput></screen>
    6363
    64     <para os="g">There is no reason for the <command>pstree</command> and
     64    <para os="h">There is no reason for the <command>pstree</command> and
    6565    <command>pstree.x11</command> programs to reside in <filename
    6666    class="directory">/bin</filename>. Therefore, move them to <filename
    6767    class="directory">/usr/bin</filename>:</para>
    6868
    69 <screen os="h"><userinput>mv /bin/pstree* /usr/bin</userinput></screen>
     69<screen os="i"><userinput>mv /bin/pstree* /usr/bin</userinput></screen>
    7070
    71     <para os="i">By default, Psmisc's <command>pidof</command> program is not installed.
     71    <para os="j">By default, Psmisc's <command>pidof</command> program is not installed.
    7272    This usually is not a problem because it is installed later in the Sysvinit
    7373    package, which provides a better <command>pidof</command> program. If
     
    7575    of Psmisc by creating the following symlink:</para>
    7676
    77 <screen os="j"><userinput>ln -s killall /bin/pidof</userinput></screen>
     77<screen os="k"><userinput>ln -s killall /bin/pidof</userinput></screen>
    7878
    7979  </sect2>
  • BOOK/final-system/common/readline.xml

    r82fedc4 re0e40d3  
    4444    <para os="c">Prepare Readline for compilation:</para>
    4545
    46 <screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
     46<screen os="d"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
    4747
    48     <para os="d">Compile the package:</para>
     48    <para os="e">Compile the package:</para>
    4949
    50 <screen os="e"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     50<screen os="f"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
    5151
    52     <variablelist os="f">
     52    <variablelist os="g">
    5353      <title>The meaning of the make option:</title>
    5454
     
    6262    </variablelist>
    6363
    64     <para os="g">Install the package:</para>
     64    <para os="h">Install the package:</para>
    6565
    66 <screen os="h"><userinput>make install</userinput></screen>
     66<screen os="i"><userinput>make install</userinput></screen>
    6767
    68     <para os="i">Give Readline's dynamic libraries to a more appropriate
     68    <para os="j">Give Readline's dynamic libraries to a more appropriate
    6969    permissions:</para>
    7070
    71 <screen os="j"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
     71<screen os="k"><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
    7272
    73     <para os="k">Now move the static libraries to a more appropriate location:</para>
     73    <para os="l">Now move the static libraries to a more appropriate location:</para>
    7474
    75 <screen os="l"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     75<screen os="m"><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    7676
    77     <para os="m">Next, remove the <filename class="extension">.so</filename>
     77    <para os="n">Next, remove the <filename class="extension">.so</filename>
    7878    files in <filename class="directory">/lib</filename> and relink them into
    7979    <filename class="directory">/usr/lib</filename>.</para>
    8080
    81 <screen os="n"><userinput>rm /lib/lib{readline,history}.so
     81<screen os="o"><userinput>rm /lib/lib{readline,history}.so
    8282ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    8383ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
  • BOOK/final-system/common/sed.xml

    r82fedc4 re0e40d3  
    4343    <para os="c">Prepare Sed for compilation:</para>
    4444
    45 <screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
     45<screen os="d"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
    4646
    47     <para os="d">Compile the package:</para>
     47    <para os="e">Compile the package:</para>
    4848
    49 <screen os="e"><userinput>make</userinput></screen>
     49<screen os="f"><userinput>make</userinput></screen>
    5050
    51     <para os="f">To test the results, issue:
     51    <para os="g">To test the results, issue:
    5252    <userinput>make check</userinput>.</para>
    5353
    54     <para os="g">Install the package:</para>
     54    <para os="h">Install the package:</para>
    5555
    56 <screen os="h"><userinput>make install</userinput></screen>
     56<screen os="i"><userinput>make install</userinput></screen>
    5757
    5858  </sect2>
  • BOOK/final-system/common/shadow.xml

    r82fedc4 re0e40d3  
    5050    <para os="b">Prepare Shadow for compilation:</para>
    5151
    52 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
    53 
    54     <variablelist os="c">
    55       <title>The meaning of the new configure options:</title>
    56 
    57       <varlistentry>
    58         <term><parameter>to be done</parameter></term>
    59         <listitem>
    60           <para>to be done</para>
    61         </listitem>
    62       </varlistentry>
    63 
    64     </variablelist>
     52<screen os="c"><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
    6553
    6654    <para os="d">Disable the installation of the <command>groups</command> program
  • BOOK/final-system/common/sysklogd.xml

    r82fedc4 re0e40d3  
    4141    <para os="c">Compile the package:</para>
    4242
    43 <screen><userinput>make</userinput></screen>
     43<screen os="d"><userinput>make</userinput></screen>
    4444
    45     <para os="d">Install the package:</para>
     45    <para os="e">Install the package:</para>
    4646
    47 <screen os="e"><userinput>make install</userinput></screen>
     47<screen os="f"><userinput>make install</userinput></screen>
    4848
    4949  </sect2>
  • BOOK/final-system/common/tar.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of Tar</title>
    3535
    36 <para os="a">Apply a patch to fix some issues with the test suite when using
     36<para os="p1">Apply a patch to fix some issues with the test suite when using
    3737GCC-&gcc-version;:</para>
    3838
    39 <screen os="a1"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
     39<screen os="p2"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
    4040
    41     <para os="b">Tar has a bug when the <option>-S</option> option is used with
     41    <para os="p3">Tar has a bug when the <option>-S</option> option is used with
    4242    files larger than 4 GB. The following patch properly fixes this issue:</para>
    4343
    44 <screen os="b1"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
     44<screen os="p4"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
    4545
    46     <para os="c">Prepare Tar for compilation:</para>
     46    <para os="a">Prepare Tar for compilation:</para>
    4747
    48 <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
     48<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
    4949
    50     <para os="d">Compile the package:</para>
     50    <para os="c">Compile the package:</para>
    5151
    52 <screen os="e"><userinput>make</userinput></screen>
     52<screen os="d"><userinput>make</userinput></screen>
    5353
    54     <para os="f">To test the results, issue:
     54    <para os="e">To test the results, issue:
    5555    <userinput>make check</userinput>.</para>
    5656
    57     <para os="g">Install the package:</para>
     57    <para os="f">Install the package:</para>
    5858
    59 <screen os="h"><userinput>make install</userinput></screen>
     59<screen os="g"><userinput>make install</userinput></screen>
    6060
    6161  </sect2>
  • BOOK/final-system/common/texinfo.xml

    r82fedc4 re0e40d3  
    4242    <para os="a">Prepare Texinfo for compilation:</para>
    4343
    44 <screen><userinput>./configure --prefix=/usr</userinput></screen>
     44<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    4545
    46     <para os="b">Compile the package:</para>
     46    <para os="c">Compile the package:</para>
    4747
    48 <screen os="c"><userinput>make</userinput></screen>
     48<screen os="d"><userinput>make</userinput></screen>
    4949
    50     <para os="d">To test the results, issue:
     50    <para os="e">To test the results, issue:
    5151    <userinput>make check</userinput>.</para>
    5252
    53     <para os="e">Install the package:</para>
     53    <para os="f">Install the package:</para>
    5454
    55 <screen os="f"><userinput>make install</userinput></screen>
     55<screen os="g"><userinput>make install</userinput></screen>
    5656
    57     <para os="g">Optionally, install the components belonging in a TeX
     57    <para os="h">Optionally, install the components belonging in a TeX
    5858    installation:</para>
    5959
    60 <screen os="h"><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
     60<screen os="i"><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen>
    6161
    62     <variablelist os="i">
     62    <variablelist os="j">
    6363      <title>The meaning of the make parameter:</title>
    6464
     
    7474    </variablelist>
    7575
    76     <para os="j">The Info documentation system uses a plain text file to hold
     76    <para os="k">The Info documentation system uses a plain text file to hold
    7777    its list of menu entries. The file is located at
    7878    <filename>/usr/share/info/dir</filename>. Unfortunately, due to occasional
     
    8282    the following optional commands will accomplish the task:</para>
    8383
    84 <screen os="k"><userinput>cd /usr/share/info
     84<screen os="l"><userinput>cd /usr/share/info
    8585rm dir
    8686for f in *
  • BOOK/final-system/common/udev.xml

    r82fedc4 re0e40d3  
    3434    <title>Installation of Udev</title>
    3535
    36     <para os="c">Compile the package:</para>
    37 
    38 <screen><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
    39 
    40     <variablelist os="d">
     36    <para os="a">Compile the package:</para>
     37
     38<screen os="b"><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen>
     39
     40    <variablelist os="c">
    4141      <title>The meaning of the make parameter:</title>
    4242
     
    5252    </variablelist>
    5353
    54     <para os="e">To test the results, issue:
     54    <para os="d">To test the results, issue:
    5555    <userinput>make test</userinput>.</para>
    5656
    57     <para os="f">Install the package:</para>
    58 
    59 <screen os="g"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
    60 
    61     <variablelist os="g1">
     57    <para os="e">Install the package:</para>
     58
     59<screen os="f"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen>
     60
     61    <variablelist os="g">
    6262      <title>The meaning of the make parameter:</title>
    6363
     
    7272
    7373    </variablelist>
     74
    7475    <para os="h">Udev's configuration is far from ideal by default, so install
    7576    the configuration files here:</para>
     
    7778<screen os="i"><userinput>cp ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>
    7879
    79     <para os="a">Install the documentation that explains how to create
     80    <para os="j">Install the documentation that explains how to create
    8081    Udev rules:</para>
    8182
    82 <screen os="b"><userinput>install -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    83 
    84     <para os="j">Run the <command>udevstart</command> program to create our full
     83<screen os="k"><userinput>install -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
     84
     85    <para os="l">Run the <command>udevstart</command> program to create our full
    8586    complement of device nodes.</para>
    8687
    87 <screen os="k"><userinput>/sbin/udevstart</userinput></screen>
     88<screen os="m"><userinput>/sbin/udevstart</userinput></screen>
    8889
    8990  </sect2>
  • BOOK/final-system/common/util-linux.xml

    r82fedc4 re0e40d3  
    5151    <title>Installation of Util-linux</title>
    5252
    53     <para os="a">Util-linux fails to compile against newer versions of
     53    <para os="p1">Util-linux fails to compile against newer versions of
    5454    Linux-Libc-Headers. The following patch properly fixes this issue:</para>
    5555
    56 <screen os="b"><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
    57 
    58     <para os="b1">The following patch fixes build issues with GCC 4.x:</para>
    59 
    60 <screen os="b2"><userinput>patch -Np1 -i ../&util-linux-gcc4_fixes-patch;</userinput></screen>
    61 
    62     <para os="c">Prepare Util-linux for compilation:</para>
    63 
    64 <screen><userinput>./configure</userinput></screen>
    65 
    66     <para os="d">Compile the package:</para>
    67 
    68 <screen os="e"><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen>
    69 
    70     <variablelist os="f">
     56<screen os="p2"><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
     57
     58    <para os="p3">The following patch fixes build issues with GCC 4.x:</para>
     59
     60<screen os="p4"><userinput>patch -Np1 -i ../&util-linux-gcc4_fixes-patch;</userinput></screen>
     61
     62    <para os="a">Prepare Util-linux for compilation:</para>
     63
     64<screen os="b"><userinput>./configure</userinput></screen>
     65
     66    <para os="c">Compile the package:</para>
     67
     68<screen os="d"><userinput>make HAVE_KILL=yes HAVE_SLN=yes</userinput></screen>
     69
     70    <variablelist os="e">
    7171      <title>The meaning of the make parameters:</title>
    7272
    73       <varlistentry os="fa">
     73      <varlistentry os="e1">
    7474        <term><parameter>HAVE_KILL=yes</parameter></term>
    7575        <listitem>
     
    7979      </varlistentry>
    8080
    81       <varlistentry os="fb">
     81      <varlistentry os="e2">
    8282        <term><parameter>HAVE_SLN=yes</parameter></term>
    8383        <listitem>
     
    9090    </variablelist>
    9191
    92     <para os="g">This package does not come with a test suite.</para>
    93 
    94     <para os="h">Install the package and move the <command>logger</command> binary
     92    <para os="f">This package does not come with a test suite.</para>
     93
     94    <para os="g">Install the package and move the <command>logger</command> binary
    9595    to <filename class="directory">/bin</filename> as it is needed by the
    9696    LFS-Bootscripts package:</para>
    9797
    98 <screen os="i"><userinput>make HAVE_KILL=yes HAVE_SLN=yes install
     98<screen os="h"><userinput>make HAVE_KILL=yes HAVE_SLN=yes install
    9999mv /usr/bin/logger /bin</userinput></screen>
    100100
  • BOOK/final-system/common/vim.xml

    r82fedc4 re0e40d3  
    5151<screen os="b"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
    5252
    53     <para os="e">Prepare Vim for compilation:</para>
    54 
    55 <screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
    56 
    57     <variablelist os="f">
     53    <para os="c">Prepare Vim for compilation:</para>
     54
     55<screen os="d"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
     56
     57    <variablelist os="e">
    5858      <title>The meaning of the configure options:</title>
    5959
     
    7272    </variablelist>
    7373
    74     <para os="g">Compile the package:</para>
    75 
    76 <screen os="h"><userinput>make</userinput></screen>
    77 
    78     <para os="i">To test the results, issue: <userinput>make test</userinput>.
     74    <para os="f">Compile the package:</para>
     75
     76<screen os="g"><userinput>make</userinput></screen>
     77
     78    <para os="h">To test the results, issue: <userinput>make test</userinput>.
    7979    However, this test suite outputs a lot of binary data to the
    8080    screen, which can cause issues with the settings of the current terminal.
    8181    This can be resolved by redirecting the output to a log file.</para>
    8282
    83     <para os="j">Install the package:</para>
    84 
    85 <screen os="k"><userinput>make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen>
    86 
    87     <variablelist os="k1">
     83    <para os="i">Install the package:</para>
     84
     85<screen os="j"><userinput>make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen>
     86
     87    <variablelist os="k">
    8888      <title>The meaning of the make option:</title>
    8989
  • BOOK/final-system/common/zlib.xml

    r82fedc4 re0e40d3  
    4545    <para os="b">Prepare Zlib for compilation:</para>
    4646
    47 <screen><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
     47<screen os="c"><userinput>./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
    4848
    49     <para os="c">Compile the package:</para>
     49    <para os="d">Compile the package:</para>
    5050
    51 <screen os="d"><userinput>make</userinput></screen>
     51<screen os="e"><userinput>make</userinput></screen>
    5252
    53     <para os="e">To test the results, issue:
     53    <para os="f">To test the results, issue:
    5454    <userinput>make check</userinput>.</para>
    5555
    56     <para os="f">Install the shared library:</para>
     56    <para os="g">Install the shared library:</para>
    5757
    58 <screen os="g"><userinput>make install</userinput></screen>
     58<screen os="h"><userinput>make install</userinput></screen>
    5959
    60     <para os="h">The previous command installed a <filename
     60    <para os="i">The previous command installed a <filename
    6161    class="extension">.so</filename> file in <filename
    6262    class="directory">/lib</filename>. We will remove it and relink it into
    6363    <filename class="directory">/usr/lib</filename>:</para>
    6464
    65 <screen os="i"><userinput>rm /lib/libz.so
     65<screen os="j"><userinput>rm /lib/libz.so
    6666ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
    6767
    68     <para os="j">Build the static library:</para>
     68    <para os="k">Build the static library:</para>
    6969
    70 <screen><userinput>make clean
     70<screen os="l"><userinput>make clean
    7171./configure --prefix=/usr
    7272make</userinput></screen>
    7373
    74     <para os="k">To test the results again, issue:
     74    <para os="m">To test the results again, issue:
    7575    <userinput>make check</userinput>.</para>
    7676
    77     <para os="l">Install the static library:</para>
     77    <para os="n">Install the static library:</para>
    7878
    79 <screen os="m"><userinput>make install</userinput></screen>
     79<screen os="o"><userinput>make install</userinput></screen>
    8080
    81     <para os="n">Fix the permissions on the static library:</para>
     81    <para os="p">Fix the permissions on the static library:</para>
    8282
    83 <screen os="o"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
     83<screen os="q"><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
    8484
    8585  </sect2>
Note: See TracChangeset for help on using the changeset viewer.