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

Francisco T. Martinez martinf at mfconsulting.com
Thu Nov 11 05:29:35 EST 2004


Angel Marin wrote:

>Hi,
>
>  
>
>>-----Mensaje original-----
>>On Wed, 2004-11-10 at 20:09 +0100, Angel Marin wrote:
>>    
>>
>>>Hi,
>>>
>>>I've been working on a native win32 build of mod_mono (for apache
>>>2.0.52). Initially it's been easy, apr_ize a couple of 
>>>      
>>>
>>things, ifdefs
>>    
>>
>>>for other few and it compiled. :)
>>>      
>>>
>>Yuju! Finally someone is doing this!
>>    
>>
>
>I have started several times, but I have never had the time to finish :)
>
>[...]
>
>  
>
>>>So ... May be there are strange interactions between cygwin 
>>>      
>>>
>>sockets and
>>    
>>
>>>win32 native ones, or there may be some bug in mono, or in 
>>>      
>>>
>>aprlib, or I
>>    
>>
>>>need to work more on mod_mono code ...
>>>      
>>>
>>Is that using current CVS or 1.0.4? If not, you might be hitting at
>>least 2 bugs that only happen on windows and are already fixed.
>>    
>>
>
>Ups. forgot to mention that. 1.0.4, I don't have a cygwin installation
>working so testing CVS is hard.
>
>Regards,
>  
>
Angel:

I also stopped at the section in the code that relates to "Fork". I 
noticed that Apche's runtime has it's own mechanisms to spawn 
executables.  I am such a newbie when it comes to APR but pretty 
comfortable using Win32 SDK.  At first, my first impulse was to us a 
CreateProcess to launch mod-mono-server but then thought that it would 
be just as unportable than using Fork in Win32 for the *NIX systems.

I don't think that this is necessarily a terrible thing, but if one does 
want to keep a common code base as much as possible then APR functions 
may be the way to go.

I am engage in an effort to both deliver a Win32 installer for Mono 
1.1.x and to create a simplified and repeatable process for building 
that code base with Cygwin.  It is proving very difficult but I am 
making progress.  Once I have completed this release I am working on, I 
should be able to work alongside you to resolve the mod_mono on Win32 
objective.

Good job angel.

Paco
PS
Gonzalo is the man!




More information about the Mono-devel-list mailing list