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 jett8998, ned.deily
Date 2021-08-25.16:58:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629910690.44.0.930997341.issue45002@roundup.psfhosted.org>
In-reply-to
Content
Can you be more specific about what you mean by "executable" and "library"?

In particular, please show the results of, where /path/to/python is replaced by the path to the python you have built or installed:

otool -L $(/path/to/python -c 'import _tkinter;print(_tkinter.__file__)')

Most likely the issue is that you need to use additional ./configure arguments rather than trying to modify CFLAGS et al:

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

or set up the path to pkg-config info for Homebrew's Tcl and Tk packages.  See the comments in setup.py for more info:

https://github.com/python/cpython/blob/main/setup.py#L1898
History
Date User Action Args
2021-08-25 16:58:10ned.deilysetrecipients: + ned.deily, jett8998
2021-08-25 16:58:10ned.deilysetmessageid: <1629910690.44.0.930997341.issue45002@roundup.psfhosted.org>
2021-08-25 16:58:10ned.deilylinkissue45002 messages
2021-08-25 16:58:10ned.deilycreate