[Gtk-sharp-list] Compiling on Mac OS X

Jason Cone jcone@sbcglobal.net
Sun, 21 Mar 2004 19:52:09 -0600

I've compiled and installed Mono 0.31 on my Mac (OS X 10.3.3) and now 
I'm trying to compile GTK#.  I checked out the source code from CVS, 
used Fink to install some of dependencies (e.g. gtk+2 and gtk+2-dev), 
found out I needed to make sure my mono.pc file was in 
/sw/lib/pkgconfig, and successfully ran autogen.sh.  However, when I 
run make I'm getting an error (here's the tail of the output):

Making all in gtk
Making all in .
/usr/local/bin/mcs --unsafe /out:gtk-sharp.dll /target:library 
/r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll 
/r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll ./Application.cs 
./ITreeNode.cs ./NodeStore.cs ./ThreadNotify.cs ./TreeNodeAttribute.cs 
./TreeNode.cs ./TreeNodeValueAttribute.cs generated/*.cs

Unhandled Exception: System.NullReferenceException: Object reference 
not set to an instance of an object
make[3]: *** [gtk-sharp.dll] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Unfortunately, that's not much information for me to go on, and I'm not 
sure what the problem is.  Can anyone point me in the right direction?