[cairo] error: 'RepeatNone' undeclared (first use in this function)
Ryan Schmidt
cairo-2008c at ryandesign.com
Thu Oct 30 12:15:45 PDT 2008
I tried to update the cairo port in MacPorts from 1.8.0 to 1.8.2 but
it won't build:
../doltcompile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I. -I/mp/
include/pixman-1 -I/mp/include/freetype2 -I/mp/include -I/mp/
include -I/mp/include/libpng12 -DXTHREADS -I/mp/include -I/usr/
X11R6/include -Wall -Wextra -Wsign-compare -Werror-implicit-
function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
externs -Wpacked -Wswitch-enum -Wstrict-aliasing=2 -Winit-self -
Wdeclaration-after-statement -Wold-style-definition -Wno-missing-
field-initializers -Wno-unused-parameter -Wno-long-long -Winline -fno-
strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2 -I/
usr/X11R6/include -I/mp/include -O2 -MT cairo-xlib-surface.lo -MD -
MP -MF .deps/cairo-xlib-surface.Tpo -c -o cairo-xlib-surface.lo cairo-
xlib-surface.c
cairo-xlib-surface.c: In function '_cairo_xlib_surface_set_attributes':
cairo-xlib-surface.c:1440: error: 'RepeatNone' undeclared (first use
in this function)
cairo-xlib-surface.c:1440: error: (Each undeclared identifier is
reported only once
cairo-xlib-surface.c:1440: error: for each function it appears in.)
cairo-xlib-surface.c:1443: error: 'RepeatNormal' undeclared (first
use in this function)
make[3]: *** [cairo-xlib-surface.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I'm using the same configure line that worked fine with 1.8.0:
./configure --prefix=/mp --x-includes=/usr/X11R6/include --x-
libraries=/usr/X11R6/lib --disable-glitz --disable-xcb --enable-
freetype --enable-pdf --enable-png --enable-ps --enable-svg --enable-
xlib --enable-xlib-xrender --with-x --enable-quartz --enable-quartz-
font --enable-quartz-image
This is on an Intel Mac with Mac OS X 10.4.11 and Xcode 2.5.
More information about the cairo
mailing list