Re: Build cairo-1.12.6 failed
Hogren <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Ryan Schmidt <cairo-2012b <at> ryandesign.com> writes: > > > On Nov 27, 2012, at 09:04, gps locator wrote: > > > Build error log: > > > > CC cairo-xlib-display.lo > > In file included from cairo-xlib-private.h:41, > > from cairo-xlib-display.c:40: > > cairo-xlib-xrender-private.h:102: error: redefinition of 'struct _XLinearGradient' > > cairo-xlib-xrender-private.h:105: error: conflicting types for 'XLinearGradient' > > /usr/include/X11/extensions/Xrender.h:189: note: previous declaration of 'XLinearGradient' was here > > cairo-xlib-xrender-private.h:111: error: redefinition of 'struct _XCircle' > > cairo-xlib-xrender-private.h:115: error: conflicting types for 'XCircle' > > /usr/include/X11/extensions/Xrender.h:150: note: previous declaration of 'XCircle' was here > > cairo-xlib-xrender-private.h:116: error: redefinition of 'struct _XRadialGradient' > > cairo-xlib-xrender-private.h:119: error: conflicting types for 'XRadialGradient' > > /usr/include/X11/extensions/Xrender.h:194: note: previous declaration of 'XRadialGradient' was here > > cairo-xlib-xrender-private.h:125: error: redefinition of 'struct _XConicalGradient' > > cairo-xlib-xrender-private.h:128: error: conflicting types for 'XConicalGradient' > > /usr/include/X11/extensions/Xrender.h:199: note: previous declaration of 'XConicalGradient' was here > > make[3]: *** [cairo-xlib-display.lo] Error 1 > > > > Here is a similar issue: http://lists.cairographics.org/archives/cairo/2011-March/021822.html > > > > I wondered that no one met this issue now and what's the best solution for that? > > Users encountered this problem at MacPorts too: > > https://trac.macports.org/ticket/36926 > > Seems cairo now requires xorg-libXext; installing that fixed the problem for us. > Hello I had same problem and I confirm, I installed xorg-libXext, and it was OK ! Thanks ! -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo