source: BOOK/final-system/multilib/pkg-config-lite.xml@ c847e5d

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

Pkg-config should be Pkg-config-lite. It also removes lite- from the pkg-config-lite version entity, and this also lets JHALFS extract the pkg-config commands to generate a proper Makefile. Do not put extra strings in front of versions. Evil.

  • Property mode set to 100644
File size: 2.5 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-system-pkg-config-lite" role="wrap">
9 <?dbhtml filename="pkg-config-lite.html"?>
10
11 <title>Pkg-config-lite-&pkg-config-lite-version;</title>
12
13 <indexterm zone="ch-system-pkg-config-lite">
14 <primary sortas="a-Pkg-config-lite">Pkg-config-lite</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18 href="../common/pkg-config-lite.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Pkg-config-lite</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="../common/pkg-config-lite.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
29 --with-pc-path=/usr/share/pkgconfig</userinput></screen>
30
31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
32 href="../common/pkg-config-lite.xml"
33 xpointer="xpointer(//*[@os='c'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
36 href="../common/pkg-config-lite.xml"
37 xpointer="xpointer(//*[@os='d'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
40 href="../common/pkg-config-lite.xml"
41 xpointer="xpointer(//*[@os='e'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
44 href="../common/pkg-config-lite.xml"
45 xpointer="xpointer(//*[@os='f'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
48 href="../common/pkg-config-lite.xml"
49 xpointer="xpointer(//*[@os='g'])"/>
50
51 <para os="m1">On multilib builds the library direcory has been removed from
52 the default search path of <command>pkg-config</command>. Set some
53 environment variables to help set the path correctly in the future:</para>
54
55<screen os="m2"><userinput>export PKG_CONFIG_PATH32="/usr/lib/pkgconfig"
56export PKG_CONFIG_PATH64="/usr/lib64/pkgconfig"</userinput></screen>
57
58 <para os="m3">Export these variables to prevent any issues in the
59 future.</para>
60
61<screen os="m4"><userinput>cat &gt;&gt; /root/.bash_profile &lt;&lt; EOF
62export PKG_CONFIG_PATH32="${PKG_CONFIG_PATH32}"
63export PKG_CONFIG_PATH64="${PKG_CONFIG_PATH64}"
64EOF</userinput></screen>
65
66 </sect2>
67
68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
69 href="../common/pkg-config-lite.xml"
70 xpointer="xpointer(id('contents-pkg-config-lite'))"/>
71
72</sect1>
Note: See TracBrowser for help on using the repository browser.