e2fsprogs.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <sect1 id="ch06-e2fsprogs">
  2. <title>Installing E2fsprogs-&e2fsprogs-version;</title>
  3. <?dbhtml filename="e2fsprogs.html" dir="chapter06"?>
  4. <screen>Estimated build time: &e2fsprogs-time;
  5. Estimated required disk space: &e2fsprogs-compsize;</screen>
  6. &aa-e2fsprogs-shortdesc;
  7. &aa-e2fsprogs-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of E2fsprogs</title>
  11. <para>It is recommended to build E2fsprogs outside of the
  12. source tree:</para>
  13. <screen><userinput>mkdir ../e2fsprogs-build
  14. cd ../e2fsprogs-build</userinput></screen>
  15. <para>Prepare E2fsprogs for compilation:</para>
  16. <screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
  17. &nbsp;&nbsp;&nbsp;&nbsp;--enable-elf-shlibs</userinput></screen>
  18. <para>The meaning of the configure options:</para>
  19. <itemizedlist>
  20. <listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
  21. programs (such as the e2fsck program) are considered essential programs.
  22. When, for example, <filename class="directory">/usr</filename> isn't
  23. mounted, these essential program have to be available. They belong in
  24. directories like <filename class="directory">/lib</filename> and
  25. <filename class="directory">/sbin</filename>. If this option isn't passed
  26. to E2fsprogs's configure, the programs are placed in the
  27. <filename class="directory">/usr</filename> directory, which is not what we
  28. want.</para></listitem>
  29. <listitem><para><userinput>--enable-elf-shlibs</userinput>: This creates
  30. the shared libraries which some programs in this package make use
  31. of.</para></listitem>
  32. </itemizedlist>
  33. <para>Compile the package:</para>
  34. <screen><userinput>make</userinput></screen>
  35. <para>This package has a test suite available which can perform a number of
  36. checks to ensure it built correctly. Should you choose to run it, the
  37. following command will do so:</para>
  38. <screen><userinput>make check</userinput></screen>
  39. <para>Install most of the package:</para>
  40. <screen><userinput>make install</userinput></screen>
  41. <para>And install also the shared libraries:</para>
  42. <screen><userinput>make install-libs</userinput></screen>
  43. </sect2>
  44. </sect1>