I would like to ask you a technical question regarding python module compilation for python 2.7.1. I want to compile mod_python <https://app.box.com/s/orsffo3t4g6h9ftkq6p1>library for Apache 2.2 and py2.7 <https://www.python.org/downloads/> on Win32 in order to use it for psp - py scripts that i have written. I tried to compile it using VS 2008 (VC++) and unfortunately i get an error on pyconfig.h (Py2.7/include) error C2632: int followed by int is illegal. This problem occurs when i try to run the bat file that exists on mod_python/dist folder. Any idea or suggestion what should i do in order to run it on Win 7 Pro (win 32) environment and produce the final apache executable module (.so). For your better assistance, i attach you the necessary files and error_log (ouput that i get during compilation process). I have posted the same question here <http://stackoverflow.com/questions/37696936/vc-compilation-error-in-pyconfig-h-vs-2008>, but unfortunately i had had no luck! Additionally i give you the compilation instructions that i follow (used also MinGW-w64 and get the same error) in order to produce the final output! Compiling Open a command prompt with VS2008 support. The easiest way to do this is to use "Start | All Programs | Microsoft Visual Studio 2008 | Visual Studio Tools | Visual Studio 2008 Command Prompt". (This puts the VS2008 binaries in the path and sets up the lib/include environmental variables for the Platform SDK.) 1.cd to the mod_python\dist folder. 2.Tell mod_python where Apache is: set APACHESRC=C:\Apache 3. Run build_installer.bat. If it succeeds, an installer.exe will be created in a subfolder. Run that install the module. Kind Regards Kostas Asimakopoulos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/787db14d/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: unistd.h Type: text/x-chdr Size: 1753 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/787db14d/attachment-0003.h> -------------- next part -------------- A non-text attachment was scrubbed... Name: getopt.h Type: text/x-chdr Size: 18564 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/787db14d/attachment-0004.h> -------------- next part -------------- A non-text attachment was scrubbed... Name: mod_python_error.docx Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document Size: 17248 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/787db14d/attachment-0001.docx> -------------- next part -------------- A non-text attachment was scrubbed... Name: pyconfig.h Type: text/x-chdr Size: 22098 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20160614/787db14d/attachment-0005.h>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4