[New-bugs-announce] [issue10056] Can't build tkinter with libtk 8.6

Antoine Pitrou report at bugs.python.org
Sat Oct 9 12:18:30 CEST 2010


New submission from Antoine Pitrou <pitrou at free.fr>:

This is only with 3.1. Following patch allows building:

Index: setup.py
===================================================================
--- setup.py	(révision 85336)
+++ setup.py	(copie de travail)
@@ -1450,7 +1450,7 @@
         # The versions with dots are used on Unix, and the versions without
         # dots on Windows, for detection by cygwin.
         tcllib = tklib = tcl_includes = tk_includes = None
-        for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
+        for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83', '8.2',
                         '82', '8.1', '81', '8.0', '80']:
             tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version)
             tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version)


However, there is then a test failure:

======================================================================
FAIL: test_tag_configure (tkinter.test.test_ttk.test_widgets.TreeviewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/31/Lib/tkinter/test/test_ttk/test_widgets.py", line 1116, in test_tag_configure
    'blue')
AssertionError: <color object at 0x202a8f0> != 'blue'

----------
assignee: gpolo
components: Build
messages: 118260
nosy: gpolo, pitrou
priority: normal
severity: normal
status: open
title: Can't build tkinter with libtk 8.6
type: compile error
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10056>
_______________________________________


More information about the New-bugs-announce mailing list