Carlo Benussi
Carlo Benussi

Reputation: 175

Couldn't find include 'GObject-2.0.gir'

I am trying to install totem-pl-parser-3.10.7 on my Ubuntu 14.04, and after the autogen.sh + configure end successfully, I build with make. But I receive the following error:

Couldn't find include 'GObject-2.0.gir' (search path: ['.', '.', '/usr/share/gnome-fallback/gir-1.0', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])

Searching on google the possible causes, It came out that gobject-introspection package was installed after libglib-2.0-dev, and so the .gir repositories could not be found properly.

Also, I removed libglib-2.0-dev (apt remove --purge) and reinstalled it, but the error still comes out the same.

Any suggestion?

Upvotes: 5

Views: 5513

Answers (1)

Philip Withnall
Philip Withnall

Reputation: 5705

You need to install the libgirepository1.0-dev package.

See packages.ubuntu.com.

Upvotes: 7

Related Questions