ramkrishanbhatt / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

Need to implement build scripts for Windows platform. #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Build scripts currently only support UNIX platform. Need to implement some
build scripts for Windows platform.

The simplest way of doing this may be to use Python distutils mechanism in
much the same way that mod_python does for building mod_python on Windows.

Original issue reported on code.google.com by Graham.Dumpleton@gmail.com on 11 Mar 2007 at 7:43

GoogleCodeExporter commented 8 years ago
A distutil style script provided by Nicolas Lehuen can be found at:

  http://nicolas.lehuen.com/download/mod_wsgi/

An alternate set of scripts to generate Visual Studio projects files provided 
by Adal
Chiriliuc can be found at:

  http://adal.chiriliuc.com/temp/win32.zip

Need to come up with something from these to include. Will aim to to do this in 
later
release and not version 1.0.

Original comment by Graham.Dumpleton@gmail.com on 7 Aug 2007 at 8:52

GoogleCodeExporter commented 8 years ago
How about scons? http://www.scons.org/

I have been successfully using it to build my projects on Win32, Linux and 
FreeBSD.
You need to have Python to build mod_wsgi anyway and scons does not need any
dependencies apart from a working Python. You can also package stand-alone 
scons with
mod_wsgi to save users of having to download and install scons itself.

Original comment by nimrod.a...@gmail.com on 30 Jul 2008 at 8:22

GoogleCodeExporter commented 8 years ago
Compiler requirements appear to be:

  Python 2.3 - VC6
  Python 2.4 - VS2003
  Python 2.5 - VS2003
  Python 2.6 - VS2008

Original comment by Graham.Dumpleton@gmail.com on 3 Mar 2009 at 5:02

GoogleCodeExporter commented 8 years ago
Other requirements. Need to have installed Apache as 'Custom Install' and 
enable installation of 'Build Headers 
and Libraries' component.

Original comment by Graham.Dumpleton@gmail.com on 3 Mar 2009 at 5:26

GoogleCodeExporter commented 8 years ago
One cannot use mod_wsgi 2.3 tarball for build. If you do, you must at least 
make change:

Index: mod_wsgi.c
===================================================================
--- mod_wsgi.c  (revision 1029)
+++ mod_wsgi.c  (revision 1030)
@@ -10036,6 +10036,7 @@

 static void wsgi_hook_child_init(apr_pool_t *p, server_rec *s)
 {
+#if defined(MOD_WSGI_WITH_DAEMONS)
     WSGIProcessGroup *entries = NULL;
     WSGIProcessGroup *entry = NULL;

@@ -10053,6 +10054,7 @@
             entry->listener_fd = -1;
         }
     }
+#endif

     /* Setup Python in Apache worker processes. */

Original comment by Graham.Dumpleton@gmail.com on 3 Mar 2009 at 6:32

GoogleCodeExporter commented 8 years ago
Latest scripts provided by user for building mod_wsgi with Python 2.6 attached 
to discussion:

  http://groups.google.com/group/modwsgi/browse_thread/thread/2c214e9a51603bec

This apparently includes an actual mod_wsgi.so binary for Python 2.6/Apache 2.2.

Original comment by Graham.Dumpleton@gmail.com on 4 Mar 2009 at 12:19

GoogleCodeExporter commented 8 years ago
Any chance to host pre-compiled binaries for windows?
Thank you.

Original comment by ivan.mel...@gmail.com on 31 Mar 2009 at 5:32

GoogleCodeExporter commented 8 years ago
Latest binaries are available for Python 2.4/2.5 at:

  http://adal.chiriliuc.com/mod_wsgi/

am trying to compile them myself for next release. May only be able to provide 
Python 2.6 binaries though.

Original comment by Graham.Dumpleton@gmail.com on 31 Mar 2009 at 8:25

GoogleCodeExporter commented 8 years ago
Some 64 bit binaries for Windows at:

  http://siyobik.info/wsgi/

Original comment by Graham.Dumpleton@gmail.com on 12 Apr 2009 at 11:49

GoogleCodeExporter commented 8 years ago
Makefiles for Windows builds included in subversion trunk for 3.0.

Original comment by Graham.Dumpleton@gmail.com on 6 Jul 2009 at 10:29

GoogleCodeExporter commented 8 years ago
Version 3.0 of mod_wsgi now released with makefiles for Windows when using 
Python 2.6 and 3.1.

Original comment by Graham.Dumpleton@gmail.com on 22 Nov 2009 at 2:47