Issue 66 in pywebkitgtk: Configure fails on mingw32 for windows

37 views
Skip to first unread message

pyweb...@googlecode.com

unread,
Jun 14, 2012, 8:18:28 AM6/14/12
to pyweb...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 66 by lo...@obsidian.com.au: Configure fails on mingw32 for
windows
http://code.google.com/p/pywebkitgtk/issues/detail?id=66

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

pyweb...@googlecode.com

unread,
Dec 6, 2012, 7:21:30 PM12/6/12
to pyweb...@googlegroups.com

Comment #1 on issue 66 by xiaomu89...@gmail.com: Configure fails on mingw32
for windows
http://code.google.com/p/pywebkitgtk/issues/detail?id=66

I encountered the problem

Attachments:
问题.jpg 97.3 KB

Reply all
Reply to author
Forward
0 new messages