[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2022-01-30 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2022-01-21 Thread Irit Katriel
Irit Katriel added the comment: 3.6 is no longer maintained. Is this a problem on current versions or can be close this? -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2020-05-29 Thread Ned Deily
Ned Deily added the comment: @zhang, Did you try the solution given by dplusplus in the previous message (msg319861)? -- ___ Python tracker ___

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2020-05-29 Thread zhang
zhang added the comment: Josh,Did you solve this problem?I met the same error when install python. *** 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 -- nosy: +zhang

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2018-06-17 Thread dplusplus
dplusplus added the comment: Revisited this recently and found a fix. This problem seems to appear only if Tcl and/or Tk is installed in a non-standard folder. In the ./configure call, include `-ltcl8.6 -ltk8.6` (for Tcl/Tk 8.6.x) in the --with-tcltk-libs specification, so the command looks

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2018-05-10 Thread dplusplus
dplusplus added the comment: I am trying to build Python 3.6.5 from source, with Tcl 8.6.8 and Tk 8.6.8, and I get the same issue (Building on Ubuntu 18.04, tried with GCC 7.3 and 8.1 with same results). Run 'readelf -d` on

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2018-03-29 Thread Artur Yarmolin
Artur Yarmolin <6598...@gmail.com> added the comment: Python 3.6.4 tcl8.6.5+dfsg-2 tk8.6.5-1 The problem: *** 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 still remains!

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-11-28 Thread Josh Cullum
Josh Cullum added the comment: Hi Ned, I've built a new machine, tried the build again using Tk and Tcl shared libraries, built Python-3.6.3 and it's still not worked. The Python/3.6.3-foss-2017b/lib/python3.6/tkinter folder gets created and populated with several

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-11-15 Thread Josh Cullum
Josh Cullum added the comment: Hi Ned, Tried that but unfortunately it didn't work. It still produces an error within the make install function which then re-removes the module - it does however create a folder called tkinter. --

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-11-03 Thread Ned Deily
Ned Deily added the comment: Josh, sorry I don't have any further ideas off the top of my head and I likely won't have time for several weeks to try to reproduce this myself. Have you tried renaming the _tkinter extension back, doing a "make install", and seeing whether it

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-11-02 Thread Josh Cullum
Josh Cullum added the comment: LD_LIBRARY_PATH includes /tools/apps/tk/8.6.7/lib/:/tools/apps/tcl/8.6.7/lib/ and several other library paths that are required. Why would I be getting an undefined symbol error on this module? _tkinter.cpython-36m-x86_64-linux-gnu.so:

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-10-23 Thread Josh Cullum
Josh Cullum added the comment: Hi Ned, Please see the make logs for _tkinter below: building '_tkinter' extension gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-10-20 Thread Josh Cullum
Josh Cullum added the comment: Hi Ned, LD_LIBRARY_PATH has been set with the lib paths for both, like I said the module itself builds, I’ll add the module build logs later but the module try’s to get loaded before the tests which unfortunately gives the error undefined

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-10-20 Thread Ned Deily
Ned Deily added the comment: You may need to set LD_LIBRARY_PATH env variable to point to your Tcl and Tk libraries or, better, add an rpath entry to LDFLAGS. -- nosy: +ned.deily ___ Python tracker

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2017-10-19 Thread Josh Cullum
New submission from Josh Cullum : 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