New submission from Abrantes Araujo Silva Filho:

I'm trying to compile Python 3.5 on a CentOS 7.1, with TCL 8.6.4, but make 
always give me the following message:

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

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


The configure command was the following (both, Tcl and Tk are installed under 
/usr/local/lib/tcl8.6.4):

CXX=g++ ./configure --prefix=/usr/local/python3 --enable-shared 
--enable-loadable-sqlite-extensions --enable-ipv6 
--with-tcltk-includes="-I/usr/local/lib/tcl8.6.4/include" 
--with-tcltk-libs="-L/usr/local/lib/tcl8.6.4/lib"

I could not found a solution for this issue, and I do not know if this is a bug.

----------
components: Tkinter
messages: 251703
nosy: abrantesasf
priority: normal
severity: normal
status: open
title: Tkinter modules built successfully but removed because they could not be 
imported
type: compile error
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to