Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure fails on mingw32 for windows #66

Open
GoogleCodeExporter opened this issue Nov 26, 2015 · 1 comment
Open

Configure fails on mingw32 for windows #66

GoogleCodeExporter opened this issue Nov 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 14 Jun 2012 at 12:18

@GoogleCodeExporter
Copy link
Author

I encountered the problem

Original comment by [email protected] on 7 Dec 2012 at 12:21

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant