New submission from Josh Cullum <joshua.cul...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to