Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install mod_mono on Mac OSX

I just started to develop website with mono+asp.net mvc2 on mac osx but I am quite new to mono and mac.

I have got things working from MonoDevelop. My website is running ok with XSP when I run it from MonoDevelop.

Now, I am trying to test it from Apache server, but I don’t know how to set things up. Some instruction I can found are all very old or incomplete. I tried a few of them, but none worked.

Could anyone please help me out?

like image 715
frostred Avatar asked May 11 '11 00:05

frostred


People also ask

Does mono work on Mac?

Mono supports macOS version 10.9 (Mavericks) and later. You can use Mono on macOS to build server, console and GUI applications. Read below for the options available for GUI application development. If you are interested in creating native GUI applications, use the MonoMac bindings and our MonoDevelop add-in.

How do I get mono on my Mac?

On your Mac, use the Audio pane of Accessibility preferences to make the screen flash when an alert occurs, play stereo sound as mono, and turn Spatial Audio on or off. To change these preferences, choose Apple menu > System Preferences, click Accessibility , then click Audio.

Is mono framework safe on Mac?

Mono is perfectly safe to install and use.... for those wondering, its basically a package that is open source and compatible with .


1 Answers

The best way to install mod_mono on OS X is from source. To do this there are a couple steps.

First, make sure you've installed XCode (which can be found on the DVD or the 2nd CD that came with the machine or the App Store) which will provide you with gcc and the rest of the standard toolchain.

Most of the normal in-between steps can be skipped, assuming you've already installed Mono and MonoDevelop from their stable release packages. If you encounter an error later on, you'll want to install updated versions of XSP and Mono and try again.

Next, download the latest stable release of mod_mono, extract the contents of the archive (by double clicking on the icon) and follow steps 1, 2 & 3 in the INSTALL file, and you should be good to go. This entire process took about ~5 minutes to get up and running :)

like image 111
TkTech Avatar answered Nov 15 '22 21:11

TkTech