lfs-utils.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <sect1 id="ch06-lfs-utils">
  2. <title>Installing Lfs-Utils-&lfs-utils-version;</title>
  3. <?dbhtml filename="lfs-utils.html" dir="chapter06"?>
  4. <screen>Estimated build time: &lfs-utils-time;
  5. Estimated required disk space: &lfs-utils-compsize;</screen>
  6. &aa-lfs-utils-shortdesc;
  7. &aa-lfs-utils-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Lfs-Utils</title>
  11. <para>Prepare Lfs-Utils for compilation:</para>
  12. <screen><userinput>./configure --prefix=/usr --with-libc</userinput></screen>
  13. <para>The meaning of the configure option:</para>
  14. <itemizedlist>
  15. <listitem><para><userinput>--with-libc</userinput>: This causes the
  16. <filename>mktemp</filename> program to use the <emphasis>mkstemp</emphasis>
  17. and <emphasis>mkdtemp</emphasis> functions from the system C
  18. library.</para></listitem>
  19. </itemizedlist>
  20. <para>Compile the package:</para>
  21. <screen><userinput>make</userinput></screen>
  22. <para>And install it:</para>
  23. <screen><userinput>make install</userinput></screen>
  24. <para>Now copy two supporting files included in the Lfs-Utils tarball to
  25. their destination:</para>
  26. <screen><userinput>cp etc/{services,protocols} /etc</userinput></screen>
  27. <para>The <filename>/etc/services</filename> file is used to resolve service
  28. numbers to human-readable names, and the <filename>/etc/protocols</filename>
  29. does the same for protocol numbers.</para>
  30. </sect2>
  31. </sect1>