#16202: py30-tkinter gives tk version mismatch error -------------------------------------+-------------------------------------- Reporter: reid@orthogonalspace.ca | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- Error output: root = Tk() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /lib-tk/Tkinter.py", line 1637, in __init__ self._loadtk() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /lib-tk/Tkinter.py", line 1656, in _loadtk % (_tkinter.TK_VERSION, tk_version)) RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) Changing Portfile (currently) line 43 from (don't know how to turn off auto-formating e.g. underline): reinplace "s|__TK-VERSION__|8.4|g" ${worksrcpath}/setup.py To: reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py Seems to resolve the issue. -- Ticket URL: <http://trac.macports.org/ticket/16202> MacPorts <http://www.macports.org/> Ports system for Mac OS