libgtk2.0-common fails to build with Gdk-2.0.gir error, Type reference 'GdkPixbuf' not found

Posted by Stefano Palazzo on Ask Ubuntu See other posts from Ask Ubuntu or by Stefano Palazzo
Published on 2011-01-04T14:14:38Z Indexed on 2011/01/04 14:59 UTC
Read the original article Hit count: 210

I'm trying to build gtk, but it fails. Here's what I'm doing:

sudo apt-get build-dep libgtk2.0-common
sudo apt-get source libgtk2.0-common
cd gtk+2.0-2.22.0/
sudo gedit gtk/gtktreeview.c &
#...editing a few files (or not, it's the same error)
sudo ./configure --prefix=/usr
sudo make

The compilation runs for a while and then quits:

Gdk-2.0.gir: error: Type reference 'GdkPixbuf' not found
...
make: *** [all] Error 2

What am I doing wrong?

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about programming