PyCairo fails to build with the following error: make make all-recursive make[1]: Entering directory `/opt/gnome/src/pycairo' Making all in cairo make[2]: Entering directory `/opt/gnome/src/pycairo/cairo' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.3 -I/opt/gnome/include/cairo -g -O2 -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.3 -I/opt/gnome/include/cairo -g -O2 -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 `/opt/gnome/src/pycairo/cairo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/gnome/src/pycairo' make: *** [all] Error 2
*** This bug has been marked as a duplicate of 6133 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.