[cairo-bugs] [Bug 93877] New: Cairo installation error: cairo-xlib-xrender-private.h:106: error: redefinition of 'struct

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 26 13:15:09 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93877

            Bug ID: 93877
           Summary: Cairo installation error:
                    cairo-xlib-xrender-private.h:106: error: redefinition
                    of 'struct
           Product: cairo
           Version: 1.4.6
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: bravius at gmail.com
        QA Contact: cairo-bugs at cairographics.org

# uname -r
2.6.32-431.29.2.el6.x86_64

# cat /etc/redhat-release
CentOS release 6.5 (Final)


After downloading the running "./configure". "./make" gives the following
error:

# make
Makefile:1487: warning: overriding commands for target `recheck'
Makefile:1127: warning: ignoring old commands for target `recheck'
make  all-recursive
make[1]: Entering directory `/app/software/graphite/cairo-1.14.6'
Makefile:1487: warning: overriding commands for target `recheck'
Makefile:1127: warning: ignoring old commands for target `recheck'
Making all in src
make[2]: Entering directory `/app/software/graphite/cairo-1.14.6/src'
make  all-am
make[3]: Entering directory `/app/software/graphite/cairo-1.14.6/src'
  CC       cairo-xlib-display.lo
In file included from cairo-xlib-private.h:40,
                 from cairo-xlib-display.c:40:
cairo-xlib-xrender-private.h:106: error: redefinition of 'struct
_XLinearGradient'
cairo-xlib-xrender-private.h:109: error: conflicting types for
'XLinearGradient'
/usr/include/X11/extensions/Xrender.h:189: note: previous declaration of
'XLinearGradient' was here
cairo-xlib-xrender-private.h:115: error: redefinition of 'struct _XCircle'
cairo-xlib-xrender-private.h:119: error: conflicting types for 'XCircle'
/usr/include/X11/extensions/Xrender.h:150: note: previous declaration of
'XCircle' was here
cairo-xlib-xrender-private.h:120: error: redefinition of 'struct
_XRadialGradient'
cairo-xlib-xrender-private.h:123: error: conflicting types for
'XRadialGradient'
/usr/include/X11/extensions/Xrender.h:194: note: previous declaration of
'XRadialGradient' was here
cairo-xlib-xrender-private.h:129: error: redefinition of 'struct
_XConicalGradient'
cairo-xlib-xrender-private.h:132: 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
make[3]: Leaving directory `/app/software/graphite/cairo-1.14.6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/app/software/graphite/cairo-1.14.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/app/software/graphite/cairo-1.14.6'
make: *** [all] Error 2


Please let me know if you have any questions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20160126/e2f7e478/attachment.html>


More information about the cairo-bugs mailing list