From: Jim I. <ji...@ap...> - 2003-10-29 21:17:26
|
David, On Oct 29, 2003, at 11:38 AM, dav...@ma... wrote: > Frankly the difference between Tk/X11 and Tk.framework is so over my > head I don't know what to think or do. > > I would just like to be able to run Tcl (w/ BLT and Tnm) on my Mac > just as I do on my Windows computer. Is this possible without > a PhD in operating systems and software development? You don't need a PhD, but you do need to be familiar with how to build configure/make based software. If you haven't done it before it will take a few tries to get the hang of it, but it really isn't that hard, and worth the effort to learn... The reason that it is easy on Windows, is that the author of BLT spent a goodly chunk of time porting it to Windows. Nobody has done that for Mac OS X, so there is no version of BLT that will run with the version of Tk that uses the native Mac OS X toolbox. Fortunately, it is pretty easy to install an X11 server on Mac OS X (if you get Panther, it is an optional install on the CD's you get with Panther, otherwise you can get it from the Darwin site...) And since Tcl/Tk first existed on X11 based platforms, most of the major extensions are all set up to build against the X11 libraries. So once you have the X11 server & SDK installed, you can either get pre-built Tcl/Tk that use the X11 API's from fink, or you can build them yourself. The latter is easy if you are familiar with these sorts of things, and the README's in the Tcl & Tk distro explain how to do it pretty clearly as well. Ditto for building BLT. > > Can I build Tk/X11 without uninstalling TkAqua ( assuming that it is > possible)? Yes. One of the reasons that we decided to package the Aqua version of Tk as a Mac OS X framework, was so that it would be distinct from the X11 version. If you just build & install Tcl/Tk as though you were building them on a Unix/X11 box (of course after having installed the X11 server & SDK) it will build & go into a separate location from the Aqua one. The only potentially tricky part is to make sure that any extensions you build against the X11 libraries don't get on the package path for AquaTk and vice versa. This won't work. Jim > > Sign me confused, > > David > > On Wednesday, October 29, 2003, at 01:33 PM, Daniel A. Steffen wrote: > >> >> On Thursday, Oct 30, 2003, at 05:15 Australia/Sydney, >> dav...@ma... wrote: >> >>> This was in reference to a message from earlier this year with patch >>> info for building BLT. >> >> ah, ok. >> IIRC, that patch was purely for Tk/X11 i.e. not Tk.framework >> (TkAqua). Aquafying BLT is non-trivial unfortunately. >> You'll have to build your own Tk/X11 in the standard unix manner if >> you want to use X11 BLT. >> >> Cheers, >> >> Daniel >> >> -- >> ** Daniel A. Steffen ** "And now for something completely >> ** Dept. of Mathematics ** different" Monty Python >> ** Macquarie University ** <mailto:st...@ma...> >> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> Does SourceForge.net help you be more productive? Does it >> help you create better code? SHARE THE LOVE, and help us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> Tcl-mac mailing list >> Tc...@li... >> https://lists.sourceforge.net/lists/listinfo/tcl-mac > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > -- Jim Ingham ji...@ap... Developer Tools Apple Computer |