[Pythonmac-SIG] IDLE on Python-2.6 release version

Kevin Walzer kw at codebykevin.com
Thu Oct 2 20:02:19 CEST 2008


Rajanikanth Jammalamadaka wrote:
> Thanks for your reply Kevin. I installed Tk 8.5 but now I get this error:
> 
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/Current/bin/idle",
> line 5, in <module>
>     main()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/idlelib/PyShell.py",
> line 1382, in main
>     root = Tk(className="Idle")
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
> line 1645, in __init__
>     self._loadtk()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
> line 1659, in _loadtk
>     % (_tkinter.TK_VERSION, tk_version)
> RuntimeError: tk.h version (8.4) doesn't match libtk.a version (8.5)
> 
> 
> Also, when I try to build python 2.6 from source, I get this error:
> 
> Objects/longobject.c: In function 'PyLong_FromLong':
> Objects/longobject.c:101: error: non-trivial conversion at assignment
> abs_ival
> ival
> abs_ival = -ival;
> 
> Objects/longobject.c:101: internal compiler error: verify_gimple failed
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make: *** [Objects/longobject.o] Error 1
> 
> 
> Thanks,
> 
> Rajanikanth

Odd. I don't know what that problem is. Perhaps someon else can chime in?

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Pythonmac-SIG mailing list