On Mon, Nov 29, 2010 at 11:18 AM, Russell E. Owen <ro...@uw.edu> wrote:
> > I suggest you try python.org python instead of ActiveState Python. At > least for 2.6 and 2.7 it will preferentially use ActiveState's Tcl/Tk if > found. However, I have not confirmed that with python.org Python 3.1 and > I don't know what major version of Tcl/Tk it wants (8.4, 8.5 or 8.6). > > Re the last, _tkinter.c in the Python 3.1.3 dist says, "Only Tcl/Tk 8.3.1 and later are supported." The version distributed with Mac OS 10.6 is 8.5.7 and ActiveState is currently 8.5.9. Re the main suggestion, apparently the only way to get Python3 for OS X from Python.org is to download the source and build it. I have (you can see) downloaded the package but frankly I find the build instructions in configure* and in the global README and Mac/README to be head-spinning. Yeah, sure, it's just configure; make; sudo make install; -- except if I want it in /Library/Frameworks, it's configure --enable-framework, plus if I want the 32- and 64-bit versions, it's configure --enable-framework --enable-universalsdk --with-universal-archs=intel ... I think. Supposing I did this, will this fix the original problem that I started out to solve, namely, getting Python3 to link to ActiveTCL? It seems not, because Mac/README says "If you want Tkinter support you need to get the OSX AquaTk distribution, this is installed by default on Mac OS X 10.4 or later." In other words, it's going to build _tkinter.so to use */System*/Library/Frameworks/Tcl (Apple's) and not /Library/Frameworks/Tcl (Active's). Where is that configured? I've no idea. Dave Cortesi
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss