pygobject-python-2 build failure on debian



Hello!

My jhbuild build of pygobject-python2 is failing on Debian Wheezy

The specific error is:
"pygi-foreign-cairo.c:24:19: fatal error: cairo.h: No such file or
directory" (The full make log is attached).

I have cairo installed. When I changed pygi-foreign-cairo.c to include
cairo/cairo.h it complained of pycairo, and when doing the same for
pycairo, it complained of Python.h.

Additionally, there are multiple versions of Python.h:
        python2.7-dev: /usr/include/python2.7/Python.h
        python2.6-dev: /usr/include/python2.6/Python.h
        python3.2-dev: /usr/include/python3.2mu/Python.h

Thus, it seems to me that pygobject isn't precisely specifying what it
needs. I would like to help get it building. I would imagine somewhere
there is needed some incantation of 
        pkg-config --cflags --libs pycairo
        pkg-config --cflags --libs python-2.7
        pkg-config --cflags --libs cairo
but I don't know autotools.

Any recommendations for the next steps I can take to work toward getting
it to build?

Much thanks,
Hashem


make  all-recursive
make[1]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2'
Making all in examples
make[2]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/examples'
Making all in gi
make[2]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi'
Making all in repository
make[3]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/repository'
for f in __init__.py; do \
	    [ -e ./$f ] || ln -s ./$f ./$f; \
	done
make[3]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/repository'
Making all in overrides
make[3]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/overrides'
for f in GLib.py Gtk.py Gdk.py GObject.py Gio.py GIMarshallingTests.py Pango.py keysyms.py __init__.py; do \
	    [ -e ./$f ] || ln -s ./$f ./$f; \
	done
make[3]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/overrides'
Making all in _glib
make[3]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/_glib'
ln -s -f .libs/_glib.so _glib.so
for f in __init__.py option.py; do \
	    [ -e ./$f ] || ln -s ./$f ./$f; \
	done
make[3]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/_glib'
Making all in _gobject
make[3]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/_gobject'
ln -s -f .libs/_gobject.so _gobject.so
for f in __init__.py constants.py propertyhelper.py signalhelper.py; do \
	    [ -e ./$f ] || ln -s ./$f ./$f; \
	done
make[3]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi/_gobject'
make[3]: Entering directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi'
  CC     _gi_cairo_la-pygi-foreign-cairo.lo
pygi-foreign-cairo.c:24:19: fatal error: cairo.h: No such file or directory
compilation terminated.
make[3]: *** [_gi_cairo_la-pygi-foreign-cairo.lo] Error 1
make[3]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2/gi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/Data/projects/gnome-checkout/pygobject-python2'
make: *** [all] Error 2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]