pygobject-2.28.6 won't configure: No package 'gobject-introspection-1.0' found, how do I resolve?

后端 未结 3 944
夕颜
夕颜 2020-12-10 00:28

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 f         


        
相关标签:
3条回答
  • 2020-12-10 01:14

    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
    0 讨论(0)
  • 2020-12-10 01:22

    I don't have enough rep to comment, so this is really meant to be an addendum to nemequ's answer:

    • MSYS2: mingw-w64-x86_64-gobject-introspection and/or mingw-w64-i686-gobject-introspection
    0 讨论(0)
  • 2020-12-10 01:34

    I got this to compile on cygwin. The package you need is: libgirepository1.0-devel.

    In Ubuntu it's called libgirepository1.0-dev

    0 讨论(0)
提交回复
热议问题