[Pythonmac-SIG] Having trouble building Python w/ Tcl/Tk on my new Macbook Pro
Kevin Walzer
kw at codebykevin.com
Sun Feb 10 03:40:43 CET 2008
skip at pobox.com wrote:
> I finally put my PowerBook G4 out to pasture and bought a MacBook Pro. I
> used SetupAssistant to transfer data from the old box to the new one.
>
> I'm having trouble building any version of _tkinter (from svn 2.5, trunk
> (2.6) or py3k) on my new box. Today I decided to debug the problem a bit.
> I'm getting this warning when linking _tkinter.so:
>
> ld: warning in /Library/Frameworks//Tcl.framework/Tcl, file is not of required architecture
> ld: warning in /Library/Frameworks//Tk.framework/Tk, file is not of required architecture
>
> which suggests to me that those versions of Tcl and Tk are probably PPC
> only. (I suspect old AquaTk frameworks copied over by SetupAssistant.)
It looks like you were using PPC Tcl/Tk frameworks, which won't work
well on Intel. Removing them is indeed the correct solution--Python will
link to the native frameworks in /System/Library/Frameworks.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the Pythonmac-SIG
mailing list