[Gtk-sharp-list] RE: Installing GTK# for Mac Issues solved

Marcus Breese marcus@breese.com
Mon, 23 Aug 2004 13:10:24 -0500


I don't know if anyone is still interested in this thread, but I was
able to get Gtk# installed and working using the new 1.0.1 mono
build...

There are a couple of things that need to be different as opposed to
the Mac FAQ on the site
(http://www.mono-project.com/using/macos.html#gtk-sharp).  Also, some
of these modificiations came from this thread... (Chris and SA)

> Edit sample/rsvg/Makefile.in so that the long line starting  
> "assemblies"
> ends "../../art/art-sharp.dll ../../rsvg/rsvg-sharp.dll" instead of
> "../../rsvg/rsvg-sharp.dll".
(add ../../art/art-sharp.dll to the line)


#7
prefix=/Library/Frameworks/Mono.framework/Versions/1.0
needs to be
prefix=/Library/Frameworks/Mono.framework/Versions/Current

The line:
DYLIB_LIBRARY_PATH=/sw/lib:/Library/Frameworks/Mono.framework/Versions/ 
1.0/lib

needs to be:
DYLD_LIBRARY_PATH=/sw/lib:/Library/Frameworks/Mono.framework/Versions/ 
Current/lib

And then you need to export the following:
MONO_PATH="/Libary/Frameworks/Mono.framework/Libraries:/Libary/Frameworks/Mono.framework/Libraries/mono:/Libary/Frameworks/Mono.framework/Libraries/mono/gtk-sharp"

I did these things, and was able to run all of the samples.  It may
take a bit to load up the gnome parts, but the demos do work.