Changeset 4f8a3af9


Ignore:
Timestamp:
01/28/2003 01:17:02 AM (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:
6853131
Parents:
7bfad05
Message:

QA Chap6 part2

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

Location:
chapter06
Files:
1 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • chapter06/config-glibc.xml

    r7bfad05 r4f8a3af9  
    5656</sect2>
    5757
     58<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     59
     60<sect2>
     61<title>Configuring Dynamic Loader</title>
     62
     63<para>By default, the dynamic loader
     64(<filename>/lib/ld-linux.so.2</filename>) searches through <filename
     65class="directory">/lib</filename> and <filename
     66class="directory">/usr/lib</filename> for dynamic libraries that are needed
     67by programs when you run them. However, if there are libraries in
     68directories other than <filename class="directory">/lib</filename> and
     69<filename class="directory">/usr/lib</filename>, you need to add them to
     70the <filename>/etc/ld.so.conf</filename> file for the dynamic
     71loader to find them. Two directories that are commonly known to contain
     72additional libraries are <filename
     73class="directory">/usr/local/lib</filename> and <filename
     74class="directory">/opt/lib</filename>, so we add those directories to the
     75dynamic loader's search path.</para>
     76
     77<para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
     78following:</para>
     79
     80<para><screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"</userinput>
     81# Begin /etc/ld.so.conf
     82
     83/usr/local/lib
     84/opt/lib
     85
     86# End /etc/ld.so.conf
     87<userinput>EOF</userinput></screen></para>
     88
     89</sect2>
     90
  • chapter06/config-shadowpwd.xml

    r7bfad05 r4f8a3af9  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2><title>Configuring Shadow Password Suite</title>
    24
  • chapter06/config-sysklogd.xml

    r7bfad05 r4f8a3af9  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2><title>Configuring Sysklogd</title>
    24
  • chapter06/config-sysvinit.xml

    r7bfad05 r4f8a3af9  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2><title>Configuring Sysvinit</title>
    24
  • chapter06/config-vim.xml

    r7bfad05 r4f8a3af9  
     1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
     2
    13<sect2><title>Configuring Vim</title>
    24
  • chapter06/configure.xml

    r7bfad05 r4f8a3af9  
    11<sect1 id="ch06-configure">
    2 <title>Configuring essential software</title>
     2<title>Configuring system components</title>
    33<?dbhtml filename="configure.html" dir="chapter06"?>
    44
    5 <para>Now that all software is installed, all that we need to do to get a few
    6 programs running properly is to create their configuration files.</para>
     5<para>Now that all software is installed, all that we need to do is perform
     6a few configuration tasks.</para>
    77
    8 &c6-cf-vim;
    9 &c6-cf-glibc;
    10 &c6-cf-ldso;
    11 &c6-cf-sysklogd;
    12 &c6-cf-shadowpwd;
    13 &c6-cf-sysvinit;
    148&c6-cf-keyboard;
    159&c6-cf-utmp;
  • chapter06/e2fsprogs-inst.xml

    r7bfad05 r4f8a3af9  
    55
    66<para>It is recommended to build E2fsprogs outside of the
    7 source tree. Create the build directory:</para>
     7source tree:</para>
    88
    99<para><screen><userinput>mkdir ../e2fsprogs-build &amp;&amp;
     
    1919<itemizedlist>
    2020
    21 <listitem><para><userinput>--with-root-prefix="":</userinput> This option
    22 is used because of the e2fsprogs Makefile. Some programs are essential for
    23 system use when, for example, <filename class="directory">/usr</filename>
    24 isn't mounted (like the e2fsck program). These  programs and libraries,
    25 therefore, belong in directories like <filename
    26 class="directory">/lib</filename> and <filename
    27 class="directory">/sbin</filename>. If this option isn't passed to
    28 E2fsprogs's configure, the programs are placed in the <filename
    29 class="directory">/usr</filename> directory, which is not what we
     21<listitem><para><userinput>--with-root-prefix="":</userinput> Certain
     22programs (such as the e2fsck program) are considered essential programs.
     23When, for example, <filename class="directory">/usr</filename> isn't
     24mounted, these essential program have to be available. They belong in
     25directories like <filename class="directory">/lib</filename> and
     26<filename class="directory">/sbin</filename>. If this option isn't passed
     27to E2fsprogs's configure, the programs are placed in the
     28<filename class="directory">/usr</filename> directory, which is not what we
    3029want.</para></listitem>
    3130
  • chapter06/lilo-inst.xml

    r7bfad05 r4f8a3af9  
    1616<para><screen><userinput>make install</userinput></screen></para>
    1717
    18 <para>It appears that compilation of this package fails on certain machines
    19 when the <emphasis>-g</emphasis> compiler flag is used. If you can't compile
    20 Lilo at all, you should try to remove the <emphasis>-g</emphasis> value from
    21 the CFLAGS variable in the <filename>Makefile</filename> file.</para>
    22 
    2318<para>At the end of the installation, a message will appear stating that
    2419<filename>/sbin/lilo</filename> has to be executed. This is pointless because
  • chapter06/patch-inst.xml

    r7bfad05 r4f8a3af9  
    66<para>Prepare Patch to be compiled:</para>
    77
    8 <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
    9 &nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=/usr</userinput></screen></para>
     8<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen></para>
    109
    1110<para>Continue with compiling the package:</para>
  • chapter06/shadowpwd-inst.xml

    r7bfad05 r4f8a3af9  
    1212<para>Prepare Shadow to be compiled:</para>
    1313
    14 <para><screen><userinput>./configure --prefix=/usr \
    15 &nbsp;&nbsp;&nbsp;&nbsp;--libdir=/usr/lib --enable-shared</userinput></screen></para>
     14<para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib \
     15&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared</userinput></screen></para>
    1616
    1717<para>Continue with compiling the package:</para>
  • chapter06/shadowpwd.xml

    r7bfad05 r4f8a3af9  
    99&aa-shadowpwd-dep;
    1010&c6-shadowpwd-inst;
     11&c6-cf-shadowpwd;
    1112
    1213</sect1>
  • chapter06/sysklogd.xml

    r7bfad05 r4f8a3af9  
    99&aa-sysklogd-dep;
    1010&c6-sysklogd-inst;
     11&c6-cf-sysklogd;
    1112
    1213</sect1>
  • chapter06/sysvinit.xml

    r7bfad05 r4f8a3af9  
    99&aa-sysvinit-dep;
    1010&c6-sysvinit-inst;
     11&c6-cf-sysvinit;
    1112
    1213</sect1>
  • chapter06/tar-inst.xml

    r7bfad05 r4f8a3af9  
    1515<para>Prepare Tar to be compiled:</para>
    1616
    17 <para><screen><userinput>./configure --prefix=/usr \
    18 &nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin --bindir=/bin</userinput></screen></para>
     17<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
     18&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin</userinput></screen></para>
    1919
    2020<para>Continue with compiling the package:</para>
  • chapter06/vim.xml

    r7bfad05 r4f8a3af9  
    1010&aa-vim-dep;
    1111&c6-vim-inst;
     12&c6-cf-vim;
    1213
    1314</sect1>
Note: See TracChangeset for help on using the changeset viewer.