<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-system-pkg-config-lite" role="wrap">
  <?dbhtml filename="pkg-config-lite.html"?>

  <title>Pkg-config-lite-&pkg-config-lite-version;</title>

  <indexterm zone="ch-system-pkg-config-lite">
    <primary sortas="a-Pkg-config-lite">Pkg-config-lite</primary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  href="../common/pkg-config-lite.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of Pkg-config-lite</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='a'])"/>

<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --with-pc-path=/usr/share/pkgconfig</userinput></screen>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='c'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='d'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='e'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='e2'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='f'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="../common/pkg-config-lite.xml"
    xpointer="xpointer(//*[@os='g'])"/>

    <para os="m1">On multilib builds the library direcory has been removed from
    the default search path of <command>pkg-config</command>. Set some
    environment variables to help set the path correctly in the future:</para>

<screen os="m2"><userinput>export PKG_CONFIG_PATH32="/usr/lib/pkgconfig"
export PKG_CONFIG_PATH64="/usr/lib64/pkgconfig"</userinput></screen>

    <para os="m3">Export these variables to prevent any issues in the
    future.</para>

<screen os="m4"><userinput>cat &gt;&gt; /root/.bash_profile &lt;&lt; EOF
export PKG_CONFIG_PATH32="${PKG_CONFIG_PATH32}"
export PKG_CONFIG_PATH64="${PKG_CONFIG_PATH64}"
EOF</userinput></screen>

  </sect2>

  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  href="../common/pkg-config-lite.xml"
  xpointer="xpointer(id('contents-pkg-config-lite'))"/>

</sect1>
