2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-04-13 11:58:41 +08:00
|
|
|
<!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkgconfig-&pkgconfig-version;.tar.gz">
|
2004-12-22 09:00:40 +08:00
|
|
|
<!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">
|
2005-04-15 02:23:36 +08:00
|
|
|
<!ENTITY pkgconfig-md5sum "a0829ae71b586e027183b2a1cfe0ce88">
|
|
|
|
<!ENTITY pkgconfig-size "965 KB">
|
2005-04-13 11:58:41 +08:00
|
|
|
<!ENTITY pkgconfig-buildsize "10.7 MB">
|
2005-04-15 02:23:36 +08:00
|
|
|
<!ENTITY pkgconfig-time "0.31 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
<sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 09:51:44 +08:00
|
|
|
<?dbhtml filename="pkgconfig.html"?>
|
2004-12-22 09:00:40 +08:00
|
|
|
<title><application>pkgconfig</application>-&pkgconfig-version;</title>
|
2005-03-22 12:00:57 +08:00
|
|
|
<indexterm zone="pkgconfig">
|
|
|
|
<primary sortas="a-Pkgconfig">Pkgconfig</primary></indexterm>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>pkgconfig</application></title>
|
2004-07-24 15:00:19 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<para>The <application>pkgconfig</application> package contains
|
|
|
|
tools for passing the include path and/or library paths to build tools during
|
2004-07-24 15:00:19 +08:00
|
|
|
the <command>make</command> file execution.</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2004-12-22 09:00:40 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&pkgconfig-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&pkgconfig-download-ftp;"/></para></listitem>
|
2005-02-08 10:34:15 +08:00
|
|
|
<listitem><para>Download MD5 sum: &pkgconfig-md5sum;</para></listitem>
|
2004-06-13 06:56:28 +08:00
|
|
|
<listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
2004-12-22 09:00:40 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&pkgconfig-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&pkgconfig-time;</para></listitem></itemizedlist>
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect3>
|
2004-07-24 15:00:19 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>pkgconfig</application></title>
|
2004-07-24 15:00:19 +08:00
|
|
|
|
|
|
|
<para>Install <application>pkgconfig</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
2005-03-22 12:00:57 +08:00
|
|
|
make</command></userinput></screen>
|
|
|
|
|
2005-04-05 06:51:21 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
|
2005-03-22 12:00:57 +08:00
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
2004-07-24 15:00:19 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>pkgconfig</application></title>
|
2004-07-24 15:00:19 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
<para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
2004-12-22 09:00:40 +08:00
|
|
|
<filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
2004-06-13 06:56:28 +08:00
|
|
|
install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
2004-07-24 15:00:19 +08:00
|
|
|
additional paths on your system where <application>pkgconfig</application>
|
|
|
|
files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
|
|
|
when compiling packages, not during run-time.</para>
|
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2004-07-24 15:00:19 +08:00
|
|
|
|
2005-03-22 12:00:57 +08:00
|
|
|
<segmentedlist>
|
2005-03-28 03:53:38 +08:00
|
|
|
<segtitle>Installed Program</segtitle>
|
2005-03-22 12:00:57 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>pkg-config</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="pkg-config">
|
|
|
|
<term><command>pkg-config</command></term>
|
|
|
|
<listitem><para>is a function that returns meta information for the specified
|
|
|
|
library.</para>
|
|
|
|
<indexterm zone="pkgconfig pkg-config">
|
|
|
|
<primary sortas="b-pkg-config">pkg-config</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2005-03-28 03:53:38 +08:00
|
|
|
|
2004-06-13 06:56:28 +08:00
|
|
|
</sect2>
|
2005-03-28 03:53:38 +08:00
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
</sect1>
|
|
|
|
|