[cairo] compile cairo on ubuntu hardy

Prashant Saxena animator333 at yahoo.com
Fri Apr 23 10:56:05 PDT 2010


Hi,

I am trying to compile latest cairo library on ubuntu "hardy" 8.04. I am a newbie on linux and my c/c++ skills are some what limited.
Once cairo is build, I have to build pyCairo 1.8.8 to use with wxPython.

So far I am able to build pixman only. Here are the commands

# build pixman from sources
wget http://www.cairographics.org/releases/pixman-0.18.0.tar.gz
tar xvf pixman-0.18.0.tar.gz 
cd pixman-0.18.0
./configure --prefix=/usr/local
make
sudo make install

# create this env var to point out "pixman-1.pc" path
export PKG_CONFIG_PATH=/home/prashant/installed/pixman-0.18.0

# create symbolic links
sudo ln -s /usr/local/include/pixman-1/pixman.h
sudo ln -s /usr/local/include/pixman-1/pixman-version.h

# build cairo from sources
wget http://www.cairographics.org/releases/cairo-1.8.8.tar.gz
tar xvf cairo-1.8.8.tar.gz
cd cairo-1.8.8
./configure --prefix=/usr/local
make

In the end of "make", I am getting this error:

libtool: link: cannot find the library `..//home/prashant/installed/pixman-0.18.0/pixman/libpixman-1.la' or unhandled argument `..//home/prashant/installed/pixman-0.18.0/pixman/libpixman-1.la'

File "/libpixman-1.la" is present in the directory. 

I would appreciate if some one point out the problem.

Cheers

Prashant


      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/


More information about the cairo mailing list