[MonoDevelop] MonoDevelop on Mac OS X
Thu, 20 May 2004 08:32:13 -0400 (EDT)
I've posted some crude instructions for getting MonoDevelop to run on Mac
OS X, in case this helps anyone. They are up at:
But here's a copy for the permanent record:
* Install Fink.
* Configure Fink to use the unstable repository.
* Install mono, gtk-sharp, gecko-sharp, gtksourceview-sharp, and
probably a bunch of other stuff (monodevelop will let you know
what's needed when you run ./configure) using "fink install". When
you come to gtk-sharp, you might have a problem with a gtk+2
dependency, so if this happens, edit
change all occurrences of "gtk+2 (>= 2.2.4-3)" to "gtk+2 (>=
* Install mozilla with fink. This will take a veeeery long time if
you do it from source, so if you don't mind mixing source/binary
installations, just do "sudo apt-get install mozilla". If you
don't have mozilla installed, the monodevelop script will appear
to hang ("cat `which mozilla`" turns into "cat") when you launch
* Download MonoDevelop 0.3, extract it, set
CPPFLAGS=-I/sw/include, CFLAGS=-I/sw/include, and
LDFLAGS=-L/sw/lib, and then run ./configure in the top-level
* Edit Main/Base/Makefile and change CSC = mcs /debug to CSC = mcs.
This prevented a NullReferenceException while compiling that part
of the code.
* make and then sudo make install
* Mono seems to be a little confused about how to handle DllImport
on Mac OS X, so we need to help it. You'll need to make the
$ cd /sw/lib
$ sudo ln -s libgtk-x11-2.0.dylib libgtk-x11-2.0.so.0
$ sudo ln -s libgnomevfs-2.dylib libgnomevfs-2.so
$ sudo ln -s libgtksourceview-1.0.dylib libgtksourceview-1.0.so
$ sudo ln -s libglib-2.0.dylib libglib-2.0.so
# Update 5/18/2004:
$ sudo ln -s libglib-2.0.dylib libglib-2.0.so.0
$ cd /usr/local/lib/monodevelop/bin/
$ sudo ln -s libgdldock.dylib libgdldock.so
$ sudo ln -s libmonodevelop.dylib libmonodevelop.so
* Open up X11, start an xterm, and run /usr/local/bin/monodevelop.
All advice, suggestions, criticisms are welcome!