[cairo] Building Cairo on a Suse 8

Behdad Esfahbod behdad at behdad.org
Wed Jul 12 00:16:37 PDT 2006


On Wed, 2006-07-12 at 02:21 -0400, Alberto Mardegan wrote:
> Le die Tue, Jul 11, 2006 at 02:04:10PM -0700, Carl Worth ha scribite:
> > > Anybody can help?
> > > I cannot upgrade X in this machine (notice also the "--prefix=$HOME") switch.
> > 
> > All you need here is the Xrender library to get cairo to compile
> > happily. You won't need to change anything in the X server at all.
> > 
> > And fortunately with the new, modular X sources, you'll only need a
> > couple of tiny packages here, (the X render protocol module, and the X
> > render library module).
> 
> Thank you for your suggestions. This is exactly what I did, but I had
> also to manually modify the src/Makefile (as generated by configure) to swap
> the order of include directories in the -I option of CAIRO_CFLAGS, since
> it was looking at the wrong Xrender headers: /usr/X11R6/include vs
> $HOME/include (the right one).
> But I don't think there is much you can do here, since those CFLAGS are
> just the concatenation of pkg-config outputs.

I went ahead and reversed the order of cflags/libs generated by
configure.  Generally it makes sense to put more-specific packages
earlier in the list, so I did.

-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list