Cannot find Python.h when configuring pycairo 1.10.0 -


i trying setup pycairo in virtualenv setup fails when searching python.h header file

(draw)[root@collabdraw pycairo]# python ./waf configure --prefix=/usr   ./options() setting top                           : /root/pycairo  setting out                           : /root/pycairo/build_directory    ./configure() checking 'gcc' (c compiler)          : /usr/bin/gcc  checking program python              : /root/virtualenvt/draw/bin/python  checking python version              : (3, 2, 0, 'final', 0)  checking library python3.2 in libdir : not found  checking library python3.2 in python_libpl : not found  checking library python3.2 in $prefix/libs : not found  checking library python32 in libdir        : not found  checking library python32 in python_libpl  : not found  checking library python32 in $prefix/libs  : not found  checking program /root/virtualenvt/draw/bin/python-config,python3.2-config,python-   config-3.2,python3.2m-config : /root/virtualenvt/draw/bin/python3.2-config  checking header python.h                                                                                       : :-(  asking python-config flags (pyembed)                                                                       : yes  getting pyembed flags python-config                                                                           : yes  asking python-config flags (pyext)                                                                         : yes  getting pyext flags python-config                                                                             : not build python extensions  configuration failed (complete log in /root/pycairo/build_directory/config.log) 

any ideas why python ./waf configure --prefix=/usr cannot find python.h? file located in virtaulenv directory

(draw)[root@collabdraw pycairo]# ls ~/virtualenvt/draw/include/python3.2m/python. python.h  ##### file 


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -