source: general/sysutils/pkgconfig.xml@ 0acbc73

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0acbc73 was 0fd81b9, checked in by David Jensen <djensen@…>, 19 years ago

Noted in Pkgconfig-0.18 problems/work-arounds for 0.18.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4711 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkgconfig-&pkgconfig-version;.tar.gz">
8 <!ENTITY pkgconfig-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pkgconfig/&pkgconfig-version;/pkgconfig-&pkgconfig-version;.tar.gz">
9<!-- <!ENTITY pkgconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/pkgconfig-&pkgconfig-version;.tar.gz">-->
10 <!ENTITY pkgconfig-md5sum "b20a993728a4df9c366e0582315f7b65">
11 <!ENTITY pkgconfig-size "965 KB">
12 <!ENTITY pkgconfig-buildsize "10.5 MB">
13 <!ENTITY pkgconfig-time "0.3 SBU">
14]>
15
16<sect1 id="pkgconfig" xreflabel="pkgconfig-&pkgconfig-version;">
17 <?dbhtml filename="pkgconfig.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Pkgconfig-&pkgconfig-version;</title>
25
26 <indexterm zone="pkgconfig">
27 <primary sortas="a-Pkgconfig">Pkgconfig</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Pkgconfig</title>
32
33 <para>The <application>pkgconfig</application> package contains
34 tools for passing the include path and/or library paths to build tools during
35 the <command>make</command> file execution.</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &pkgconfig-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &pkgconfig-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &pkgconfig-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &pkgconfig-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 </sect2>
60
61 <sect2 role="installation">
62 <title>Installation of Pkgconfig</title>
63
64 <note>
65 <para>These instructions back port the bug fix from
66 <application>pkg-config</application>-0.18.1. The 0.18.1 version
67 incorporates name changes that are, perhaps, to be reverted. If you
68 prefer to use 0.18.1, you should not run the <command>sed</command> command
69 and you must add <filename class="directory">/usr/lib/pkgconfig</filename>
70 to your <envar>PKG_CONFIG_PATH</envar>.</para>
71 </note>
72
73 <para>Install <application>pkgconfig</application> by running the following
74 commands:</para>
75
76<screen><userinput>sed -i 's:pkg_failed=yes]):&amp;\nelse:' pkg.m4 &amp;&amp;
77./configure --prefix=/usr &amp;&amp;
78make</userinput></screen>
79
80 <para>To test the results, issue: <command>make check</command>.</para>
81
82 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
83
84<screen role="root"><userinput>make install</userinput></screen>
85
86 </sect2>
87
88 <sect2 role="configuration">
89 <title>Configuring Pkgconfig</title>
90
91 <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
92 <filename>/usr/lib/pkgconfig</filename> because of the prefix used to
93 install pkgconfig. You may add to <envar>PKG_CONFIG_PATH</envar> by exporting
94 additional paths on your system where <application>pkgconfig</application>
95 files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed
96 when compiling packages, not during run-time.</para>
97
98 </sect2>
99
100 <sect2 role="content">
101 <title>Contents</title>
102
103 <segmentedlist>
104 <segtitle>Installed Program</segtitle>
105 <segtitle>Installed Libraries</segtitle>
106 <segtitle>Installed Directories</segtitle>
107
108 <seglistitem>
109 <seg>pkg-config</seg>
110 <seg>None</seg>
111 <seg>None</seg>
112 </seglistitem>
113 </segmentedlist>
114
115 <variablelist>
116 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
117 <?dbfo list-presentation="list"?>
118 <?dbhtml list-presentation="table"?>
119
120 <varlistentry id="pkg-config">
121 <term><command>pkg-config</command></term>
122 <listitem>
123 <para>is a function that returns meta information for the specified
124 library.</para>
125 <indexterm zone="pkgconfig pkg-config">
126 <primary sortas="b-pkg-config">pkg-config</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 </variablelist>
132
133 </sect2>
134
135</sect1>
136
Note: See TracBrowser for help on using the repository browser.