source: general/prog/pkgconfig.xml@ 08f1ff7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 08f1ff7 was 08f1ff7, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to glib-2.31.0.
Update to pkg-config-0.26.
Remove gcc3.
More package reorganization.

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

  • Property mode set to 100644
File size: 5.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pkgconfig-download-http "http://pkgconfig.freedesktop.org/releases/pkg-config-&pkgconfig-version;.tar.gz">
8 <!ENTITY pkgconfig-download-ftp "&gentoo-ftp-repo;/pkg-config-&pkgconfig-version;.tar.gz">
9 <!ENTITY pkgconfig-md5sum "47525c26a9ba7ba14bf85e01509a7234">
10 <!ENTITY pkgconfig-size "392 KB">
11 <!ENTITY pkgconfig-buildsize "3 MB">
12 <!ENTITY pkgconfig-time "less than 0.1 SBU">
13]>
14
15<sect1 id="pkgconfig" xreflabel="pkg-config-&pkgconfig-version;">
16 <?dbhtml filename="pkgconfig.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>pkg-config-&pkgconfig-version;</title>
24
25 <indexterm zone="pkgconfig">
26 <primary sortas="a-Pkg-config">Pkg-config</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to pkg-config</title>
31
32 <para>The <application>pkg-config</application> package contains a tool for
33 passing the include path and/or library paths to build tools during the
34 <command>configure</command> and <command>make</command> file
35 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 <bridgehead renderas="sect3">Pkg-config Dependencies</bridgehead>
60
61 <bridgehead renderas="sect4">Required</bridgehead>
62 <para role="required"><xref linkend="GLib"/></para>
63
64 <para condition="html" role="usernotes">User Notes:
65 <ulink url="&blfs-wiki;/pkgconfig"/></para>
66
67 </sect2>
68
69 <sect2 role="installation">
70 <title>Installation of pkg-config</title>
71
72 <para>Fix a problem with one of Pkg-config's tests:</para>
73
74<screen><userinput>sed -i -e '21s/EXPECT_RETURN=1/EXPECT_RETURN=0/' check/check-cmd-options</userinput></screen>
75
76 <para>Install <application>pkg-config</application> by running the
77 following commands:</para>
78
79<screen><userinput>GLIB_LIBS=-lglib-2.0 GLIB_CFLAGS=-I/usr/include/glib-2.0 \
80./configure --prefix=/usr &amp;&amp;
81make</userinput></screen>
82
83 <note><para>The make phase is known to fail if the configure option
84 '<option>--with-installed-popt</option>' is used with <xref
85 linkend="popt"/>.</para></note>
86
87 <para>To test the results, issue: <command>make check</command>. The
88 <quote>check-requires-private</quote> test has been known to fail for
89 undetermined reasons.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install</userinput></screen>
94
95 </sect2>
96
97 <sect2 role="commands">
98 <title>Command Explanations</title>
99
100 <para><parameter>--with-installed-glib</parameter>: This parameter causes
101 the package to use the installed glib2. This is to get rid of the internally used
102 glib-1.</para>
103
104 </sect2>
105
106 <sect2 role="configuration">
107 <title>Configuring pkg-config</title>
108
109 <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is <filename
110 class='directory'>/usr/lib/pkgconfig:/usr/share/pkgconfig</filename>
111 because of the prefix used to install
112 <application>pkg-config</application>. You may add to
113 <envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your system
114 where <filename class='extension'>.pc</filename> files are installed. Note
115 that <envar>PKG_CONFIG_PATH</envar> is only needed when compiling packages,
116 not during run-time.</para>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Program</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directories</segtitle>
127
128 <seglistitem>
129 <seg>pkg-config</seg>
130 <seg>None</seg>
131 <seg>None</seg>
132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140 <varlistentry id="pkg-config">
141 <term><command>pkg-config</command></term>
142 <listitem>
143 <para>returns meta information for the specified library or
144 package.</para>
145 <indexterm zone="pkgconfig pkg-config">
146 <primary sortas="b-pkg-config">pkg-config</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 </variablelist>
152
153 </sect2>
154
155</sect1>
Note: See TracBrowser for help on using the repository browser.