[cairo] cairo release 1.10.0, upgrade

Bill Spitzak spitzak at gmail.com
Wed Sep 8 10:52:31 PDT 2010


Thanks that is what I was looking for.

Wouldn't it make sense to include pixman with the cairo source tarball? 
Aren't they pretty much in sync so you have to have the right pixman to 
compile cairo?

Alexander Shulgin wrote:

> It's also required to download and build and install the latest pixman
> from here: http://cairographics.org/releases/pixman-0.18.4.tar.gz
> 
(in the pixman directory):
> ./configure --prefix=$HOME
> make
> make install
> 
> Then run the following command to install the development files for
> various cairo dependencies like libpng, freetype, etc.:
> 
> sudo apt-get build-dep cairo

Might make sense to do this *before* compiling pixman as it may find 
dependencies of it's own. Personally I did not have to do this, but it 
may be because I was doing other sw development and had already 
installed all the development header files needed.

> Finally
(in the cairo directory)

> PKG_CONFIG_PATH=$HOME/lib/pkgconfig ./configure --prefix=$HOME
> 
> to pick up the newly built and installed pixman.
> 
> After that it should compile nicely.

In addition if you want to compile any programs using this, you need to 
set PKG_CONFIG_PATH before running pkg-config as part of the 
compilation, something like:

PKG_CONFIG_PATH=$HOME/lib/pkgconfig gcc -o program program.c `pkg-config 
--cflags --libs pangocairo`

And you need to set LD_LIBRARY_PATH to run programs:

LD_LIBRARY_PATH=$HOME/lib


More information about the cairo mailing list