I tried to install py2cairo in my python 2.7.6. I downloaded the source package from http://cairographics.org/pycairo/, and unzipped the file:
tar xvfj py2cairo-1.10.0.tar.bz
According to the installing steps, I changed the current directory:
cd py2cairo-1.10.0/
and did config. by waf:
./waf configure --prefix=/usr
But the execution stopped reporting the error:
./options()
Setting top to : /home/ruofan/Boost/py2cairo-1.10.0
Setting out to : /home/ruofan/Boost/py2cairo-1.10.0/build_directory
./configure()
Checking for 'gcc' (c compiler) : ok
Checking for program python : /usr/bin/python
Checking for python version : (2, 7, 6, 'final', 0)
Checking for library python2.7 : yes
Checking for program python2.7-config : /usr/bin/python2.7-config
command ['/usr/bin/python', '/usr/bin/python2.7-config', '--includes'] returned 1
How can I solve the problem?