pkg-config-0.23

Introduction to pkg-config

The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.

Package Information

Pkg-config Dependencies

Optional

GLib-2.18.3

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pkgconfig

Installation of pkg-config

Install pkg-config by running the following commands:

./configure --prefix=/usr &&
make

To test the results, issue: make check. The “check-requires-private” test has been known to fail for undetermined reasons.

Now, as the root user:

make install

Command Explanations

--with-installed-glib: This parameter causes the package to use the installed glib2. This is to get rid of the internally used glib-1.

Configuring pkg-config

The default setting for PKG_CONFIG_PATH is /usr/lib/pkgconfig:/usr/share/pkgconfig because of the prefix used to install pkg-config. You may add to PKG_CONFIG_PATH by exporting additional paths on your system where .pc files are installed. Note that PKG_CONFIG_PATH is only needed when compiling packages, not during run-time.

Contents

Installed Program: pkg-config
Installed Libraries: None
Installed Directories: None

Short Descriptions

pkg-config

returns meta information for the specified library or package.

Last updated on 2008-11-08 12:36:49 -0600