[Mono-osx] (DESPERATE!!) Getting Mono to work with Apache in Mac OS X Leopard

Asle Benoni asle.benoni at gmail.com
Tue Aug 18 17:50:12 EDT 2009

Now I may not have any idea of what I am fooling around with but when  
I put a page now called "index.aspx" in the web folder (http://borchbio.no/index.aspx 
) -> and it shows up, doesn't that mean that mod_mono works??

I combined a little here and there, thanks for all suggestions. Please  
bear with me as I am a complete newbie to this stuff.

First I installed macports from scratch and did the stuff ETO  
suggested all the way up to configure (take a look at start of the  

I looked at this thread which I have visited before and decided to try  
his config line:

--First I found out I needed this:
# sudo port install pkgconfig

--The configure had to be changed since I am using standard apxs,  
apri-1-config and apu-1-config. I recall someone wrote that the built  
in libs on OSX 10.5 are 64-bit?
#./configure CFLAGS="-m64" --with-apxs=/usr/sbin/apxs --with-apr- 
config=/usr/bin/apr-1-config --with-apu-config=/usr/bin/apu-1-config

Sure enough mod_mono.so in /usr/libexec/apache2 is a symblink to  
mod_mono.0.0.0.so so I copied it there from the mod_mono dir I was  
working with.../src .lib/mod_mono.0.0.0.so (yes that lib is a hidden  

#cp mod_mono.0.0.0.so /usr/libexec/apache2/

I have not done anything to tweak apache yet. Will try tomorrow to run  
some dotnet apps!


Den 18. aug.. 2009 kl. 21.55 skrev Asle Benoni:

> Ok. Sorry for that. No I don't know what it is but I still need to  
> get mod_mono to work on my OS X apache.
> Will wait for the gurus. Hope I give back some later!
> /asle
> 2009/8/18 Andrew Jorgensen <ajorgensen at novell.com>
> It the C SDK for embedding mono in another application (apache, for  
> instance).  It is not required for the normal usage of compiling and  
> running mono applications.
> If you don't know what it is you don't need it.
> >>> Asle Benoni <asle.benoni at gmail.com> 8/18/2009 1:46 PM >>>
> Excuse me bu I really have no idea what CSDK is. Should I?
> /asle
> 2009/8/18 Andrew Jorgensen <ajorgensen at novell.com>
> >  >>   Can you put up a link to the CSDK please?
> > Just that ^^
> >
> > >>> Asle Benoni <asle.benoni at gmail.com> 8/18/2009 12:01 PM >>>
> > What is done?
> >
> >
> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20090818/ca19ee8e/attachment.html 

More information about the Mono-osx mailing list