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

sysvinit
Last change on this file since c7477f8e was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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