#16202 closed defect (fixed)
py30-tkinter gives tk version mismatch error
Reported by: | reid@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | python tkinter | Cc: | |
Port: | py30-tkinter |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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:
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.
Change History (5)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | python tkinter added |
---|---|
Milestone: | → Port Bugs |
Owner: | changed from macports-tickets@… to mww@… |
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | py30-tkinter added |
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Assigning to maintainer.