[issue21887] Python3 can't detect Tcl
New submission from Joe Borg: Trying to configure 3.4.1 on Cent OS 6.4. I have built Tcl and Tk, using the prefix /scratch/root. I can confirm the builds with: $ find /scratch/root/ -name tcl.h /scratch/root/include/tcl.h $ find /scratch/root/ -name tk.h /scratch/root/include/tk.h But, when configuring Python, they aren't picked up: $ ./configure --prefix=/scratch/root --with-tcltk-includes=/scratch/root/include --with-tcltk-libs=/scratch/root/lib | grep tcl checking for --with-tcltk-includes... /scratch/root/include checking for --with-tcltk-libs... /scratch/root/lib checking for UCS-4 tcl... no I've tried to make install with this, but then get the usual exception from _tkinter. -- components: Build messages: 221964 nosy: Joe.Borg priority: normal severity: normal status: open title: Python3 can't detect Tcl versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21887 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21887] Python3 can't detect Tcl/Tk 8.6.1
Changes by Joe Borg cyborg101...@gmail.com: -- title: Python3 can't detect Tcl - Python3 can't detect Tcl/Tk 8.6.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21887 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21887] Python3 can't detect Tcl/Tk 8.6.1
Ned Deily added the comment: for the --with-tcltk-includes and -libs options, you need to pass the same cc options that would go on CFLAGS and LDFLAGS. ./configure --help [...] --with-tcltk-includes='-I...' override search for Tcl and Tk include files --with-tcltk-libs='-L...' override search for Tcl and Tk libs So your values should likely look something like: --with-tcltk-includes=-I/scratch/root/include --with-tcltk-libs=-L/scratch/root/lib -ltcl8.6 -ltk8.6 -- nosy: +ned.deily resolution: - works for me stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21887 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com