Essentially a duplicate of issue 17, but no one seems to be re-opening it
http://code.google.com/p/pywebkitgtk/issues/detail?id=17
Attempting to configure on windows fails
checking for a Python interpreter with version >= 2.4... python
checking for python... /c/Python27/python
checking for python version... 2.7
checking for python platform... win32
checking for python script directory... ${prefix}\Lib\site-packages
checking for python extension module directory...
${exec_prefix}\Lib\site-packages
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers
I'm not sure on how to best fix it so it's multi-platform, but multiple places
get the libary path wrong on windows (should be c:\python2x\include- or
/c/Python2x/include)
Specifically:
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
fi
should be on windows:
PYTHON_INCLUDES="-I${py_prefix}/include"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include"
fi
Original issue reported on code.google.com by lo...@obsidian.com.au on 14 Jun 2012 at 12:18
Original issue reported on code.google.com by
lo...@obsidian.com.au
on 14 Jun 2012 at 12:18