10.20.2. Contents of Pkg-config
Installed programs: pkg-config
Installed directory: /usr/share/doc/pkg-config
Pkg-config is a tool to help you insert the correct compiler options on the command line when compiling applications and libraries.
Prepare Pkg-config for compilation:
GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ GLIB_LIBS="-lglib-2.0" \ ./configure --prefix=/usr
The meaning of the new configure option:
GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
, GLIB_LIBS="-lglib-2.0"
Pkg-config no longer comes with Glib and because Pkg-config has not been installed itself it needs to be told where Glib is.
Compile the package:
make
To test the results, issue:
make check
.
Install the package:
make install