> 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 >> 'cairo_get_dash_count' >> 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 >> 'cairo_get_dash_count' > > 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 intel machine. The problem is that the API for cairo.h is different from what pycairo expects. I changed: cairo_get_dash_count (o->ctx, &count); to: count = cairo_get_dash_count (o->ctx); In pycairo. 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. Cheers Martin > Marco > > _______________________________________________ > Sugar mailing list > [email protected] > http://mailman.laptop.org/mailman/listinfo/sugar > _______________________________________________ Sugar mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/sugar
