I'm trying to get pygobject-2.28.6 to compile in cygwin (version in repository is 2.28.4 which has some issues). Here is the tail of ./configure:
checking for GLIB - version >= 2.24.0... yes (version 2.34.3)
checking for ffi... checking for FFI... yes
checking for GIO... yes
checking for GIOUNIX... yes
checking for GI... no
configure: error: Package requirements (glib-2.0 >= 2.24.0
gobject-introspection-1.0 >= 0.10.2
) were not met:
No package 'gobject-introspection-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GI_CFLAGS
and GI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I have gobject-introspection 1.34.2-3 installed. As seen here:
$ whereis gobject-introspection
gobject-introspection: /lib/gobject-introspection /usr/lib/gobject-introspection
and here
$ whereis gobject-introspection-1.0
gobject-introspection-1: /usr/share/gobject-introspection-1.0
I've tried setting GI_CFLAGS and GI_LIBS in configure = to /lib/ and /usr/lib/ (and even /usr/share/) but to no avail. What else can I do to try and resolve this? Thank you for your time!
You're probably missing the development package. The package name varies by distribution, but it's the one containing /usr/lib/pkgconfig/gobject-introspection-1.0.pc
(or /usr/lib64/pkgconfig/gobject-introspection-1.0.pc
for some 64-bit distros):