e2fsprogs.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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/2003/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>Fix a bug in E2fsprogs that prevents it from building against Util-Linux-NG's copy of <systemitem class="library">libuuid</systemitem>:</para>
  39. <screen><userinput remap="pre">cp -v ../MCONFIG.in{,.orig}
  40. sed -e '82 s/LIBUUID/DEPLIBUUID/' ../MCONFIG.in.orig &gt; ../MCONFIG.in</userinput></screen>
  41. <para>Prepare E2fsprogs for compilation:</para>
  42. <screen><userinput remap="configure">../configure --prefix=/tools --disable-libblkid --disable-libuuid</userinput></screen>
  43. <variablelist>
  44. <title>The meaning of the new configure option:</title>
  45. <varlistentry>
  46. <term><parameter>--disable-libblkid</parameter></term>
  47. <listitem>
  48. <para>This prevents E2fsprogs from building its own copy of the
  49. libblkid library, which Util-Linux-NG provides.</para>
  50. </listitem>
  51. </varlistentry>
  52. <varlistentry>
  53. <term><parameter>--disable-libuuid</parameter></term>
  54. <listitem>
  55. <para>This prevents E2fsprogs from building its own copy of the
  56. libuuid library, which Util-Linux-NG provides.</para>
  57. </listitem>
  58. </varlistentry>
  59. </variablelist>
  60. <para>Compile the package:</para>
  61. <screen><userinput remap="make">make</userinput></screen>
  62. <para>Install the static libraries and headers required by Util-linux-ng:</para>
  63. <screen><userinput remap="install">make install-libs</userinput></screen>
  64. <para>Make the installed static libraries writable so debugging symbols can
  65. be removed later:</para>
  66. <screen><userinput remap="install">chmod -v u+w \
  67. /tools/lib/{libcom_err,libe2p,libext2fs,libss}.a</userinput></screen>
  68. </sect2>
  69. <sect2 role="content">
  70. <title/>
  71. <para>Details on this package are located in
  72. <xref linkend="contents-e2fsprogs" role="."/></para>
  73. </sect2>
  74. </sect1>