e2fsprogs.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-tools-e2fsprogs" role="wrap">
  8. <?dbhtml filename="e2fsprogs.html"?>
  9. <sect1info condition="script">
  10. <productname>e2fsprogs</productname>
  11. <productnumber>&e2fsprogs-version;</productnumber>
  12. <address>&e2fsprogs-url;</address>
  13. </sect1info>
  14. <title>E2fsprogs-&e2fsprogs-version;</title>
  15. <indexterm zone="ch-tools-e2fsprogs">
  16. <primary sortas="a-E2fsprogs">E2fsprogs</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  21. href="../chapter06/e2fsprogs.xml"
  22. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&e2fsprogs-ch5-sbu;</seg>
  28. <seg>&e2fsprogs-ch5-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of E2fsprogs</title>
  34. <para>The E2fsprogs documentation recommends that the package be built in
  35. a subdirectory of the source tree: </para>
  36. <screen><userinput remap="pre">mkdir -v build
  37. cd build</userinput></screen>
  38. <para>Prepare E2fsprogs for compilation:</para>
  39. <screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
  40. <variablelist>
  41. <title>The meaning of the new configure option:</title>
  42. <varlistentry>
  43. <term><parameter>--disable-libblkid</parameter></term>
  44. <listitem>
  45. <para>This prevents E2fsprogs from building its own copy of the
  46. libblkid library, which Util-Linux-NG provides.</para>
  47. </listitem>
  48. </varlistentry>
  49. <varlistentry>
  50. <term><parameter>--disable-libuuid</parameter></term>
  51. <listitem>
  52. <para>This prevents E2fsprogs from building its own copy of the
  53. libuuid library, which Util-Linux-NG provides.</para>
  54. </listitem>
  55. </varlistentry>
  56. </variablelist>
  57. <para>Compile the package:</para>
  58. <screen><userinput remap="make">make</userinput></screen>
  59. <para>Install the static libraries and headers required by Util-linux:</para>
  60. <screen><userinput remap="install">make install-libs</userinput></screen>
  61. <para>Make the installed static libraries writable so debugging symbols can
  62. be removed later:</para>
  63. <screen><userinput remap="install">chmod -v u+w \
  64. /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
  65. </sect2>
  66. <sect2 role="content">
  67. <title/>
  68. <para>Details on this package are located in
  69. <xref linkend="contents-e2fsprogs" role="."/></para>
  70. </sect2>
  71. </sect1>