[Cairo] Problem installing cairo on redhat 7.3

Hardani dani at bisnisweb.com
Fri Oct 24 02:23:12 PDT 2003


Hello,

 I'm new here and have question about installing cairo on Redhat 7.3.
 I have download source form cvs server lastnight and build but there
 is error after build it.
 
 This is error after i execute make command :

 ----------strip----------------
 
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wp,-MD,.deps/cairo_spline.pp -c cairo_spline.c  -fPIC -DPIC -o .libs/cairo_spline.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wp,-MD,.deps/cairo_spline.pp -c cairo_spline.c -o cairo_spline.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2       -g -O2 -c cairo_surface.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wp,-MD,.deps/cairo_surface.pp -c cairo_surface.c  -fPIC -DPIC -o .libs/cairo_surface.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wp,-MD,.deps/cairo_surface.pp -c cairo_surface.c -o cairo_surface.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2       -g -O2 -c cairo_xlib_surface.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -g -O2 -Wp,-MD,.deps/cairo_xlib_surface.pp -c cairo_xlib_surface.c  -fPIC -DPIC -o .libs/cairo_xlib_surface.o
cairo_xlib_surface.c: In function `_cairo_xlib_surface_put_image':
cairo_xlib_surface.c:314: parse error before `int'
cairo_xlib_surface.c:316: `depth' undeclared (first use in this function)
cairo_xlib_surface.c:316: (Each undeclared identifier is reported only once
cairo_xlib_surface.c:316: for each function it appears in.)
make[2]: *** [cairo_xlib_surface.lo] Error 1
make[2]: Leaving directory `/home/dani/sourceasli/cairo/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dani/sourceasli/cairo'
make: *** [all-recursive-am] Error 2 

Anyone here give clue, how to solve this problem?


-- 
Best regards,
 Hardani                          mailto:dani at bisnisweb.com





More information about the cairo mailing list