When you plan to make mod_wsgi for Python 3.2 available for windows
compilation?

On 22 авг, 02:40, Graham Dumpleton <[email protected]> wrote:
> I forgot that I haven't yet updated mod_wsgi 4.0 code to build on windows
> after code reorganization. Sorry you will need to wait.
>
>
>
>
>
>
>
>
>
> On Monday, 22 August 2011, Michael Benin <[email protected]> wrote:
> > Cloned source with Mercurial:  https://code.google.com/p/modwsgi/
> > In the folder there is win32-ap22py31.mk
> > Renamed it: win32-ap22py32.mk
> > Modified directories to correspond to settings:
> > --------------------------------------------------------------------
> > CPPFLAGS = \
> >  /DWIN32 \
> >  /DNDEBUG \
> >  /I"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include" \
> >  /I"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include" \
> >  /I"c:\Program Files\Apache Software Foundation\Apache2.2\include" \
> >  /I"c:\Python32\include"
> > CFLAGS = \
> >  /MD \
> >  /GF \
> >  /Gy \
> >  /O2 \
> >  /Wall \
> >  /Zc:wchar_t \
> >  /Zc:forScope
> > LDFLAGS = \
> >  /link \
> >  "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib" \
> >  "/LIBPATH:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib" \
> >  "/LIBPATH:c:\Program Files\Apache Software Foundation\Apache2.2\lib" \
> >  "/LIBPATH:c:\Python32\libs" \
> >  /OPT:REF \
> >  /OPT:ICF=2 \
> >  /RELEASE \
> >  /SUBSYSTEM:WINDOWS
> > LDLIBS = \
> >  python32.lib \
> >  libhttpd.lib \
> >  libapr-1.lib \
> >  libaprutil-1.lib
> > SRCFILES = wsgi_apache.c wsgi_convert.c wsgi_validate.c
> > mod_wsgi.so : mod_wsgi.c $(SRCFILES)
> > cl $(CPPFLAGS) $(CFLAGS) $< $(SRCFILES) /LD $(LDFLAGS) $(LDLIBS) /OUT:$@
> >         mt -manifest [email protected] -outputresource:$@;2
> > clean :
> > del *.obj *.so *.so.manifest *.lib *.exp
>
> ------------------------------------------------------------------------------------->
>  Command Prompt Output:
> > Setting environment for using Microsoft Visual Studio 2010 x86 tools.
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd
>
> C:\Users\User\Desktop\> testing
> > C:\Users\User\Desktop\testing>nmake -f win32-ap22py32.mk
> > Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> > NMAKE : warning U4006: special macro undefined : '$<'
> >         cl /DWIN32  /DNDEBUG  /I"C:\Program Files (x86)\Microsoft Visual
> Studio
> > 10.0\VC\include"  /I"C:\Program Files (x86)\Microsoft
>
> SDKs\Windows\v7.0A\Include
>
>
>
>
>
>
>
> > "  /I"c:\Program Files\Apache Software Foundation\Apache2.2\include"
>  /I"c:\Pyth
> > on32\include" /MD  /GF  /Gy  /O2  /Wall  /Zc:wchar_t  /Zc:forScope
>  wsgi_apache.
> > c wsgi_convert.c wsgi_validate.c /LD /link  "/LIBPATH:C:\Program Files
> (x86)\Mic
> > rosoft Visual Studio 10.0\VC\lib"  "/LIBPATH:C:\Program Files
> (x86)\Microsoft SD
> > Ks\Windows\v7.0A\Lib"  "/LIBPATH:c:\Program Files\Apache Software
> Foundation\Apa
> > che2.2\lib"  "/LIBPATH:c:\Python32\libs"  /OPT:REF  /OPT:ICF=2  /RELEASE
>  /SUBSY
> > STEM:WINDOWS python32.lib  libhttpd.lib  libapr-1.lib  libaprutil-1.lib
> /OUT:mod
> > _wsgi.so
> > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
>
> 16.00.30319.01 <tel:16.00.30319.01> for 80x86
>
>
>
>
>
>
>
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> > wsgi_apache.c
> > c:\users\user\desktop\testing\wsgi_apache.h(38) : fatal error C1083:
> Cannot open
> >  include file: 'httpd.h': No such file or directory
> > wsgi_convert.c
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(56) :
> warnin
> > g C4820: '_finddata32i64_t' : '4' bytes padding added after data member
> 'name'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(60) :
> warnin
> > g C4820: '_finddata64i32_t' : '4' bytes padding added after data member
> 'attrib'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(69) :
> warnin
> > g C4820: '__finddata64_t' : '4' bytes padding added after data member
> 'attrib'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(74) :
> warnin
> > g C4820: '__finddata64_t' : '4' bytes padding added after data member
> 'name'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(122) :
> warni
> > ng C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member
> 'attri
> > b'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(127) :
> warni
> > ng C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member
> 'name'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(131) :
> warni
> > ng C4820: '_wfinddata64_t' : '4' bytes padding added after data member
> 'attrib'
> > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\basetsd.h(114)
> : war
> > ning C4668: '__midl' is not defined as a preprocessor macro, replacing
> with '0'
> > for '#if/#elif'
> > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\basetsd.h(424)
> : war
> > ning C4668: '_WIN32_WINNT' is not defined as a preprocessor macro,
> replacing wit
> > h '0' for '#if/#elif'
> > c:\python32\include\pyport.h(206) : warning C4668: 'SIZEOF_PID_T' is not
> defined
> >  as a preprocessor macro, replacing with '0' for '#if/#elif'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(162)
> : war
> > ning C4211: nonstandard extension used : redefined extern to static
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(91) :> warning C4820: '_stat32' : '2' bytes 
> padding added after data member
> 'st_gid'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(107) :>  warning C4820: 'stat' : '2' bytes padding 
> added after data member
> 'st_gid'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(123) :>  warning C4820: '_stat32i64' : '2' bytes 
> padding added after data member
> 'st_gid
> > '
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(124) :>  warning C4820: '_stat32i64' : '4' bytes 
> padding added after data member
> 'st_rde
> > v'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(128) :>  warning C4820: '_stat32i64' : '4' bytes 
> padding added after data member
> 'st_cti
> > me'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(137) :>  warning C4820: '_stat64i32' : '2' bytes 
> padding added after data member
> 'st_gid
> > '
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(151) :>  warning C4820: '_stat64' : '2' bytes 
> padding added after data member
> 'st_gid'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(152) :
>
>
>
>
>
>
>
> >  warning C4820: '_stat64' : '4' bytes padding added after data member
> 'st_rdev'
> > c:\python32\include\pytime.h(21) : warning C4820: '<unnamed-tag>' : '4'
> bytes pa
> > dding added after data member 'tv_usec'
> > c:\python32\include\bytesobject.h(41) : warning C4820: '<unnamed-tag>' :
> '3' byt
> > es padding added after data member 'ob_sval'
> > c:\python32\include\longintrepr.h(92) : warning C4820: '_longobject' : '2'
> bytes
> >  padding added after data member 'ob_digit'
> > c:\python32\include\pystate.h(83) : warning C4820: '_ts' : '2' bytes
> padding add
> > ed after data member 'recursion_critical'
> > c:\python32\include\pythonrun.h(172) : warning C4255: '_Py_CheckPython3' :
> no fu
> > nction prototype given: converting '()' to '(void)'
> > c:\Python32\include\node.h(12) : warning C4820: '_node' : '2' bytes
> padding adde
> > d after data member 'n_type'
> > wsgi_convert.c(71) : warning C4127: conditional expression is constant
> > wsgi_convert.c(113) : warning C4127: conditional expression is constant
> > wsgi_convert.c(121) : warning C4127: conditional expression is constant
> > wsgi_convert.c(155) : warning C4127: conditional expression is constant
> > wsgi_validate.c
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(56) :
> warnin
> > g C4820: '_finddata32i64_t' : '4' bytes padding added after data member
> 'name'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(60) :
> warnin
> > g C4820: '_finddata64i32_t' : '4' bytes padding added after data member
> 'attrib'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(69) :
> warnin
> > g C4820: '__finddata64_t' : '4' bytes padding added after data member
> 'attrib'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(74) :
> warnin
> > g C4820: '__finddata64_t' : '4' bytes padding added after data member
> 'name'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(122) :
> warni
> > ng C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member
> 'attri
> > b'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(127) :
> warni
> > ng C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member
> 'name'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\io.h(131) :
> warni
> > ng C4820: '_wfinddata64_t' : '4' bytes padding added after data member
> 'attrib'
> > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\basetsd.h(114)
> : war
> > ning C4668: '__midl' is not defined as a preprocessor macro, replacing
> with '0'
> > for '#if/#elif'
> > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\basetsd.h(424)
> : war
> > ning C4668: '_WIN32_WINNT' is not defined as a preprocessor macro,
> replacing wit
> > h '0' for '#if/#elif'
> > c:\python32\include\pyport.h(206) : warning C4668: 'SIZEOF_PID_T' is not
> defined
> >  as a preprocessor macro, replacing with '0' for '#if/#elif'
> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(162)
> : war
> > ning C4211: nonstandard extension used : redefined extern to static
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(91) :> warning C4820: '_stat32' : '2' bytes 
> padding added after data member
> 'st_gid'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(107) :>  warning C4820: 'stat' : '2' bytes padding 
> added after data member
> 'st_gid'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(123) :>  warning C4820: '_stat32i64' : '2' bytes 
> padding added after data member
> 'st_gid
> > '
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(124) :>  warning C4820: '_stat32i64' : '4' bytes 
> padding added after data member
> 'st_rde
> > v'
> > C:\Program Files (x86)\Microsoft Visual Studio
>
> 10.0\VC\include\sys/stat.h(128) :
>
>
>
>
>
>
>
> >  warning...
>
> продолжение »

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to