[Mono-osx] Mono 64 Bit Framework for Mac OS X Yosemite

Dave dave at looktowindward.com
Thu Jul 16 18:34:44 UTC 2015


Hi All,

I’d like to use the Mono Framework coupled with Dubrovnik, but I can’t seem to figure out how to produce a 64 bit framework file.

Firstly, is there a 64 Bit version of the Mono Framework available anywhere?


If not, then I’m trying to follow the instructions at:

http://www.mono-project.com/docs/compiling-mono/mac/ <http://www.mono-project.com/docs/compiling-mono/mac/>

I installed the dependancies using HomeBrew and this seemed to work ok.

My first confusion is from the page above:

It is strongly advised not to install Mono from source in /usr as it might conflict with Mono as installed by the Mono package.

PREFIX=/usr/local

# Ensure you have write permissions to /usr/local

mkdir $PREFIX
sudo chown -R `whoami` $PREFIX

Firstly, should PREFIX be set = to /usr/local or not? If yes, when what is the point of the warning above? If not, when what should it be set to. I’m not sure if it matters in this case, since I used Home-brew, but I’m wondering if this causes a problem later in the process - see further on.

After installing the dependancies I see this from the above URL:

Building Mono From a Git Source Code Checkout

To build Mono from a Git Source Code checkout, you will want to have the official Mono installed on the system, as the build requires a working C# compiler to run. Once you do this, run the following commands, remember to replace PREFIX with your installation prefix that you selected:

PATH=$PREFIX/bin:$PATH

git clone https://github.com/mono/mono.git <https://github.com/mono/mono.git>
cd mono 
./autogen.sh --prefix=$PREFIX --disable-nls
make
make install

What should prefix be set to? 

I haven’t done any serious Unix hacking in so long and I really not sure if the command above should be in .sh files? I put them into a .sh file and ran it with PREFIX set to /usr/local (having manually created it) and now it’s populated. Do I need to clean it out before attempting to do this again?

Any help on this would be greatly appreciated and if anyone has the latest Mono Framework already built or knows of some clearer or cleaner way of making a 64 bit version that would be the icing on the cake!

Thanks a lot
All the Best
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20150716/b26a5a24/attachment.html>


More information about the Mono-osx mailing list