[MonoDevelop] MonoDevelop 0.5 on OSX

Alessandro Lendaro alendaro1@virgilio.it
Sun, 11 Jul 2004 16:42:03 +0200


I followed the instructions on three different blogs.
I have installed dependencies through Fink without much trouble.

I compiled mono with --prefix=/sw and then set GDK_USE_XFT=0
and DYLD_LIBRARY_PATH="/sw/lib:/usr/lib:/usr/local/lib" before executing the
monodevelop command.

I then made symbolic links this way:
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.0

cd /usr/local/lib/monodevelop/bin/
sudo ln -s libgdldock.dylib libgdldock.so
sudo ln -s libmonodevelop.dylib libmonodevelop.so

I also tried changing the configuration settings of both mono and
gdl-sharp.dll.config

...but still monodevelop doesn't start when executing the monodevelop
command.
Then, trying to execute "mono MonoDevelop.exe" from the build dir, the
MD splash screen appears
and then I get this output:

Creating DefaultWorkbench
Loading error, please reinstall :
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IO.FileNotFoundException:
Could not find file "/Users/alessand".lendaro/Icon
in <0x0009c> System.IO.FileInfo:get_Length ()
in <0x000ac> (wrapper remoting-invoke-with-check)
System.IO.FileInfo:get_Length ()
in <0x00098> MonoDevelop.Gui.Pads.FileListItem:.ctor (string)
in <0x00188> MonoDevelop.Gui.Pads.FileScout:OnDirChanged (string)
in <0x002c0> MonoDevelop.Gui.Pads.FileScout:.ctor ()
in (unmanaged) (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
in <0x0008c> (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
in <0x000f4> System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x00168> System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x00060> System.Reflection.MonoCMethod:Invoke
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x0006c> System.Reflection.ConstructorInfo:Invoke (object[])
in <0x001a4> System.Activator:CreateInstance (System.Type,bool)
in <0x00020> System.Activator:CreateInstance (System.Type)
in <0x00068> System.Reflection.Assembly:CreateInstance (string,bool)
in <0x00034> System.Reflection.Assembly:CreateInstance (string)
in <0x0016c> MonoDevelop.Core.AddIns.AddIn:CreateObject (string)
in <0x00060> MonoDevelop.Core.AddIns.Codons.ClassCodon:BuildItem
(object,System.Collections.ArrayList,MonoDevelop.Core.AddIns.Conditions.ConditionCollection)
in <0x00220>
MonoDevelop.Core.AddIns.DefaultAddInTreeNode:BuildChildItems (object)
in <0x00098> MonoDevelop.Gui.DefaultWorkbench:UpdateViews
(object,System.EventArgs)
in <0x0006c> MonoDevelop.Commands.InitializeWorkbenchCommand:Run ()
in <0x00760> MonoDevelop.SharpDevelopMain:Main (string[])


I think there's  a problem with the user directory path but have no clue
about how to solve it.

I must say I had installed the Mono1.0 dmg downloaded from
www.go-mono.com (before installing 1.0 through fink),
I removed it from the Library/Frameworks folder, but don't know if any
settings / EV values were still wrong.

I'd also like to know if it's better use the --prefix=/usr or /sw and
what may be the different things to do thereafter.
If anybody is running successfully MonoDevelop 0.5 (or previous) on OSX,
could he post a complete
walthrough about how he did make it?

Thanks to everyone answering, Alessandro.