Taking a step back, here is where I am currently. 1. I can build the released version of my program on my release machine using pyinstaller v1.5.1. This environment runs Python 2.7.1 dated 6/16/2011 and installed in /System/Library/Frameworks/Python.framework/Versions/Current. IOW, the standard Apple version of Python that shipped with OS X 10.7 (Lion). This version expects Tcl/Tk v8.5.9, which is loaded from /System/Frameworks/Tcl.framework... and /System/Frameworks/Tk.framework....
2. Back on my development machine, I have Python 2.7.2 dated 11/19/2011, which was installed using HomeBrew in /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current. This version expects Tcl/Tk v8.5.11, which are in /Library/Frameworks/Tk.framework/Versions/8.5/Tk and /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl. On my development machine, using pyinstaller-1.5.1 and running in 32-bit mode: 3. Pyinstaller-1.5.1 configure.py outputs: I: Adding Tcl dependency of _tkinter.so I: Analyzing /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so I: Adding Tk dependency of _tkinter.so 4. The config.data file contains: TCL_dirname': 'Tcl.framework', 'TCL_root': '/System/Library/Frameworks/Tcl.framework/Versions/Current', 'TK_dirname': 'Tk.framework', 'TK_root': '/System/Library/Frameworks/Tk.framework/Versions/Current', 5. Build.py outputs: I: Analyzing /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so I: Adding Tcl dependency of _tkinter.so I: Adding Tk dependency of _tkinter.so When I run the resulting build, I get: /var/folders/qq/h5gj3f3s0rx41lhd7h0lt2hm0000gn/T//_MEIq6WLc4/_MEI/Tk.framework/Resources/Scripts/tk.tcl: version conflict for package "Tk": have 8.5.11, need exactly 8.5.9 Questions: Is it better to resolve this part of the problem using pyinstaller v1.5.1, or should I ignore that and concentrate on more recent builds? Why does pyinstaller insist on going to /system/library/frameworks... (the apple build) when the correct files should come from /library/frameworks (user build)? Why doesn't changing the entries in config.dat affect this problem? If I do that, when I run the program I still get the version conflict error. > > I need to resolve the _tkinter.so build before I can do anything further on > this. > > Begin forwarded message: > >> >> In 32-bit, the released version of my program builds successfully with >> pyinstaller v1.5.1 and with pyinstaller d9b704e08e2. > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
