README 文件说:</p>
Dependencies
------------
cairo >= 1.10.0
Python >= 2.6
看来我需要先安装 cairo。但是如何安装“cairo”?
谢谢你的帮助。我安装了 libcairo2。但是当我执行命令'sudo python waf configure'时仍然有一些错误:
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' >= 1.10.2 : not found
The configuration failed
(complete log in /home/barry/graphite/py2cairo/build_directory/config.log)