mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
0fd81b913b
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4711 af4574ff-66df-0310-9fd7-8a98e5e911e0
137 lines
4.6 KiB
XML
137 lines
4.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkgconfig-&pkgconfig-version;.tar.gz">
|
|
<!ENTITY pkgconfig-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pkgconfig/&pkgconfig-version;/pkgconfig-&pkgconfig-version;.tar.gz">
|
|
<!-- <!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">-->
|
|
<!ENTITY pkgconfig-md5sum "b20a993728a4df9c366e0582315f7b65">
|
|
<!ENTITY pkgconfig-size "965 KB">
|
|
<!ENTITY pkgconfig-buildsize "10.5 MB">
|
|
<!ENTITY pkgconfig-time "0.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
|
|
<?dbhtml filename="pkgconfig.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Pkgconfig-&pkgconfig-version;</title>
|
|
|
|
<indexterm zone="pkgconfig">
|
|
<primary sortas="a-Pkgconfig">Pkgconfig</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Pkgconfig</title>
|
|
|
|
<para>The <application>pkgconfig</application> package contains
|
|
tools for passing the include path and/or library paths to build tools during
|
|
the <command>make</command> file execution.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &pkgconfig-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &pkgconfig-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &pkgconfig-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &pkgconfig-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Pkgconfig</title>
|
|
|
|
<note>
|
|
<para>These instructions back port the bug fix from
|
|
<application>pkg-config</application>-0.18.1. The 0.18.1 version
|
|
incorporates name changes that are, perhaps, to be reverted. If you
|
|
prefer to use 0.18.1, you should not run the <command>sed</command> command
|
|
and you must add <filename class="directory">/usr/lib/pkgconfig</filename>
|
|
to your <envar>PKG_CONFIG_PATH</envar>.</para>
|
|
</note>
|
|
|
|
<para>Install <application>pkgconfig</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>sed -i 's:pkg_failed=yes]):&\nelse:' pkg.m4 &&
|
|
./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring Pkgconfig</title>
|
|
|
|
<para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
|
|
<filename>/usr/lib/pkgconfig</filename> because of the prefix used to
|
|
install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
|
|
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>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<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"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<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>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|