Bladeren bron

QA Chap6 part2

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2404 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 jaren geleden
bovenliggende
commit
4f8a3af985

+ 33 - 0
chapter06/config-glibc.xml

@@ -55,3 +55,36 @@ by running:</para>
 
 </sect2>
 
+<sect2><title>&nbsp;</title><para>&nbsp;</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 &gt; /etc/ld.so.conf &lt;&lt; "EOF"</userinput>
+# Begin /etc/ld.so.conf
+
+/usr/local/lib
+/opt/lib
+
+# End /etc/ld.so.conf
+<userinput>EOF</userinput></screen></para>
+
+</sect2>
+

+ 0 - 31
chapter06/config-ldso.xml

@@ -1,31 +0,0 @@
-<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 &gt; /etc/ld.so.conf &lt;&lt; "EOF"</userinput>
-# Begin /etc/ld.so.conf
-
-/usr/local/lib
-/opt/lib
-
-# End /etc/ld.so.conf
-<userinput>EOF</userinput></screen></para>
-
-</sect2>
-

+ 2 - 0
chapter06/config-shadowpwd.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2><title>Configuring Shadow Password Suite</title>
 
 <para>This package contains utilities to modify users' passwords, add

+ 2 - 0
chapter06/config-sysklogd.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2><title>Configuring Sysklogd</title>
 
 <para>Create a new file <filename>/etc/syslog.conf</filename> by running the

+ 2 - 0
chapter06/config-sysvinit.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2><title>Configuring Sysvinit</title>
 
 <para>Create a new file <filename>/etc/inittab</filename> by running the

+ 2 - 0
chapter06/config-vim.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2><title>Configuring Vim</title>
 
 <para>By default, vim runs in vi compatible mode. Some people might like this,

+ 3 - 9
chapter06/configure.xml

@@ -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;

+ 9 - 10
chapter06/e2fsprogs-inst.xml

@@ -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 &amp;&amp;
 cd ../e2fsprogs-build</userinput></screen></para>
@@ -18,15 +18,14 @@ cd ../e2fsprogs-build</userinput></screen></para>
 
 <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

+ 0 - 5
chapter06/lilo-inst.xml

@@ -15,11 +15,6 @@ GRUB, which is available at <ulink url="&hints-root;grub-howto.txt"/>.</para>
 
 <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 - 2
chapter06/patch-inst.xml

@@ -5,8 +5,7 @@
 
 <para>Prepare Patch to be compiled:</para>
 
-<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
-&nbsp;&nbsp;&nbsp;&nbsp;./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>
 

+ 2 - 2
chapter06/shadowpwd-inst.xml

@@ -11,8 +11,8 @@ be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para>
 
 <para>Prepare Shadow to be compiled:</para>
 
-<para><screen><userinput>./configure --prefix=/usr \
-&nbsp;&nbsp;&nbsp;&nbsp;--libdir=/usr/lib --enable-shared</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --libdir=/usr/lib \
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared</userinput></screen></para>
 
 <para>Continue with compiling the package:</para>
 

+ 1 - 0
chapter06/shadowpwd.xml

@@ -8,5 +8,6 @@ Estimated required disk space:  &shadow-compsize;</screen>
 &aa-shadowpwd-shortdesc;
 &aa-shadowpwd-dep;
 &c6-shadowpwd-inst;
+&c6-cf-shadowpwd;
 
 </sect1>

+ 1 - 0
chapter06/sysklogd.xml

@@ -8,5 +8,6 @@ Estimated required disk space:  &sysklogd-compsize;</screen>
 &aa-sysklogd-shortdesc;
 &aa-sysklogd-dep;
 &c6-sysklogd-inst;
+&c6-cf-sysklogd;
 
 </sect1>

+ 1 - 0
chapter06/sysvinit.xml

@@ -8,5 +8,6 @@ Estimated required disk space:  &sysvinit-compsize;</screen>
 &aa-sysvinit-shortdesc;
 &aa-sysvinit-dep;
 &c6-sysvinit-inst;
+&c6-cf-sysvinit;
 
 </sect1>

+ 2 - 2
chapter06/tar-inst.xml

@@ -14,8 +14,8 @@ gzip files.</para>
 
 <para>Prepare Tar to be compiled:</para>
 
-<para><screen><userinput>./configure --prefix=/usr \
-&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin --bindir=/bin</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
+&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin</userinput></screen></para>
 
 <para>Continue with compiling the package:</para>
 

+ 1 - 0
chapter06/vim.xml

@@ -9,5 +9,6 @@ Estimated required disk space:  &vim-compsize;</screen>
 &aa-vim-alt;
 &aa-vim-dep;
 &c6-vim-inst;
+&c6-cf-vim;
 
 </sect1>