diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
commit | 73aedd1d35747ff2fad4ddf514dca810721a612a (patch) | |
tree | d05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/e2fsprogs.xml | |
parent | 0b400add2ba87352e955326bcb931e53864cc2ae (diff) |
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/e2fsprogs.xml')
-rw-r--r-- | chapter06/e2fsprogs.xml | 57 |
1 files changed, 56 insertions, 1 deletions
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 412e99fe6..d9ff51cb9 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -7,6 +7,61 @@ Estimated required disk space: &e2fsprogs-compsize;</screen> &aa-e2fsprogs-shortdesc; &aa-e2fsprogs-dep; -&c6-e2fsprogs-inst; + +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>Installation of E2fsprogs</title> + +<para>It is recommended to build E2fsprogs outside of the +source tree:</para> + +<screen><userinput>mkdir ../e2fsprogs-build +cd ../e2fsprogs-build</userinput></screen> + +<para>Prepare E2fsprogs for compilation:</para> + +<screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \ + --enable-elf-shlibs</userinput></screen> + +<para>The meaning of the configure options:</para> + +<itemizedlist> +<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 +the shared libraries which some programs in this package make use +of.</para></listitem> +</itemizedlist> + +<para>Compile the package:</para> + +<screen><userinput>make</userinput></screen> + +<para>This package has a test suite available which can perform a number of +checks to ensure it built correctly. Should you choose to run it, the +following command will do so:</para> + +<screen><userinput>make check</userinput></screen> + +<para>Install most of the package:</para> + +<screen><userinput>make install</userinput></screen> + +<para>And install also the shared libraries:</para> + +<screen><userinput>make install-libs</userinput></screen> + +</sect2> + </sect1> + |