Hi Tiago,
thanks for your response, but unfortunately it still does not work.
Actually, both directories /usr/local/Cellar/py2cairo/1.10.0/include/pycairo/ and /usr/local/include/pycairo contain a file pycairo.h.
So, I  tried to pass each of these two directories to the CPPFLAGS, but I am getting the same configuration error, ie.
checking pkg-config is at least version 0.9.0... yes
checking for CAIROMM... yes
checking python module: cairo... yes
checking pycairo/pycairo.h usability... no
checking pycairo/pycairo.h presence... no
checking for pycairo/pycairo.h... no
configure: error: pycairo headers not found

Then I have reinstall pycairo with  brew uninstall py2cairo & brew install py2cairo

and I tried again, but unsuccessfully,

Any other ideas?

On Monday, December 16, 2013 10:06:03 AM UTC+1, Tiago Peixoto wrote:
On 12/13/2013 04:17 PM, Nikos Kouvaris wrote:
> actually he is looking fot the the pycairo.h in the directory /usr/local/include/pycairo,
> while in my systems it seems to be installed in /usr/local/Cellar/py2cairo/1.10.0/include/pycairo
> How I can pass mine  pycairo.h directory to the configuration ?

The following should probably work:



Tiago de Paula Peixoto <ti...@skewed.de>