我尝试在Ubuntu和Debian上安装pycairo。 当我使用./waf configure时,会出现此错误。
./options()
Setting top to : /home/nathenqian/Documents/py2cairo
Setting out to : /home/nathenqian/Documents/py2cairo/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
有什么问题?我也试着用同样的结果。 ./waf configure --prefix=/usr --libdir=/usr/lib64