util-linux.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-util-linux" role="wrap">
  7. <title>Util-linux-&util-linux-version;</title>
  8. <?dbhtml filename="util-linux.html"?>
  9. <indexterm zone="ch-tools-util-linux">
  10. <primary sortas="a-Util-linux">Util-linux</primary>
  11. <secondary>tools</secondary></indexterm>
  12. <sect2 role="package"><title/>
  13. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/util-linux.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  14. <segmentedlist>
  15. <segtitle>&buildtime;</segtitle>
  16. <segtitle>&diskspace;</segtitle>
  17. <seglistitem><seg>0.2 SBU</seg><seg>8.9 MB</seg></seglistitem>
  18. </segmentedlist>
  19. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/util-linux.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
  20. </sect2>
  21. <sect2 role="installation">
  22. <title>Installation of Util-linux</title>
  23. <para>Util-linux does not use the freshly installed headers and libraries from
  24. the <filename class="directory">/tools</filename> directory by default. This is
  25. fixed by altering the configure script:</para>
  26. <screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
  27. <para>Prepare Util-linux for compilation:</para>
  28. <screen><userinput>./configure</userinput></screen>
  29. <para>Compile some support routines:</para>
  30. <screen><userinput>make -C lib</userinput></screen>
  31. <para>Only a few of the utilities contained in this package need to be
  32. built:</para>
  33. <screen><userinput>make -C mount mount umount
  34. make -C text-utils more</userinput></screen>
  35. <para>This package does not come with a test suite.</para>
  36. <para>Copy these programs to the temporary tools directory:</para>
  37. <screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
  38. </sect2>
  39. <sect2 role="content"><title/>
  40. <para>Details on this package are located in <xref
  41. linkend="contents-utillinux" role="."/></para>
  42. </sect2>
  43. </sect1>