[Python-Dev] RELEASED Python 2.6.2

Ned Deily nad at acm.org
Thu Apr 16 23:28:45 EDT 2009


In article <DD982BD4-02AB-4395-AFEE-CD3D0EEB7926 at u.washington.edu>,
 Russell Owen <rowen at u.washington.edu> wrote:
> I installed the Mac binary on my Intel 10.5.6 system and it works,  
> except it still uses Apple's system Tcl/Tk 8.4.7 instead of my  
> ActiveState 8.4.19 (which is in /Library/Frameworks where one would  
> expect).
> 
> I just built python from source and that version does use ActiveState  
> 8.4.19.
> 
> I wish I knew what's going on. Not being able to use the binary  
> distros is a bit of a pain.

You're right, the tkinter included with the 2.6.2 installer is not 
linked properly:

Is:
$ cd /Library/Frameworks/Python.framework/Versions/2.6
$ cd lib/python2.6/lib-dynload
$ otool -L _tkinter.so 
_tkinter.so:
   /System/Library/Frameworks/Tcl.framework/Versions/8.4/Tcl 
(compatibility version 8.4.0, current version 8.4.0)
   /System/Library/Frameworks/Tk.framework/Versions/8.4/Tk 
(compatibility version 8.4.0, current version 8.4.0)
   /usr/lib/libSystem.B.dylib [...]

should be:
_tkinter.so:
   /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl (compatibility 
version 8.4.0, current version 8.4.19)
   /Library/Frameworks/Tk.framework/Versions/8.4/Tk (compatibility 
version 8.4.0, current version 8.4.19)
   /usr/lib/libSystem.B.dylib [...]

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list