[sugar] Re: Problem building sugar-jhbuild
Sat Jan 20 23:21:58 EST 2007
> On Fri, 2007-01-19 at 12:44 -0300, Gonzalo Delgado wrote:
>> While building pycairo:
>> pycairo-context.c: In function 'pycairo_get_dash':
>> pycairo-context.c:353: error: too many arguments to function
>> pycairo-context.c:358: error: void value not ignored as it ought to be
>> pycairo-context.c: In function 'pycairo_get_dash_count':
>> pycairo-context.c:386: error: too many arguments to function
> It works for me. Have you built both cairo and pycairo?
> Otherwise the lib64 issue might be hitting you. Verify which cairo.h are
> you actually using here, and if the signature for this function is the
> expected one (cairo_get_dash_count (cairo_t *cr, int *count);) there.
I get exactly the same error on an ubuntu edgy build for a standard 32 bit
The problem is that the API for cairo.h is different from what pycairo
cairo_get_dash_count (o->ctx, &count);
count = cairo_get_dash_count (o->ctx);
This is clearly a problem in pycairo and the sort of stupid bug we're all
constantly fighting with. We abiword hackers are no better and have broken
the sugar-jhbuild a few times.
Is there a way to set up some sort of frozen state of known working builds
of each of the modules?
the alternative is to constantly shame the maintainers of the libraries to
keep their builds unbroken.
> Sugar mailing list
> Sugar at laptop.org
More information about the Sugar-devel