glib2.0 build-depends on pkg-config pkg-config build-depends on libglib2.0-dev http://cgit.freedesktop.org/pkg-config/tree/README#n33 set the following: PKG_CONFIG ZLIB_CFLAGS ZLIB_LIBS LIBFFI_CFLAGS LIBFFI_LIBS PCRE_CFLAGS PCRE_LIBS GTKDOC_DEPS_CFLAGS GTKDOC_DEPS_LIBS DBUS1_CFLAGS DBUS1_LIBS