[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[780aa528] | 7 | <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
[1586494] | 8 | <!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">
|
---|
[7af011c6] | 9 | <!ENTITY pkgconfig-md5sum "a0829ae71b586e027183b2a1cfe0ce88">
|
---|
| 10 | <!ENTITY pkgconfig-size "965 KB">
|
---|
[780aa528] | 11 | <!ENTITY pkgconfig-buildsize "10.7 MB">
|
---|
[7af011c6] | 12 | <!ENTITY pkgconfig-time "0.31 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[7f72cbf] | 20 | <?dbhtml filename="pkgconfig.html"?>
|
---|
[1586494] | 21 | <title><application>pkgconfig</application>-&pkgconfig-version;</title>
|
---|
[cd0d464] | 22 | <indexterm zone="pkgconfig">
|
---|
| 23 | <primary sortas="a-Pkgconfig">Pkgconfig</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>pkgconfig</application></title>
|
---|
[82bc335] | 27 |
|
---|
[52d29f7] | 28 | <para>The <application>pkgconfig</application> package contains
|
---|
| 29 | tools for passing the include path and/or library paths to build tools during
|
---|
[82bc335] | 30 | the <command>make</command> file execution.</para>
|
---|
| 31 |
|
---|
[52d29f7] | 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
[1586494] | 34 | <listitem><para>Download (HTTP):
|
---|
| 35 | <ulink url="&pkgconfig-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP):
|
---|
| 37 | <ulink url="&pkgconfig-download-ftp;"/></para></listitem>
|
---|
[a31d341d] | 38 | <listitem><para>Download MD5 sum: &pkgconfig-md5sum;</para></listitem>
|
---|
[52d29f7] | 39 | <listitem><para>Download size: &pkgconfig-size;</para></listitem>
|
---|
[1586494] | 40 | <listitem><para>Estimated disk space required:
|
---|
| 41 | &pkgconfig-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &pkgconfig-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 44 | </sect3>
|
---|
[82bc335] | 45 |
|
---|
[52d29f7] | 46 | </sect2>
|
---|
| 47 |
|
---|
| 48 | <sect2>
|
---|
| 49 | <title>Installation of <application>pkgconfig</application></title>
|
---|
[82bc335] | 50 |
|
---|
| 51 | <para>Install <application>pkgconfig</application> by running the following
|
---|
| 52 | commands:</para>
|
---|
| 53 |
|
---|
[52d29f7] | 54 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[cd0d464] | 55 | make</command></userinput></screen>
|
---|
| 56 |
|
---|
[7a9d769] | 57 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 58 |
|
---|
[cd0d464] | 59 | <para>Now, as the root user:</para>
|
---|
| 60 |
|
---|
| 61 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[82bc335] | 62 |
|
---|
[52d29f7] | 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2>
|
---|
| 66 | <title>Configuring <application>pkgconfig</application></title>
|
---|
[82bc335] | 67 |
|
---|
[52d29f7] | 68 | <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
---|
[1586494] | 69 | <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
---|
[52d29f7] | 70 | install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
---|
[82bc335] | 71 | additional paths on your system where <application>pkgconfig</application>
|
---|
| 72 | files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
|
---|
| 73 | when compiling packages, not during run-time.</para>
|
---|
| 74 |
|
---|
[52d29f7] | 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2>
|
---|
| 78 | <title>Contents</title>
|
---|
[82bc335] | 79 |
|
---|
[cd0d464] | 80 | <segmentedlist>
|
---|
[7188fe3e] | 81 | <segtitle>Installed Program</segtitle>
|
---|
[cd0d464] | 82 | <segtitle>Installed Libraries</segtitle>
|
---|
| 83 | <segtitle>Installed Directories</segtitle>
|
---|
| 84 |
|
---|
| 85 | <seglistitem>
|
---|
| 86 | <seg>pkg-config</seg>
|
---|
| 87 | <seg>None</seg>
|
---|
| 88 | <seg>None</seg>
|
---|
| 89 | </seglistitem>
|
---|
| 90 | </segmentedlist>
|
---|
| 91 |
|
---|
| 92 | <variablelist>
|
---|
| 93 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 94 | <?dbfo list-presentation="list"?>
|
---|
| 95 |
|
---|
| 96 | <varlistentry id="pkg-config">
|
---|
| 97 | <term><command>pkg-config</command></term>
|
---|
| 98 | <listitem><para>is a function that returns meta information for the specified
|
---|
| 99 | library.</para>
|
---|
| 100 | <indexterm zone="pkgconfig pkg-config">
|
---|
| 101 | <primary sortas="b-pkg-config">pkg-config</primary>
|
---|
| 102 | </indexterm></listitem>
|
---|
| 103 | </varlistentry>
|
---|
| 104 | </variablelist>
|
---|
[7188fe3e] | 105 |
|
---|
[52d29f7] | 106 | </sect2>
|
---|
[7188fe3e] | 107 |
|
---|
[f45b1953] | 108 | </sect1>
|
---|
| 109 |
|
---|