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.
Download (HTTP): http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
Download (FTP): ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/pkg-config-0.22.tar.gz
Download MD5 sum: fd5c547e9d66ba49bc735ccb8c791f2a
Download size: 1.0 MB
Estimated disk space required: 12 MB
Estimated build time: 0.3 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pkgconfig
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
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.
Last updated on 2007-07-14 18:27:07 -0500