[cairo] Re: pycairo autogen.sh test broken for automake-1.8 and later

Steve Chaplin stevech1097 at yahoo.com.au
Mon Nov 1 20:35:44 PST 2004


On Tue, 2004-11-02 at 02:24, cairo-request at cairographics.org wrote:

> On Wed, 27 Oct 2004 09:39:33 -0500, John Hunter wrote:
> > Just wanted to let you know that the autogen.sh for pycairo in CVS is
> > broken for systems that have automake >1.7 (eg GNU automake 1.8.3)
> > because the 1.7 test is hardcoded in.  automake 1.8.3 works fine in
> > the build process, it's just the autogen.sh test that is broken.
> 
> Hi John,
> 
> Thanks for the report.
> 
> I've changed it to just call "automake" rather than requiring
> "automake-1.7". Please try it out now and let me know if there are any
> problems.
> 
> Also, pycairo was failing to compile for me without pygtk installed. I
> committed a change which did allow it to compile for me. But I couldn't
> test it well since everything in pycairo/examples uses GTK+.
> 
> Does anyone have some non-gtk pycairo examples? For example, something
> that just generates an output PNG? If so, that could be a useful
> addition to pycairo/examples.
> 
> -Carl
> 
After the changes I found that
import cairo       # worked OK
import gtk.cairo   # failed with the message
"python2.3/site-packages/cairo/gtk.so: undefined symbol:
cairo_surface_create_for_image"

Here's a patch that got it working again for me.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.am.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20041102/495295de/Makefile.am.bin


More information about the cairo mailing list