[cb23c1a] | 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 |
|
---|
| 8 | <sect1 id="ch-tools-util-linux" role="wrap">
|
---|
| 9 | <?dbhtml filename="util-linux.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>util-linux</productname>
|
---|
| 13 | <productnumber>&util-linux-version;</productnumber>
|
---|
| 14 | <address>&util-linux-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Util-linux-&util-linux-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-tools-util-linux">
|
---|
| 20 | <primary sortas="a-Util-linux">Util-linux</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Util-linux package contains miscellaneous utility programs.</para>
|
---|
| 27 |
|
---|
| 28 | <segmentedlist>
|
---|
| 29 | <segtitle>&buildtime;</segtitle>
|
---|
| 30 | <segtitle>&diskspace;</segtitle>
|
---|
| 31 |
|
---|
| 32 | <seglistitem>
|
---|
| 33 | <seg>&util-linux-ch5-sbu;</seg>
|
---|
| 34 | <seg>&util-linux-ch5-du;</seg>
|
---|
| 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
| 37 |
|
---|
| 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Util-linux</title>
|
---|
| 42 |
|
---|
| 43 | <para>Prepare Util-linux for compilation:</para>
|
---|
| 44 |
|
---|
[8ad94ab] | 45 | <screen><userinput remap="configure">./configure --prefix=/tools \
|
---|
| 46 | --disable-makeinstall-chown \
|
---|
| 47 | --without-systemdsystemunitdir \
|
---|
| 48 | PKG_CONFIG=""</userinput></screen>
|
---|
[cb23c1a] | 49 |
|
---|
| 50 | <variablelist>
|
---|
| 51 | <title>The meaning of the configure option:</title>
|
---|
| 52 |
|
---|
| 53 | <varlistentry>
|
---|
| 54 | <term><parameter>--disable-makeinstall-chown</parameter></term>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>This switch disables using the <command>chown</command> command
|
---|
| 57 | during installation. This is not needed when installing into the
|
---|
| 58 | /tools directory and avoids the necessity of installing as
|
---|
| 59 | root.</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </varlistentry>
|
---|
[71e0f49] | 62 |
|
---|
| 63 | <varlistentry>
|
---|
| 64 | <term><parameter>--without-systemdsystemunitdir</parameter></term>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>On systems that use systemd, the package tries to install
|
---|
| 67 | a systemd specific file to a non-existent directory in /tools.
|
---|
| 68 | This switch disables the unnecessary action.</para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </varlistentry>
|
---|
[8ad94ab] | 71 |
|
---|
| 72 | <varlistentry>
|
---|
| 73 | <term><envar>PKG_CONFIG=""</envar></term>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>Setting this envronment variable prevents adding unneeded
|
---|
| 76 | features that may be available on the host.</para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </varlistentry>
|
---|
[cb23c1a] | 79 | </variablelist>
|
---|
| 80 |
|
---|
| 81 | <para>Compile the package:</para>
|
---|
| 82 |
|
---|
| 83 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | <para>Install the package:</para>
|
---|
| 86 |
|
---|
| 87 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | </sect1>
|
---|