[ba2a6ce0] | 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-temp-system-util-linux" role="wrap">
|
---|
| 9 | <?dbhtml filename="util-linux.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Util-linux-&util-linux-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-temp-system-util-linux">
|
---|
| 14 | <primary sortas="a-Util-linux">Util-linux</primary>
|
---|
| 15 | <secondary>temporary system</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 19 | href="../../final-system/common/util-linux.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Util-linux</title>
|
---|
| 24 |
|
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 26 | href="../../final-system/common/util-linux.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 28 |
|
---|
[f37fe30] | 29 | <screen os="b"><userinput>./configure \
|
---|
[7cd7f99] | 30 | --prefix=/tools \
|
---|
| 31 | --build=${CLFS_HOST} \
|
---|
| 32 | --host=${CLFS_TARGET} \
|
---|
| 33 | --disable-makeinstall-chown \
|
---|
| 34 | --disable-makeinstall-setuid \
|
---|
[a7f7b63] | 35 | --without-python</userinput></screen>
|
---|
[ba2a6ce0] | 36 |
|
---|
| 37 | <variablelist os="c">
|
---|
| 38 | <title>The meaning of the new configure option:</title>
|
---|
| 39 |
|
---|
| 40 | <varlistentry>
|
---|
| 41 | <term><parameter>--disable-makeinstall-chown</parameter></term>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>This prevents Util-linux from trying to perform any
|
---|
| 44 | chown commands when it is installed.</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | </varlistentry>
|
---|
| 47 |
|
---|
[db71344] | 48 | <varlistentry>
|
---|
| 49 | <term><parameter>--disable-makeinstall-setuid</parameter></term>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>This prevents Util-linux from enabling the setuid bit on
|
---|
| 52 | any of its installed programs.</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | </varlistentry>
|
---|
| 55 |
|
---|
[a7f7b63] | 56 | <varlistentry>
|
---|
| 57 | <term><parameter>--without-python</parameter></term>
|
---|
| 58 | <listitem>
|
---|
[e15a6e4] | 59 | <para>This avoids the building of unneeded Python bindings when
|
---|
[a7f7b63] | 60 | Python is installed on the host system.</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </varlistentry>
|
---|
| 63 |
|
---|
[ba2a6ce0] | 64 | </variablelist>
|
---|
| 65 |
|
---|
[c831ac4] | 66 | <para os='s1'>Adjust the Makefile</para>
|
---|
| 67 |
|
---|
| 68 | <screen os="s2"><userinput>sed -i 's/-lncursesw -ltinfo/-lncurses/' Makefile
|
---|
[ed3cec1] | 69 | sed -i 's/LIBNCURSESW/LIBNCURSES/' config.h</userinput></screen>
|
---|
[c831ac4] | 70 |
|
---|
[ba2a6ce0] | 71 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 72 | href="../../final-system/common/util-linux.xml"
|
---|
| 73 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 74 |
|
---|
| 75 | <screen os="e"><userinput>make</userinput></screen>
|
---|
| 76 |
|
---|
| 77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 78 | href="../../final-system/common/util-linux.xml"
|
---|
| 79 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 80 |
|
---|
| 81 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="content">
|
---|
| 86 | <title/>
|
---|
| 87 |
|
---|
| 88 | <para>Details on this package are located in <xref
|
---|
| 89 | linkend="contents-util-linux" role="."/></para>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | </sect1>
|
---|