Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to Compile Mod_Python 3.3.1 for Python 2.6 and Apache 2.2 on Windows?
    primarykey
    data
    text
    <p>I have no experience compiling code other than using Visual Studio's Build command. I am hoping we can create a step by step guide for compiling mod_python on windows. Please be as descriptive as possible.</p> <p>This is what I've done so far:</p> <ol> <li>Download and install <a href="http://www.python.org/ftp/python/2.6.2/python-2.6.2.msi" rel="noreferrer">python 2.6.2</a></li> <li>Download and install <a href="http://apache.mirrors.tds.net/httpd/binaries/win32/apache_2.2.11-win32-x86-openssl-0.9.8i.msi" rel="noreferrer">apache 2.2.11</a></li> <li>Download the most recent source code for mod_python from <a href="https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk/" rel="noreferrer">svn</a></li> </ol> <p>From here I'm lost to what the next step is. I've downloaded Microsoft Visual C++ 2008 Express Edition.</p> <p>As mentioned by Hao I've already tried the tutorial mentioned in that link. Here is the error messages I'm receiving with that tutorial.</p> <pre><code>C:\mod_python\dist&gt;build_installer.bat Could Not Find C:\mod_python\src\*.obj running bdist_wininst running build running build_py creating build creating build\lib.win32-2.6 creating build\lib.win32-2.6\mod_python copying C:\mod_python\lib\python\mod_python\apache.py -&gt; build\lib.win32-2.6\mod _python copying C:\mod_python\lib\python\mod_python\cache.py -&gt; build\lib.win32-2.6\mod_ python copying C:\mod_python\lib\python\mod_python\cgihandler.py -&gt; build\lib.win32-2.6 \mod_python copying C:\mod_python\lib\python\mod_python\Cookie.py -&gt; build\lib.win32-2.6\mod _python copying C:\mod_python\lib\python\mod_python\importer.py -&gt; build\lib.win32-2.6\m od_python copying C:\mod_python\lib\python\mod_python\psp.py -&gt; build\lib.win32-2.6\mod_py thon copying C:\mod_python\lib\python\mod_python\publisher.py -&gt; build\lib.win32-2.6\ mod_python copying C:\mod_python\lib\python\mod_python\python22.py -&gt; build\lib.win32-2.6\m od_python copying C:\mod_python\lib\python\mod_python\Session.py -&gt; build\lib.win32-2.6\mo d_python copying C:\mod_python\lib\python\mod_python\testhandler.py -&gt; build\lib.win32-2. 6\mod_python copying C:\mod_python\lib\python\mod_python\util.py -&gt; build\lib.win32-2.6\mod_p ython copying C:\mod_python\lib\python\mod_python\__init__.py -&gt; build\lib.win32-2.6\m od_python running build_ext building 'mod_python_so' extension creating build\temp.win32-2.6 creating build\temp.win32-2.6\Release creating build\temp.win32-2.6\Release\mod_python creating build\temp.win32-2.6\Release\mod_python\src C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W 3 /GS- /DNDEBUG -DWIN32 -DNDEBUG -D_WINDOWS -IC:\mod_python\src\include -Ic:\apa che\include -IC:\Python26\include -IC:\Python26\PC /TcC:\mod_python\src\mod_pyth on.c /Fobuild\temp.win32-2.6\Release\mod_python\src\mod_python.obj mod_python.c c:\apache\include\ap_config.h(25) : fatal error C1083: Cannot open include file: 'apr.h': No such file or directory error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa iled with exit status 2 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload