Bug 12058 - Cairo on X11R6
Summary: Cairo on X11R6
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.4.9
Hardware: x86 (IA32) All
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2007-08-19 03:30 UTC by Michael M. Tung
Modified: 2008-10-10 04:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Michael M. Tung 2007-08-19 03:30:13 UTC
I am using a legacy X11R6 Linux system. Trying to compile the tests for several versions of Cairo (1.0.0, 1.0.4, 1.2.4, 1.2.6, 1.4.6, 1.4.10) always gives error messages for the Xlib/Xrender backend.

For 1.0.0 the error for make check is

In file included from /usr/X11/include/X11/extensions/Xrender.h:33,
                 from ../src/cairo-xlib-xrender.h:44,
                 from cairo-test.c:357:
/usr/X11/include/X11/Xutil.h:114: parse error before "Bool"
/usr/X11/include/X11/Xutil.h:114: warning: no semicolon at end of struct or union
/usr/X11/include/X11/Xutil.h:117: parse error before "icon_pixmap"

For 1.2.6 the error is

< cairo_surface_status
< cairo_surface_write_to_png_stream
< cairo_version_string
> fbBlt
> fbBlt24
> fbBltOne
> fbBltOne24
> fbBltStip
> fbRasterizeEdges
> fbRasterizeTrapezoid
> fbReplicatePixel
> fbStippleTable
> fbTransparentSpan
> pixman_compositeGeneral
> pixman_gradient_color
> pixman_image_createForPixels
> pixman_image_destroyClip
> pixman_image_init
> pixman_transform_point
FAIL: check-def.sh
00061fdc  0003ae07 R_386_JUMP_SLOT       000141e0  _cairo_clip_combine_to_surface
00061fe8  0003b307 R_386_JUMP_SLOT       000214b0  _cairo_surface_has_device_transform
00061ff0  0003b607 R_386_JUMP_SLOT       0001d7e0  _cairo_pen_add_points    
00061ff4  0003b707 R_386_JUMP_SLOT       000177d0  _cairo_hash_table_random_entry
FAIL: check-plt.sh
Checking public headers for missing cairo_public decorators
PASS: check-headers.sh
2 of 3 tests failed

How can I install Cairo on an X11R6 system? I tried disabling render support, but the resulting error is the same.

Man thanks in advance, Mike
Comment 1 Chris Wilson 2008-10-10 04:54:51 UTC
The old issue with even older Xrender headers, fixed by Behdad including a dummy Xrender header.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.