cvs commit: LFS/BOOK/chapter06 config-glibc.xml config-shadowpwd.xml config-sysklogd.xml config-sysvinit.xml config-vim.xml configure.xml e2fsprogs-inst.xml lilo-inst.xml patch-inst.xml shadowpwd-inst.xml shadowpwd.xml sysklogd.xml sysvinit.xml tar-inst.xml vim.xml config-ldso.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Mon Jan 27 17:17:02 PST 2003


gerard      03/01/27 20:17:02

  Modified:    BOOK/chapter06 config-glibc.xml config-shadowpwd.xml
                        config-sysklogd.xml config-sysvinit.xml
                        config-vim.xml configure.xml e2fsprogs-inst.xml
                        lilo-inst.xml patch-inst.xml shadowpwd-inst.xml
                        shadowpwd.xml sysklogd.xml sysvinit.xml
                        tar-inst.xml vim.xml
  Removed:     BOOK/chapter06 config-ldso.xml
  Log:
  QA Chap6 part2
  
  Revision  Changes    Path
  1.17      +33 -0     LFS/BOOK/chapter06/config-glibc.xml
  
  Index: config-glibc.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/config-glibc.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- config-glibc.xml	1 Jan 2003 23:05:27 -0000	1.16
  +++ config-glibc.xml	28 Jan 2003 01:17:02 -0000	1.17
  @@ -55,3 +55,36 @@
   
   </sect2>
   
  +<sect2><title> </title><para> </para></sect2>
  +
  +<sect2>
  +<title>Configuring Dynamic Loader</title>
  +
  +<para>By default, the dynamic loader
  +(<filename>/lib/ld-linux.so.2</filename>) searches through <filename
  +class="directory">/lib</filename> and <filename
  +class="directory">/usr/lib</filename> for dynamic libraries that are needed
  +by programs when you run them. However, if there are libraries in
  +directories other than <filename class="directory">/lib</filename> and
  +<filename class="directory">/usr/lib</filename>, you need to add them to
  +the <filename>/etc/ld.so.conf</filename> file for the dynamic
  +loader to find them. Two directories that are commonly known to contain
  +additional libraries are <filename
  +class="directory">/usr/local/lib</filename> and <filename
  +class="directory">/opt/lib</filename>, so we add those directories to the
  +dynamic loader's search path.</para>
  +
  +<para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
  +following:</para>
  +
  +<para><screen><userinput>cat > /etc/ld.so.conf << "EOF"</userinput>
  +# Begin /etc/ld.so.conf
  +
  +/usr/local/lib
  +/opt/lib
  +
  +# End /etc/ld.so.conf
  +<userinput>EOF</userinput></screen></para>
  +
  +</sect2>
  +
  
  
  
  1.11      +2 -0      LFS/BOOK/chapter06/config-shadowpwd.xml
  
  Index: config-shadowpwd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/config-shadowpwd.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- config-shadowpwd.xml	13 Jan 2003 13:26:45 -0000	1.10
  +++ config-shadowpwd.xml	28 Jan 2003 01:17:02 -0000	1.11
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2><title>Configuring Shadow Password Suite</title>
   
   <para>This package contains utilities to modify users' passwords, add
  
  
  
  1.5       +2 -0      LFS/BOOK/chapter06/config-sysklogd.xml
  
  Index: config-sysklogd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/config-sysklogd.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- config-sysklogd.xml	22 Jul 2001 19:27:12 -0000	1.4
  +++ config-sysklogd.xml	28 Jan 2003 01:17:02 -0000	1.5
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2><title>Configuring Sysklogd</title>
   
   <para>Create a new file <filename>/etc/syslog.conf</filename> by running the
  
  
  
  1.9       +2 -0      LFS/BOOK/chapter06/config-sysvinit.xml
  
  Index: config-sysvinit.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/config-sysvinit.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- config-sysvinit.xml	12 Sep 2002 17:20:08 -0000	1.8
  +++ config-sysvinit.xml	28 Jan 2003 01:17:02 -0000	1.9
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2><title>Configuring Sysvinit</title>
   
   <para>Create a new file <filename>/etc/inittab</filename> by running the
  
  
  
  1.8       +2 -0      LFS/BOOK/chapter06/config-vim.xml
  
  Index: config-vim.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/config-vim.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- config-vim.xml	6 Oct 2002 15:50:25 -0000	1.7
  +++ config-vim.xml	28 Jan 2003 01:17:02 -0000	1.8
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
  +
   <sect2><title>Configuring Vim</title>
   
   <para>By default, vim runs in vi compatible mode. Some people might like this,
  
  
  
  1.6       +3 -9      LFS/BOOK/chapter06/configure.xml
  
  Index: configure.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/configure.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- configure.xml	10 Mar 2002 19:55:10 -0000	1.5
  +++ configure.xml	28 Jan 2003 01:17:02 -0000	1.6
  @@ -1,16 +1,10 @@
   <sect1 id="ch06-configure">
  -<title>Configuring essential software</title>
  +<title>Configuring system components</title>
   <?dbhtml filename="configure.html" dir="chapter06"?>
   
  -<para>Now that all software is installed, all that we need to do to get a few
  -programs running properly is to create their configuration files.</para>
  +<para>Now that all software is installed, all that we need to do is perform
  +a few configuration tasks.</para>
   
  -&c6-cf-vim;
  -&c6-cf-glibc;
  -&c6-cf-ldso;
  -&c6-cf-sysklogd;
  -&c6-cf-shadowpwd;
  -&c6-cf-sysvinit;
   &c6-cf-keyboard;
   &c6-cf-utmp;
   &c6-cf-password;
  
  
  
  1.20      +9 -10     LFS/BOOK/chapter06/e2fsprogs-inst.xml
  
  Index: e2fsprogs-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/e2fsprogs-inst.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- e2fsprogs-inst.xml	19 Jan 2003 15:36:47 -0000	1.19
  +++ e2fsprogs-inst.xml	28 Jan 2003 01:17:02 -0000	1.20
  @@ -4,7 +4,7 @@
   <title>Installation of E2fsprogs</title>
   
   <para>It is recommended to build E2fsprogs outside of the
  -source tree. Create the build directory:</para>
  +source tree:</para>
   
   <para><screen><userinput>mkdir ../e2fsprogs-build &&
   cd ../e2fsprogs-build</userinput></screen></para>
  @@ -18,15 +18,14 @@
   
   <itemizedlist>
   
  -<listitem><para><userinput>--with-root-prefix="":</userinput> This option
  -is used because of the e2fsprogs Makefile. Some programs are essential for
  -system use when, for example, <filename class="directory">/usr</filename>
  -isn't mounted (like the e2fsck program). These  programs and libraries,
  -therefore, belong in directories like <filename
  -class="directory">/lib</filename> and <filename
  -class="directory">/sbin</filename>. If this option isn't passed to
  -E2fsprogs's configure, the programs are placed in the <filename
  -class="directory">/usr</filename> directory, which is not what we
  +<listitem><para><userinput>--with-root-prefix="":</userinput> Certain
  +programs (such as the e2fsck program) are considered essential programs.
  +When, for example, <filename class="directory">/usr</filename> isn't
  +mounted, these essential program have to be available. They belong in
  +directories like <filename class="directory">/lib</filename> and
  +<filename class="directory">/sbin</filename>. If this option isn't passed
  +to E2fsprogs's configure, the programs are placed in the
  +<filename class="directory">/usr</filename> directory, which is not what we
   want.</para></listitem>
   
   <listitem><para><userinput>--enable-elf-shlibs:</userinput> This creates
  
  
  
  1.22      +0 -5      LFS/BOOK/chapter06/lilo-inst.xml
  
  Index: lilo-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/lilo-inst.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- lilo-inst.xml	19 Jan 2003 15:36:47 -0000	1.21
  +++ lilo-inst.xml	28 Jan 2003 01:17:02 -0000	1.22
  @@ -15,11 +15,6 @@
   
   <para><screen><userinput>make install</userinput></screen></para>
   
  -<para>It appears that compilation of this package fails on certain machines
  -when the <emphasis>-g</emphasis> compiler flag is used. If you can't compile
  -Lilo at all, you should try to remove the <emphasis>-g</emphasis> value from
  -the CFLAGS variable in the <filename>Makefile</filename> file.</para>
  -
   <para>At the end of the installation, a message will appear stating that
   <filename>/sbin/lilo</filename> has to be executed. This is pointless because
   the <filename>/etc/lilo.conf</filename> file isn't present yet. We will
  
  
  
  1.11      +1 -2      LFS/BOOK/chapter06/patch-inst.xml
  
  Index: patch-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/patch-inst.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- patch-inst.xml	17 Jan 2003 03:55:35 -0000	1.10
  +++ patch-inst.xml	28 Jan 2003 01:17:02 -0000	1.11
  @@ -5,8 +5,7 @@
   
   <para>Prepare Patch to be compiled:</para>
   
  -<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
  -    ./configure --prefix=/usr</userinput></screen></para>
  +<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen></para>
   
   <para>Continue with compiling the package:</para>
   
  
  
  
  1.38      +2 -2      LFS/BOOK/chapter06/shadowpwd-inst.xml
  
  Index: shadowpwd-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadowpwd-inst.xml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- shadowpwd-inst.xml	17 Jan 2003 04:21:58 -0000	1.37
  +++ shadowpwd-inst.xml	28 Jan 2003 01:17:02 -0000	1.38
  @@ -11,8 +11,8 @@
   
   <para>Prepare Shadow to be compiled:</para>
   
  -<para><screen><userinput>./configure --prefix=/usr \
  -    --libdir=/usr/lib --enable-shared</userinput></screen></para>
  +<para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib \
  +    --enable-shared</userinput></screen></para>
   
   <para>Continue with compiling the package:</para>
   
  
  
  
  1.11      +1 -0      LFS/BOOK/chapter06/shadowpwd.xml
  
  Index: shadowpwd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadowpwd.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- shadowpwd.xml	17 Jan 2003 04:21:58 -0000	1.10
  +++ shadowpwd.xml	28 Jan 2003 01:17:02 -0000	1.11
  @@ -8,5 +8,6 @@
   &aa-shadowpwd-shortdesc;
   &aa-shadowpwd-dep;
   &c6-shadowpwd-inst;
  +&c6-cf-shadowpwd;
   
   </sect1>
  
  
  
  1.10      +1 -0      LFS/BOOK/chapter06/sysklogd.xml
  
  Index: sysklogd.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/sysklogd.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- sysklogd.xml	17 Jan 2003 03:59:37 -0000	1.9
  +++ sysklogd.xml	28 Jan 2003 01:17:02 -0000	1.10
  @@ -8,5 +8,6 @@
   &aa-sysklogd-shortdesc;
   &aa-sysklogd-dep;
   &c6-sysklogd-inst;
  +&c6-cf-sysklogd;
   
   </sect1>
  
  
  
  1.10      +1 -0      LFS/BOOK/chapter06/sysvinit.xml
  
  Index: sysvinit.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/sysvinit.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- sysvinit.xml	17 Jan 2003 04:28:28 -0000	1.9
  +++ sysvinit.xml	28 Jan 2003 01:17:02 -0000	1.10
  @@ -8,5 +8,6 @@
   &aa-sysvinit-shortdesc;
   &aa-sysvinit-dep;
   &c6-sysvinit-inst;
  +&c6-cf-sysvinit;
   
   </sect1>
  
  
  
  1.18      +2 -2      LFS/BOOK/chapter06/tar-inst.xml
  
  Index: tar-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/tar-inst.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- tar-inst.xml	17 Jan 2003 04:00:28 -0000	1.17
  +++ tar-inst.xml	28 Jan 2003 01:17:02 -0000	1.18
  @@ -14,8 +14,8 @@
   
   <para>Prepare Tar to be compiled:</para>
   
  -<para><screen><userinput>./configure --prefix=/usr \
  -    --libexecdir=/usr/bin --bindir=/bin</userinput></screen></para>
  +<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
  +    --libexecdir=/usr/bin</userinput></screen></para>
   
   <para>Continue with compiling the package:</para>
   
  
  
  
  1.11      +1 -0      LFS/BOOK/chapter06/vim.xml
  
  Index: vim.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/vim.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- vim.xml	16 Jan 2003 03:37:28 -0000	1.10
  +++ vim.xml	28 Jan 2003 01:17:02 -0000	1.11
  @@ -9,5 +9,6 @@
   &aa-vim-alt;
   &aa-vim-dep;
   &c6-vim-inst;
  +&c6-cf-vim;
   
   </sect1>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list