[MacPorts] #16202: py30-tkinter gives tk version mismatch error
MacPorts
noreply at macports.org
Fri Sep 19 23:13:18 PDT 2008
#16202: py30-tkinter gives tk version mismatch error
--------------------------------------+-------------------------------------
Reporter: reid at orthogonalspace.ca | Owner: mww at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: python tkinter
Port: py30-tkinter |
--------------------------------------+-------------------------------------
Changes (by ryandesign at macports.org):
* port: => py30-tkinter
Old description:
> 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.
New description:
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.
--
--
Ticket URL: <http://trac.macports.org/ticket/16202#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list