source: BOOK/boot/multilib/util-linux.xml@ 8d741b2

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8d741b2 was 0d11714, checked in by William Harrington <kb0iic@…>, 11 years ago

For hosts with pkg-config installed, fix an issue where the host's pkg-config is ran and causes util-linux to fail to configure and build properly, and set PKG_CONFIG= at configure time.

  • Property mode set to 100644
File size: 1.9 KB
Line 
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-boot-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
10
11 <title>Util-linux-&util-linux-version;</title>
12
13 <indexterm zone="ch-boot-util-linux">
14 <primary sortas="a-Util-linux">Util-linux</primary>
15 <secondary>boot</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="../common/util-linux.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29<screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure \
30 --prefix=/tools --exec-prefix="" --build=${CLFS_HOST} \
31 --host=${CLFS_TARGET} --libdir=/tools/lib64 --bindir=/tools/bin \
32 --sbindir=/tools/sbin --disable-makeinstall-chown --disable-login \
33 --disable-su</userinput></screen>
34
35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
36 href="../common/util-linux.xml"
37 xpointer="xpointer(//*[@os='d'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
40 href="../common/util-linux.xml"
41 xpointer="xpointer(//*[@os='e'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
44 href="../common/util-linux.xml"
45 xpointer="xpointer(//*[@os='g'])"/>
46
47<screen os="h"><userinput>make usrsbin_execdir=/tools/sbin usrbin_execdir=/tools/bin install</userinput></screen>
48
49 </sect2>
50
51 <sect2 role="content">
52 <title/>
53
54 <para>Details on this package are located in <xref
55 linkend="contents-util-linux" role="."/></para>
56
57 </sect2>
58
59</sect1>
Note: See TracBrowser for help on using the repository browser.