util-linux.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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-util-linux" role="wrap">
  8. <?dbhtml filename="util-linux.html"?>
  9. <title>Util-linux-&util-linux-version;</title>
  10. <indexterm zone="ch-tools-util-linux">
  11. <primary sortas="a-Util-linux">Util-linux</primary>
  12. <secondary>tools</secondary>
  13. </indexterm>
  14. <sect2 role="package">
  15. <title/>
  16. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  17. href="../chapter06/util-linux.xml"
  18. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  19. <segmentedlist>
  20. <segtitle>&buildtime;</segtitle>
  21. <segtitle>&diskspace;</segtitle>
  22. <seglistitem>
  23. <seg>&util-linux-ch5-sbu;</seg>
  24. <seg>&util-linux-ch5-du;</seg>
  25. </seglistitem>
  26. </segmentedlist>
  27. </sect2>
  28. <sect2 role="installation">
  29. <title>Installation of Util-linux</title>
  30. <para>Util-linux does not use the freshly installed headers and libraries
  31. from the <filename class="directory">/tools</filename> directory by default.
  32. This is fixed by altering the configure script:</para>
  33. <screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
  34. <para>Prepare Util-linux for compilation:</para>
  35. <screen><userinput>./configure</userinput></screen>
  36. <para>Compile some support routines:</para>
  37. <screen><userinput>make -C lib</userinput></screen>
  38. <para>Only a few of the utilities contained in this package need to be
  39. built:</para>
  40. <screen><userinput>make -C mount mount umount
  41. make -C text-utils more</userinput></screen>
  42. <para>This package does not come with a test suite.</para>
  43. <para>Copy these programs to the temporary tools directory:</para>
  44. <screen><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
  45. </sect2>
  46. <sect2 role="content">
  47. <title/>
  48. <para>Details on this package are located in
  49. <xref linkend="contents-utillinux" role="."/></para>
  50. </sect2>
  51. </sect1>