This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients fxcoudert, ned.deily, p.sirenko.94, ronaldoussoren, terry.reedy
Date 2020-12-21.17:48:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608572897.34.0.911312964261.issue42691@roundup.psfhosted.org>
In-reply-to
Content
If you are not using Tcl and Tk framework builds installed in /Library, you use the configure or make options:

  --with-tcltk-includes='-I...'
                          override search for Tcl and Tk include files
  --with-tcltk-libs='-L...'
                          override search for Tcl and Tk libs

to specify exactly where to find your versions of Tcl and Tk. See the comments in setup.py:

    def detect_tkinter_explicitly(self):
        # Build _tkinter using explicit locations for Tcl/Tk.
        #
        # This is enabled when both arguments are given to ./configure:
        #
        #     --with-tcltk-includes="-I/path/to/tclincludes \
        #                            -I/path/to/tkincludes"
        #     --with-tcltk-libs="-L/path/to/tcllibs -ltclm.n \
        #                        -L/path/to/tklibs -ltkm.n"
        #
        # These values can also be specified or overridden via make:
        #    make TCLTK_INCLUDES="..." TCLTK_LIBS="..."
        #
        # This can be useful for building and testing tkinter with multiple
        # versions of Tcl/Tk.  Note that a build of Tk depends on a particular
        # build of Tcl so you need to specify both arguments and use care when
        # overriding.

        # The _TCLTK variables are created in the Makefile sharedmods target.
History
Date User Action Args
2020-12-21 17:48:17ned.deilysetrecipients: + ned.deily, terry.reedy, ronaldoussoren, fxcoudert, p.sirenko.94
2020-12-21 17:48:17ned.deilysetmessageid: <1608572897.34.0.911312964261.issue42691@roundup.psfhosted.org>
2020-12-21 17:48:17ned.deilylinkissue42691 messages
2020-12-21 17:48:17ned.deilycreate