@@ -1644,16 +1644,23 @@ Build Changes
16441644
16451645* Build dependencies, compiler flags, and linker flags for most stdlib
16461646 extension modules are now detected by :program: `configure `. libffi, libnsl,
1647- libsqlite3, zlib, bzip2, liblzma, libcrypt, Tcl/Tk libs, and uuid flags
1648- are detected by ``pkg-config `` (when available).
1647+ libsqlite3, zlib, bzip2, liblzma, libcrypt, Tcl/Tk, and uuid flags
1648+ are detected by ``pkg-config `` (when available). :mod: `tkinter ` now
1649+ requires ``pkg-config `` command to detect development settings for Tcl/Tk
1650+ headers and libraries.
16491651 (Contributed by Christian Heimes and Erlend Egeberg Aasland in
16501652 :issue: `45847 `, :issue: `45747 `, and :issue: `45763 `.)
16511653
16521654 .. note ::
1653- Use the environment variables ``TCLTK_CFLAGS `` and ``TCLTK_LIBS `` to
1654- manually specify the location of Tcl/Tk headers and libraries.
1655- The :program: `configure ` options ``--with-tcltk-includes `` and
1656- ``--with-tcltk-libs `` have been removed.
1655+ Use the environment variables :envvar: `TCLTK_CFLAGS ` and
1656+ :envvar: `TCLTK_LIBS ` to manually specify the location of Tcl/Tk headers
1657+ and libraries. The :program: `configure ` options ``--with-tcltk-includes ``
1658+ and ``--with-tcltk-libs `` have been removed.
1659+
1660+ On RHEL 7 and CentOS 7 the development packages do not provide ``tcl.pc ``
1661+ and ``tk.pc ``, use :envvar: `TCLTK_LIBS="-ltk8.5 -ltkstub8.5 -ltcl8.5" `.
1662+ The directory ``Misc/rhel7 `` contains ``.pc `` files and instructions
1663+ how to build Python with RHEL 7's and CentOS 7's Tcl/Tk and OpenSSL.
16571664
16581665* CPython now has :pep: `11 ` tier 3 support for cross compiling to WebAssembly
16591666 platform ``wasm32-unknown-emscripten `` (Python in the browser). The effort
0 commit comments