Tk on OSX

P

Phil Tomson

OK, I've finally joined the world of MacOS X. (It's good to be here:)

I want to quickly port some existing Ruby/Tk apps. I noticed that there
is an Aqua Version of Tk on the Apple downloads site. Would that work, or
should I just get the X-Windows version.

Phil
 
J

jason r tibbetts

Quoting Phil Tomson said:
OK, I've finally joined the world of MacOS X. (It's good to be here:)

I want to quickly port some existing Ruby/Tk apps. I noticed that there
is an Aqua Version of Tk on the Apple downloads site. Would that work, or
should I just get the X-Windows version.

Wow, I didn't know about the Aqua version, but I unless it turns out to be
bug-ridden, I would unquestionably use that one instaed of the X-Windows
version. X-Windows on OS X works well, but they look, well, X-Windows-ish.
If the Aqua version is anything like the Java version of Cocoa, you'd be
hard-pressed to tell the difference between a native OS X app and a TCL-
driven one.

BTW, where's the link to the Aqua version?

--
jason

:wq
___________________________________________________________
This mail sent using ToadMail -- Web based e-mail @ ToadNet
 
P

Phil Tomson

jason r tibbetts said:
Wow, I didn't know about the Aqua version, but I unless it turns out to be
bug-ridden, I would unquestionably use that one instaed of the X-Windows
version. X-Windows on OS X works well, but they look, well, X-Windows-ish.
If the Aqua version is anything like the Java version of Cocoa, you'd be
hard-pressed to tell the difference between a native OS X app and a TCL-
driven one.

Yeah, I'd much rather use the Aqua version, but I'm wondering if it'll
work with ruby? Is it just a simple matter of setting the TCL_LIBRARY
env var? Probably not, since we actually need RUBY_TK_DLL built for
Ruby. So I suspect that we can't use the 'out-of-the-box' Ruby
(1.6.8) that comes with OSX. Probably have to compile from source and
somehow provide the path to the Aqual Tk libs.

What are the underlying mechanics here? Does configure look for Tk
libs and then build the Makefile based upon whether or not it finds
Tk?
BTW, where's the link to the Aqua version?

http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html

If you get it working, please let me know.

....Of course, I'd rather use RubyCocoa than Tk, but this is for some
already-existing apps that I don't want to take the time to change.

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,143
Messages
2,570,822
Members
47,368
Latest member
michaelsmithh

Latest Threads

Top