/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module pycairo.

Error - `CAIRO_PATTERN_TYPE_RADIAL' undeclared

Stage: Compile

 pycairo-pattern.c: In function `PycairoPattern_FromPattern':
 pycairo-pattern.c:62: warning: implicit declaration of function
 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 `/floss/building/gnome/pycairo/cairo'
 make[1]: *** [all-recursive] Error 1


The compile errors are caused by JhBuild downloading the latest version of Cairo in the CVS repository, which is not the latest version of Cairo. Cairo was recently moved to a git repository but JhBuild can't handle git repositories yet. PyCairo needs to be compiled with the git version of Cairo.


Download and install git and manually checkout and install Cairo using:

 git clone git://git.freedesktop.org/git/xorg/cairo


Projects/Jhbuild/Issues/pycairo (last edited 2013-11-25 16:29:22 by WilliamJonMcCann)