Bug 6282

Summary: Pycairo CVS HEAD fails to build
Product: pycairo Reporter: Wouter Bolsterlee <uws+freedesktop>
Component: generalAssignee: Steve Chaplin <d74n5pohf9>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Wouter Bolsterlee 2006-03-16 06:08:39 UTC
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
Comment 1 Steve Chaplin 2006-03-16 11:17:28 UTC

*** 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.