[Mono-osx] Building Mono for /Users/Shared

thart timothy.hart at gmail.com
Tue Mar 29 10:14:36 EDT 2011

Good god that is ugly. Let's try that again. Always hit Preview Message.  

After chatting with a few helpful chaps on the irc channel I feel that I am
very close to getting this working. After a few hours of work last night
here is a write up of what I am trying. Again, any ideas would be helpful.

My Goal = A working mono environment available in /Users/Shared/ on OS X

The conversation I had last night is available at pastern: 
http://pastebin.com/N5mUTNH0 http://pastebin.com/N5mUTNH0 

After this conversation it seems that I should indeed be able to accomplish
my goal. Here are the steps I am going through. Where am I going wrong?

Step 1: Setting up my mono environment.
-Using the directions for setting up a parallel mono environment available
at:  http://www.mono-project.com/Parallel_Mono_Environments
http://www.mono-project.com/Parallel_Mono_Environments  I created the
following bash script.

export MONO_CONFIG=$MONO_PREFIX/etc/mono
PS1="[mono] \w @ "

I saved this as mono-dev-env into ~. Before running mono I entered the
environment using: source ~/mono-dev-env

Step 2: Getting and moving mono

-I was trying to build from source but after the conversation on irc last
night it seems I should be able to do the following.

1. Download Mono 2.6.7 Intel Framework

2. Right-click the package > Show Package Contents. Open the contents
folder. Double-click Archive.pax.gz to unarchive the file. It opens into
~/Download. Open this folder (it is named Library)

3. Navigate to Frameworks/Mono.Framework/Versions/2.6.7. Copy the contents
to /Users/Shared/Opensim/supportfiles/mono

Step 3: Running mono from /Users/Shared

-After entering my mono-dev-env from the CLI I enter the bin directory of
OpenSim (the application I am trying to use) and start OpenSim with this:

$ /Users/Shared/OpenSim/supportfiles/mono/bin/bin OpenSim.exe

Here is the latest roadblock:

[mono] /Users/Shared/MLTI_Sim/supportfiles/diva-r13981/bin @
/Users/Shared/OpenSim/supportfiles/mono/bin/mono OpenSim.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the

A quick search has led me to believe I am missing one of the mscor libs that
come with nant (as found here:
However, the file exists in
/Users/Shared/OpenSim/supportfiles/mono/lib/mono/2.0/mscorlib.dll. Mono is
still looking for it in the default install location. 

Thoughts at this point?

Also, would this be easier if one of the .dylib search paths was the mono
framework instead are hard coded paths? It seems that moving a mono install
on Windows is easy cheesy. The document I found here: 
lead me to believe I have to set my environment variables.

ps. I have also tried this with mono 2.4.3, 2.8, 2.10 with similar results.

View this message in context: http://mono.1490590.n4.nabble.com/Building-Mono-for-Users-Shared-tp3405521p3414941.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110329/427121ff/attachment.html 

More information about the Mono-osx mailing list