Hi,
I'm unable to build pycairo with jhbuild. I already built cairo but
pycairo is complaining about undeclared identifiers but the problem is
these identifiers don't seem to present in cairo either. See build
output below
Anybody has an idea what I'm doing wrong, or is there something broken
in CVS?
Thanks
Jaap
build output
------------
make[2]: Entering directory `/home/haitsma/Programming/gnome2/pycairo/cairo'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/include/python2.4 -I/opt/gnome2/include/cairo -g -std=c99 -Wall
-fno-strict-aliasing -MT _cairo_la-pycairo-pattern.lo -MD -MP -MF
".deps/_cairo_la-pycairo-pattern.Tpo" -c -o _cairo_la-pycairo-pattern.lo `test
-f 'pycairo-pattern.c' || echo './'`pycairo-pattern.c; \
then mv -f ".deps/_cairo_la-pycairo-pattern.Tpo"
".deps/_cairo_la-pycairo-pattern.Plo"; else rm -f
".deps/_cairo_la-pycairo-pattern.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4
-I/opt/gnome2/include/cairo -g -std=c99 -Wall -fno-strict-aliasing -MT
_cairo_la-pycairo-pattern.lo -MD -MP -MF .deps/_cairo_la-pycairo-pattern.Tpo -c
pycairo-pattern.c -fPIC -DPIC -o .libs/_cairo_la-pycairo-pattern.o
pycairo-pattern.c: In function 'PycairoPattern_FromPattern':
pycairo-pattern.c:62: warning: implicit declaration of function
'cairo_pattern_get_type'
pycairo-pattern.c:63: error: 'CAIRO_PATTERN_TYPE_SOLID' undeclared (first use
in this function)
pycairo-pattern.c:63: error: (Each undeclared identifier is reported only once
pycairo-pattern.c:63: error: for each function it appears in.)
pycairo-pattern.c:66: error: 'CAIRO_PATTERN_TYPE_SURFACE' undeclared (first use
in this function)
pycairo-pattern.c:69: error: 'CAIRO_PATTERN_TYPE_LINEAR' undeclared (first use
in this function)
pycairo-pattern.c:72: error: 'CAIRO_PATTERN_TYPE_RADIAL' undeclared (first use
in this function)
make[2]: *** [_cairo_la-pycairo-pattern.lo] Error 1
make[2]: Leaving directory `/home/haitsma/Programming/gnome2/pycairo/cairo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/haitsma/Programming/gnome2/pycairo'
make: *** [all] Error 2
_______________________________________________
gnome-love mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-love