mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
3f2db3a638
They only contain a date tag that is nowhere used.
184 lines
5.1 KiB
XML
184 lines
5.1 KiB
XML
<?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;
|
|
|
|
<!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkg-config-&pkgconfig-version;.tar.gz">
|
|
<!ENTITY pkgconfig-download-ftp "">
|
|
<!ENTITY pkgconfig-md5sum "aa3c86e67551adc3ac865160e34a2a0d">
|
|
<!ENTITY pkgconfig-size "1.9 MB">
|
|
<!ENTITY pkgconfig-buildsize "30 MB">
|
|
<!ENTITY pkgconfig-time "0.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="pkgconfig" xreflabel="pkg-config-&pkgconfig-version;">
|
|
<?dbhtml filename="pkgconfig.html"?>
|
|
|
|
|
|
<title>pkg-config-&pkgconfig-version;</title>
|
|
|
|
<indexterm zone="pkgconfig">
|
|
<primary sortas="a-pkg-config">pkg-config</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to pkg-config</title>
|
|
|
|
<para>
|
|
The <application>pkg-config</application> package contains a tool for
|
|
passing the include path and/or library paths to build tools during the
|
|
<command>configure</command> and <command>make</command> file execution.
|
|
</para>
|
|
|
|
&lfs74_checked;
|
|
|
|
<note>
|
|
<para>
|
|
Pkg-config is part of LFS, but was omitted from the 7.0 and 7.1
|
|
releases. If you are using a system which includes it, there is
|
|
nothing more to do. If not, you should follow these instructions.
|
|
</para>
|
|
</note>
|
|
|
|
<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>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/pkgconfig"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of pkg-config</title>
|
|
|
|
<para>
|
|
Install <application>pkg-config</application> by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--with-internal-glib \
|
|
--disable-host-tool \
|
|
--docdir=/usr/share/doc/pkg-config-&pkgconfig-version; &&
|
|
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="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<option>--with-internal-glib</option>: This switch causes
|
|
the package to use the shipped version of GLib2.
|
|
</para>
|
|
|
|
<para>
|
|
<option>--disable-host-tool</option>: This switch disables
|
|
creation of the unnecessary symlink.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring pkg-config</title>
|
|
|
|
<para>
|
|
The default setting for <envar>PKG_CONFIG_PATH</envar> is <filename
|
|
class="directory">/usr/lib/pkgconfig:/usr/share/pkgconfig</filename>
|
|
because of the prefix used to install
|
|
<application>pkg-config</application>. You may add to
|
|
<envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your system
|
|
where <filename class="extension">.pc</filename> 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>
|
|
returns meta information for the specified library or
|
|
package.
|
|
</para>
|
|
<indexterm zone="pkgconfig pkg-config">
|
|
<primary sortas="b-pkg-config">pkg-config</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|