From: Jim I. <ji...@ap...> - 2001-11-09 17:18:09
|
Franc, First off, if you have plain Tcl scripts that will run in Tcl 8.3, then the simplest route is to just use the installed Tcl. The standard user install of MacOS X has a version of the Unix Tcl, and pretty much everything that will work on any other Tcl will work here. Just fire up Terminal.app, run tclsh, and you are all set... If you want to run Tk scripts, or need Tcl 8.4, then probably the simplest thing to do is get the MacOSX Tk binaries that I put up on the tcl.sourceforge.net site. If you cd to your home directory and untar the gzipped tar file there, you will get the Tcl & Tk libraries in ~/Library/Frameworks, and the Wish Shell.app in ~/Applications. Double-click on Wish Shell.app, and you will get a console window just like on Classic MacTk, and you can type commands at that, or use the Source menu item to source them in. The other option is to get XFree86, and XDarwin, and then either get or build the X11 version of Tcl/Tk. This is a lot more work, and unless you have some other need for X11 stuff, or if you need the "send" command, probably not worth the effort. Also, I would rather people whack on the native port, since in the long run this is a better way to run Tcl/Tk apps on X, and I would appreciate some help finding bugs, performance issues, etc of the native version. If you need the "resource" commands, or any of the other Mac specific Tcl/Tk commands, then you might consider pitching in. I haven't gotten these ported to X yet, but there is a macosx folder in the tcl directory on sourceforge, and anyone who wants to help getting missing stuff moved from MacTcl to MacOSX Tcl will earn my gratitude. Daniel & I talked about taking some of the very Mac specific stuff and putting it in a library that gets loaded into Tcl by default, rather than built straight in. But this is a later concern. Hope this helps, Jim On Friday, November 9, 2001, at 06:07 AM, Franc Brglez wrote: > I'll be installing MacOX X on my Titanium Powerbook this weekend and > would > like to give at least my own tcl scripts a dry run ... > > Any hints and suggestions on "installing tcl (which one)" if not entire > tcl > tcltk under MacOX X will be most timely and appreciated. > > Many thansk ... Franc Brglez > > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Jim Ingham ji...@ap... Developer Tools - gdb |