This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Can't build tkinter with libtk 8.6
Type: compile error Stage:
Components: Build Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gpolo Nosy List: gpolo, pitrou
Priority: normal Keywords:

Created on 2010-10-09 10:18 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg118260 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-09 10:18
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'
msg118261 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-09 10:26
Fixed in r85337.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54265
2010-10-09 10:26:13pitrousetstatus: open -> closed
resolution: fixed
messages: + msg118261
2010-10-09 10:18:28pitroucreate