source: general/sysutils/pkgconfig.xml@ d326b02

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 d326b02 was 83893a0, checked in by DJ Lucas <dj@…>, 15 years ago

Corrected glib-1 dependency in pkg-config.

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

  • Property mode set to 100644
File size: 4.8 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-download-ftp "&gnome-download-ftp;/pkgconfig/&pkgconfig-version;/pkgconfig-&pkgconfig-version;.tar.gz"> -->
10 <!ENTITY pkgconfig-md5sum "d922a88782b64441d06547632fd85744">
11 <!ENTITY pkgconfig-size "1.0 MB">
12 <!ENTITY pkgconfig-buildsize "12 MB">
13 <!ENTITY pkgconfig-time "0.3 SBU">
14]>
15
16<sect1 id="pkgconfig" xreflabel="pkg-config-&pkgconfig-version;">
17 <?dbhtml filename="pkgconfig.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>pkg-config-&pkgconfig-version;</title>
25
26 <indexterm zone="pkgconfig">
27 <primary sortas="a-Pkg-config">Pkg-config</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to pkg-config</title>
32
33 <para>The <application>pkg-config</application> package contains a tool for
34 passing the include path and/or library paths to build tools during the
35 <command>configure</command> and <command>make</command> file
36 execution.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&pkgconfig-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&pkgconfig-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &pkgconfig-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &pkgconfig-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &pkgconfig-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &pkgconfig-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Pkg-config Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional"><xref linkend="GLib"/></para>
64
65 <para condition="html" role="usernotes">User Notes:
66 <ulink url="&blfs-wiki;/pkgconfig"/></para>
67
68 </sect2>
69
70 <sect2 role="installation">
71 <title>Installation of pkg-config</title>
72
73 <para>Install <application>pkg-config</application> by running the
74 following commands:</para>
75
76<screen><userinput>./configure --prefix=/usr &amp;&amp;
77make</userinput></screen>
78
79 <para>To test the results, issue: <command>make check</command>. The
80 <quote>check-requires-private</quote> test has been known to fail for
81 undetermined reasons.</para>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>make install</userinput></screen>
86
87 </sect2>
88
89 <sect2 role="commands">
90 <title>Command Explanations</title>
91
92 <para><parameter>--with-installed-glib</parameter>: This parameter causes
93 the package to use the installed glib2. This is to get rid of the internally used
94 glib-1.</para>
95
96 </sect2>
97
98 <sect2 role="configuration">
99 <title>Configuring pkg-config</title>
100
101 <para>The default setting for <envar>PKG_CONFIG_PATH</envar> is
102 <filename
103 class='directory'>/usr/lib/pkgconfig:/usr/share/pkgconfig</filename>
104 because of the prefix used to install
105 <application>pkg-config</application>. You may add
106 to <envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your
107 system where <filename class='extension'>.pc</filename> files are
108 installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed when
109 compiling packages, not during run-time.</para>
110
111 </sect2>
112
113 <sect2 role="content">
114 <title>Contents</title>
115
116 <segmentedlist>
117 <segtitle>Installed Program</segtitle>
118 <segtitle>Installed Libraries</segtitle>
119 <segtitle>Installed Directories</segtitle>
120
121 <seglistitem>
122 <seg>pkg-config</seg>
123 <seg>None</seg>
124 <seg>None</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="pkg-config">
134 <term><command>pkg-config</command></term>
135 <listitem>
136 <para>returns meta information for the specified library or
137 package.</para>
138 <indexterm zone="pkgconfig pkg-config">
139 <primary sortas="b-pkg-config">pkg-config</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 </variablelist>
145
146 </sect2>
147
148</sect1>
Note: See TracBrowser for help on using the repository browser.