utillinux-inst.xml 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Util-linux</title>
  4. <para>Util-linux doesn't use the freshly installed headers and libraries from
  5. the /tools directory. This is fixed by altering the configure script:</para>
  6. <para><screen><userinput>cp configure configure.backup
  7. sed "s@/usr/include@/tools/include@g" configure.backup > configure</userinput> </screen></para>
  8. <para>Prepare Util-linux for compilation:</para>
  9. <para><screen><userinput>./configure</userinput></screen></para>
  10. <para>Compile some support routines:</para>
  11. <para><screen><userinput>make -C lib</userinput></screen></para>
  12. <para>And, since you'll need only a couple of the utilities contained in this
  13. package, build just those:</para>
  14. <para><screen><userinput>make -C mount mount umount
  15. make -C text-utils more</userinput></screen></para>
  16. <para>Now copy these programs to the temporary tools directory:</para>
  17. <para><screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen></para>
  18. </sect2>