[New-bugs-announce] [issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

Josh Cullum report at bugs.python.org
Thu Oct 19 06:07:54 EDT 2017


New submission from Josh Cullum <joshua.cullum at gmail.com>:

Hi Guys,

I'm trying to build Python 3.6.1 and 3.6.3, with both, .configure / make / make install work correctly as they should, however, trying to import _tkinter doesn't work.

Going back to the compilation, I get the following error in the make log:

*** WARNING: renaming "_tkinter" since importing it failed: build/lib.linux-x86_64-3.6/_tkinter.cpython-36m-x86_64-linux-gnu.so: undefined symbol: Tcl_GetCharLength

Following modules built successfully but were removed because they could not be imported:
_tkinter


Any Idea's on how to fix the undefined symbol error? This happens with both Tcl/Tk 8.6.6 and 8.6.7.

The following is the configure options:
--prefix=/tools/apps/python/3.6.1 --with-tcltk-includes='-I/tools/apps/Tcl/8.6.7/include -I/tools/apps/Tk/8.6.7/include' --with-tcltk-libs='-L/tools/apps/Tcl/8.6.7/lib -L/tools/apps/Tk/8.6.7/lib' --enable-optimizations --enable-shared

----------
components: Tkinter
messages: 304612
nosy: jpc2350
priority: normal
severity: normal
status: open
title: Compilation Error with Python 3.6.1/3.6.3 with Tkinter
type: compile error
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31817>
_______________________________________


More information about the New-bugs-announce mailing list