I'm trying to build gtk, but it fails. Here's what I'm doing:
sudo apt-get build-dep libgtk2.0-common
apt-get source libgtk2.0-common
cd gtk+2.0-2.22.0/
gedit gtk/gtktreeview.c &
#...editing a few files (or not, it's the same error)
./configure --prefix=/usr
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?
Best Answer
If you want to use the package source you should compile using the package debian building rules instead of using the plain configure / make as you do from an original source. To build using the package build rules, from the source directory, just run:
The manual building is probably failing because of a needed patch which is applied from the package building rules.