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.
This package is known to build and work properly using an LFS-7.2 platform.
Pkg-config is part of LFS, but was omitted from the 7.0 and 7.1 releases. If you are using a system which includes it, there is nothing more to do. If not, you should follow these instructions.
Download (HTTP): http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
Download MD5 sum: aa3c86e67551adc3ac865160e34a2a0d
Download size: 1.9 MB
Estimated disk space required: 30 MB
Estimated build time: 0.3 SBU
Install pkg-config by running the following commands:
./configure --prefix=/usr \ --docdir=/usr/share/doc/pkg-config-0.28 \ --with-internal-glib \ --disable-host-tool && make
To test the results, issue: make check.
Now, as the
--with-internal-glib: This switch
causes the package to use the shipped version of GLib2.
--disable-host-tool: This switch
disables creation of the unnecesary symlink.
The default setting for
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
only needed when compiling packages, not during run-time.
Last updated on 2013-03-03 14:53:30 +0000