PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
See?
Gtk# is a library for creating cross-platform GUIs for your Mono/.NET programs. Gtk# itself has no executables, only libraries for you to link with from your own code.
As Xcode doesn't yet support development with Mono, you're probably better off using a rather advanced text editor like VIM, Emacs, or whatever cool editor you have on a Mac for writing for your applications. (I think Panther actually comes with vim or gvim.)
Since you must have Gtk+ (in addition to Gtk#), you can probably find Glade in one of those bins on your system as well. This will help design your GUIs.
I don't know much about Mac OS X, but I hoped this helped. You might also want to check out Cocoa#, here: http://www.lormyr.com/cocoaSharp/ Last I checked, it was in an early stage of development, but I believe it's going to be included in Mono 1.2.
On Thu, 2005-02-24 at 13:50 +0100, [EMAIL PROTECTED] wrote:
First of all thanks are in order to roel and Jonathan Pryor for their answers to my earlier question ("Very newbie question about installing gtk# on Mac OSX 10.3.8").
Anyway...
I can't start up Gtk#.
I have installed Mono downlaoded from http://www.go-mono.com/archive/1.1.4/macos/MonoFramework-1.1.4.dmg. (It installs version 1.0.5)
I have changed my shell to bash, removed the old installation of fink and made a fresh installation, updated to CVS, updated to unstable, selfupdated, indexed, and installed all of the remaining packages via fink (copy/pasted the part form the instructions on "http://www.mono-project.com/using/macos.html" into the Terminal).
I entered: "export PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig" in Terminal and pressed return. I used env in Terminal to check for a result, and lo and behold, the PKG_CONFIG_PATH was there.
I entered "PATH=/usr/bin:$PATH" in Terminal and pressed return. I used env in Terminal to check for a result, but nothing was changed that I could see. My PATH still says:
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
(Although to tell the truth, I have no idea a change would be evident with 'env'...)
I have downloaded 'Gtk# 1.0.6' from http://www.mono-project.com/downloads/index.html. I put it on m desktop, extracted the archive, navigated to it in the Terminal and entered the following
./configure --prefix=/Library/Frameworks/Mono.framework/Versions/1.0.5
(Notice the difference in version number from the instructions on http://www.mono-project.com/using/macos.html.)
It did something without returning a lot of error messages. I rejoiced.
I then did 'make' the same place. Again it did something without returning a lot of error messages. I rejoiced!
Then I did 'make install', and again it did something without returning a lot of error messages, almost bringing tears in my eyes!
Lastly I entered "DYLD_LIBRARY_PATH=/sw/lib:/Library/Frameworks/Mono.framework/Versions/1.0.5/lib/" in Terminal (notice the DYLD, not DYLIB, and the presumably correct version number for mono).
I was all set. Onwards to glory!
Now, where do I double-click...?
I was under the impression, that all of this would install some sort of executable that I could either A) double-click, like for instance 'xgalaga' downloaded with fink, which opens in X11 when double-clicked, B) double-click like any other application in OSX (fat chance...), or C) open with a command of some sort, like "./gtk-sharp" in Terminal.
How does this work?
Sincerely,
Jens Larsen
(Almost there... :-) )
