e2fsprogs-inst.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of E2fsprogs</title>
  4. <para>It is recommended to build E2fsprogs outside of the
  5. source tree:</para>
  6. <para><screen><userinput>mkdir ../e2fsprogs-build
  7. cd ../e2fsprogs-build</userinput></screen></para>
  8. <para>Prepare E2fsprogs to be compiled:</para>
  9. <para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
  10. &nbsp;&nbsp;&nbsp;&nbsp;--enable-elf-shlibs</userinput></screen></para>
  11. <para>The meaning of the configure options are:</para>
  12. <itemizedlist>
  13. <listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
  14. programs (such as the e2fsck program) are considered essential programs.
  15. When, for example, <filename class="directory">/usr</filename> isn't
  16. mounted, these essential program have to be available. They belong in
  17. directories like <filename class="directory">/lib</filename> and
  18. <filename class="directory">/sbin</filename>. If this option isn't passed
  19. to E2fsprogs's configure, the programs are placed in the
  20. <filename class="directory">/usr</filename> directory, which is not what we
  21. want.</para></listitem>
  22. <listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
  23. the shared libraries which some programs in this package make use
  24. of.</para></listitem>
  25. </itemizedlist>
  26. <para>Continue with compiling the package:</para>
  27. <para><screen><userinput>make</userinput></screen></para>
  28. <para><screen><userinput>make check</userinput></screen></para>
  29. <para>Begin installing the package:</para>
  30. <para><screen><userinput>make install</userinput></screen></para>
  31. <para>Install the shared libraries:</para>
  32. <para><screen><userinput>make install-libs</userinput></screen></para>
  33. </sect2>