source: chapter05/util-linux.xml@ 9c9d585

Last change on this file since 9c9d585 was 1375d26, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter05/*.xml) RELAX NG validation fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xi="http://www.w3.org/2003/XInclude"
8 xml:id="ch-tools-util-linux" role="wrap">
9<title>Util-linux-&util-linux-version;</title>
10<?dbhtml filename="util-linux.html"?>
11
12<indexterm zone="ch-tools-util-linux">
13<primary sortas="a-Util-linux">Util-linux</primary>
14<secondary>tools</secondary></indexterm>
15
16<section role="package"><title/>
17<xi:include href="../chapter06/util-linux.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.2 SBU</seg><seg>16 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include href="../chapter06/util-linux.xml" xpointer="xpointer(/*[1]/*[3]/*[4])"/>
26
27</section>
28
29<section role="installation">
30<title>Installation of Util-linux</title>
31
32<para>Util-linux doesn't use the freshly installed headers and libraries
33from the <filename class="directory">/tools</filename> directory. This is fixed by altering the configure
34script:</para>
35
36<screen><userinput>sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>
37
38<para>Prepare Util-linux for compilation:</para>
39
40<screen><userinput>./configure</userinput></screen>
41
42<para>Compile some support routines:</para>
43
44<screen><userinput>make -C lib</userinput></screen>
45
46<para>Since you'll only need a couple of the utilities contained in
47this package, build just those:</para>
48
49<screen><userinput>make -C mount mount umount
50make -C text-utils more</userinput></screen>
51
52<para>Now copy these programs to the temporary tools directory:</para>
53
54<screen><userinput>cp mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
55
56</section>
57
58<section role="content"><title/>
59<para>The details on this package are found in <xref linkend="contents-utillinux"/>.</para>
60</section>
61</section>
Note: See TracBrowser for help on using the repository browser.