[Gtk-sharp-list] Compiling Gtk# 0.17 for PPC

Dmitriy Kostyuchenko dmitriyk@comcast.net
Thu, 18 Mar 2004 06:26:29 -0700


I've been using mono/Gtk# as my development environment on my Windows 
machine, but my primary programming computer is a PowerBook G4.  I 
would love to get Gtk# working on it, and I know it's possible, but so 
far I'm not having much luck.

I think I satisfied all of the required dependencies for Gtk# and some 
of the optional ones as well.  configure tells me:

    Optional assemblies included in the build:

       * gnome-sharp.dll: no
       * glade-sharp.dll: yes
       * gda-sharp.dll: yes
       * gnomedb-sharp.dll: no
       * rsvg-sharp.dll: no
       * gtkhtml-sharp.dll: no
       * vte-sharp.dll: no

But running 'sudo make' crashes with this error message:

mcs --unsafe --target library   \
-r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll   \
-o atk-sharp.dll --recurse '*.cs'
Compilation succeeded
mono ../parser/gapi-fixup.exe --api=gdk-api.xml --metadata=Gdk.metadata 
&& \
mono ../generator/gapi_codegen.exe --generate gdk-api.xml 
gdk-symbols.xml       \
--include ../atk/atk-api.xml ../pango/pango-api.xml --outdir=generated 
--customdir=.    \
--assembly-name=gdk-sharp && touch generated-stamp

** ERROR **: file mini-ppc.c: line 2273 (ppc_patch): should not be 
reached
aborting...
make[1]: *** [generated-stamp] Error 134
make: *** [binding] Error 1

Doesn't seem to be a standard dependency/DYLD_LIBRARY_PATH issue most 
people are having.  Does anyone know what could be causing this error?  
Does anyone, who has compiled Gtk# on MacOS X, have any suggestions for 
me?

Thanks.
-D