| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 | <sect1 id="ch06-e2fsprogs" xreflabel="E2fsprogs"><title>Installing E2fsprogs-&e2fsprogs-version;</title><?dbhtml filename="e2fsprogs.html" dir="chapter06"?><para>The E2fsprogs package contains the utilities for handling the ext2filesystem. It also supports the ext3 journaling filesystem.</para><screen>Estimated build time:           &e2fsprogs-time;Estimated required disk space:  &e2fsprogs-compsize;</screen>&aa-e2fsprogs-down;&aa-e2fsprogs-dep;<sect2><title> </title><para> </para></sect2><sect2><title>Installation of E2fsprogs</title><para>It is recommended to build E2fsprogs outside of thesource tree:</para><screen><userinput>mkdir ../e2fsprogs-buildcd ../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>: Certainprograms (such as the e2fsck program) are considered essential programs.When, for example, <filename class="directory">/usr</filename> isn'tmounted, these essential programs have to be available. They belong indirectories like <filename class="directory">/lib</filename> and<filename class="directory">/sbin</filename>. If this option isn't passedto E2fsprogs's configure, the programs are placed in the<filename class="directory">/usr</filename> directory, which is not what wewant.</para></listitem><listitem><para><userinput>--enable-elf-shlibs</userinput>: This createsthe shared libraries which some programs in this package make useof.</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 ofchecks 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>&aa-e2fsprogs-shortdesc;&aa-e2fsprogs-desc;</sect1>
 |