pygobject-2.28.6 won't configure: No package 'gobject-introspection-1.0' found, how do I resolve?
Solution 1:
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):
- Fedora, CentOS, RHEL, etc.: gobject-introspection-devel
- Debian, Ubuntu, Mint, etc.: libgirepository1.0-dev
- Arch: gobject-introspection
- FreeBSD: gobject-introspection
- Cygwin: libgirepository1.0-devel
- msys2: mingw-w64-x86_64-gobject-introspection and/or mingw-w64-i686-gobject-introspection
Solution 2:
I got this to compile on cygwin. The package you need is: libgirepository1.0-devel
.
In Ubuntu it's called libgirepository1.0-dev