I am trying to build architecture specific binaries of gtk-sharp2. So far I have been unable to get gtk-sharp2 to build even without specifying a specific architecture. I got the source with apt-get source gtk-sharp2 and attempted ./configure, make, but it fails to build with the error message:
Code: Select all
No rule to make target 'thread.c', needed by 'thread.lo'.
I've also tried downloading the source directly from the mono project
http://www.mono-project.com/docs/gui/gtksharp/, but when building it fails with
Code: Select all
#error "Only <glib.h> can be included directly."
This site
http://www.sourcemage.org/issues/407 provides a patch to fix the error, but when I applied it I got the same error.
I think the Debian version applied the patch correctly, but for some reason I still get that other error message.
Can anyone try this build and see if they can reproduce the results/see where I went wrong? Thanks.
EDIT: These message outputted by configure may point to the problem:
"checking if gcc supports -fno-rtti -fno-exceptions... no"
"./configure: line 12920: enable_msi: command not found"