[MonoDevelop] MonoDevelop on Mac OS X (building from SVN/2.0 and the binary package)

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Apr 27 23:17:29 EDT 2009


On Tue, Apr 21, 2009 at 7:38 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
>> I also tried building from source using both the current SVN, and the
>> MonoDevelop 2.0 source. What I did was to use the configure options
>> from ../profile/mac from the SVN version.
>> Both are successful (although with some warnings...) and produce a
>> binary runnable with 'make run'. What happens though is that
>> MonoDevelop launches fine but when using some elements such as
>> editing a file or producing project Makefiles it just throws an error
>> related with libglib-2.0.dylib. A stack trace can be found here:
>> http://pastebin.com/m606ce7f3 (note the "ERROR [2009-04-18
>> 23:50:31Z]: System.DllNotFoundException: libglib-2.0.dylib").
>
> I wonder if that's 10.4-specific too. Are you using Mono 2.4 from the installer?
>
> You might be able to fix it by putting libglib-2.0.dylib is in the
> LD_LIBRARY PATH, if that applies to Macs.

Ah, I just realised what this is. The "make run" command wasn't
written for Macs, so isn't setting the DYLD_FALLBACK_LIBRARY_PATH like
the Mac launch script does.

Note that on Mac you can "cd main/build/MacOSX", then "make" will
build you a MonoDevelop.app package:
http://monodevelop.com/Developers/Mac_Support

The Mac launch scripts are in that directory too.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list