[Mono-devel-list] mod_mono on windows - almost there

Angel Marin anmar at gmx.net
Thu Nov 11 16:41:13 EST 2004


> -----Mensaje original-----
> Mmm. All the sockets but the listener are set to block, so 
> that error is
> strange. Does the problem happen when you run mod-mono-server under MS
> runtime? Or only with mono runtime on windows?

If mod-mono-server is run under MS runtime, everything works as
expected. :?

Well I have a initial patch ready for testing (taking mod_mono 1.0.4 as
the base). I have tested with apache 2.0.52 and mono 1.0.4 under windows
and linux, and it looks like it's working. Mayor changes are:

 - Created Makefile.win for building with MS nmake.exe. It works just as
the makefiles of the Apache source distribution for win32. Instructions
to run it are contained in the Makefile.win file. Additionally it
depends on awk being on the path (just as apache builds).
 - Rewritten the fork part to use only apr functions.
 - Added some ifdefs to includes not found nor needed on windows.

Known issues:
 - It will only compile for Apache 2. It jet needs to be adapted to be
compatible with 1.3.

If someone can test this on different environments would be great.

Angel Marin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_mono-1.0.4-win32.patch
Type: application/octet-stream
Size: 12845 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041111/45978e77/attachment.obj 

More information about the Mono-devel-list mailing list