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