I'm trying to install GTK# on my Mac (OS X 10.3.8, XCode 1.5)
I've installed the latest Mono.framework 1.1.5
I've installed Fink
Updated to CVS
Updated to unstable
Updated all Core packages
Installed gnome and gtkhtml3 from fink
Downloaded gtk-sharp-1.0.8
then did
export PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
the in the gtk-sharp-1.0.8 folder i ran
./configure --prefix=/Library/Frameworks/Mono.framework/Versions/Current
and got the following error
checking for pkg-config... /sw/bin/pkg-config
checking for mono >= 0.96... Package mono was not found in the pkg-config search path.
Perhaps you should add the directory containing `mono.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mono' found
checking for csc.exe... no
configure: error: You need to install either mono or .Net
So i did
export PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig
then ran
./configure --prefix=/Library/Frameworks/Mono.framework/Versions/Current
this time with no errors but the following warnings
Configuration summary
* Installation prefix = /Library/Frameworks/Mono.framework/Versions/Current
* C# compiler: /usr/bin/mcs
Optional assemblies included in the build:
* art-sharp.dll: yes
* gnome-sharp.dll: yes
* glade-sharp.dll: yes
* gda-sharp.dll: no
* gnomedb-sharp.dll: no
* rsvg-sharp.dll: yes
* gtkhtml-sharp.dll: yes
* vte-sharp.dll: yes
NOTE: if any of the above say 'no' you may install the
corresponding development packages for them, rerun
autogen.sh to include them in the build.
I then ran Make and got the following error
cp ../gtk-sharp.snk .
/usr/bin/mcs /unsafe /out:atk-sharp.dll /target:library /r:../glib/glib-sharp.dll AssemblyInfo.cs generated/*.cs
Unhandled Exception: System.ExecutionEngineException: SIGILL
make[2]: *** [atk-sharp.dll] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any ideas?
Thanks,
Andrew
