Наши партнеры








Книги по Linux (с отзывами читателей)

Библиотека сайта rus-linux.net

6.18. Pkg-config-0.25

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.

Approximate build time: 0.3 SBU
Required disk space: 11.5 MB

6.18.1. Installation of Pkg-config

First fix a problem with underquoting that shows up in later versions of autoconf:

sed -i -e 's/XT])dnl/XT])[]dnl/' \
       -e 's/\.])dnl/\.])[]dnl/' pkg.m4

Prepare Pkg-config for compilation:

./configure --prefix=/usr

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

6.18.2. Contents of Pkg-config

Installed program: pkg-config

Short Descriptions

pkg-config

Returns meta information for the specified library or package.