how to install py2cairo on ubuntu 11.10?
<p>the README file said：</p>

<pre><code>Dependencies
------------
cairo   &gt;= 1.10.0
Python  &gt;= 2.6
</code></pre>

<p>it seems that I need to install cairo first. but how to install the 'cairo'?</p>

<p>thanks for your help. I installed the libcairo2. but there are still some errors when I execute command 'sudo python waf configure':</p>

<pre><code>barry@ubuntu:~/graphite/py2cairo$ sudo python waf configure
  ./options()
 Setting top to                           : /home/barry/graphite/py2cairo 
 Setting out to                           : /home/barry/graphite/py2cairo/build_directory 
 ./configure()
 Checking for 'gcc' (c compiler)          : ok 
 Checking for program python              : /usr/bin/python 
 Checking for python version              : (2, 7, 3, 'final', 0) 
 Checking for library python2.7           : not found 
 Checking for library python2.7           : not found 
 Checking for library python2.7           : yes 
 Checking for program python2.7-config    : not found 
 Checking for program python-config-2.7   : not found 
 Checking for header Python.h             : yes 
 Checking for program pkg-config          : /usr/bin/pkg-config 
 Checking for 'cairo' &gt;= 1.10.2           : not found 
 The configuration failed
(complete log in /home/barry/graphite/py2cairo/build_directory/config.log)
</code></pre>
