| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | <sect2><title> </title><para> </para></sect2><sect2><title>Installation of E2fsprogs</title><para>It is recommended to build E2fsprogs outside of thesource tree:</para><para><screen><userinput>mkdir ../e2fsprogs-buildcd ../e2fsprogs-build</userinput></screen></para><para>Prepare E2fsprogs for compilation:</para><para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \    --enable-elf-shlibs</userinput></screen></para><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 program 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><para><screen><userinput>make</userinput></screen></para><para>Test the results:</para><para><screen><userinput>make check</userinput></screen></para><para>Install most of the package:</para><para><screen><userinput>make install</userinput></screen></para><para>And install also the shared libraries:</para><para><screen><userinput>make install-libs</userinput></screen></para></sect2>
 |