[cairo] [Fwd: problem building cairo 1.6.4 on slightly older linux]

Hung Nguyen Vu vuhung16plus+shape at gmail.com
Mon Jun 9 10:08:04 PDT 2008


> ---------- Forwarded message ----------
> From: Charles Doutriaux <doutriaux1 at llnl.gov>
> To: cairo at cairographics.org
> Date: Wed, 04 Jun 2008 09:48:49 -0700
> Subject: [cairo] problem building cairo 1.6.4 on slightly older linux
> Hi,
>
> I'm running into problems trying to build cairo on a slightly older linux.
>
> uname -a
> Linux casserver 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux
>
> X11/extensions/Xrender.h is here but it doesn't seem to have XTransform in it

Maybe your Xlib render is too old.

What is the Linux distribution you are using?
#i.e: cat /etc/redhat-release or something like that?

I am using Cent OS 5 and:

[vuhung at aoclife extensions]$ rpm -qf /usr/include/X11/extensions/Xrender.h
libXrender-devel-0.9.1-3.1

and the file Xrender.h contains:

typedef struct _XTransform {
    XFixed  matrix[3][3];
} XTransform;

You should double check that.

> checking for xlib_xrender... Package xrender was not found in the
> pkg-config search path.
> Perhaps you should add the directory containing `xrender.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xrender' found
Check this.

> checking X11/extensions/Xrender.h usability... yes
> checking X11/extensions/Xrender.h presence... yes
> checking for X11/extensions/Xrender.h... yes
Found but too old.

> uname -r = 2.4.18-14smp
> uname -s = Linux
> uname -v = #1 SMP Wed Sep 4 12:34:47 EDT 2002
Your kernel is 6 years old and so is your Xlib headers, probably.

--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/


More information about the cairo mailing list