@@ -1631,16 +1631,23 @@ Build Changes
1631
1631
1632
1632
* Build dependencies, compiler flags, and linker flags for most stdlib
1633
1633
extension modules are now detected by :program: `configure `. libffi, libnsl,
1634
- libsqlite3, zlib, bzip2, liblzma, libcrypt, Tcl/Tk libs, and uuid flags
1635
- are detected by ``pkg-config `` (when available).
1634
+ libsqlite3, zlib, bzip2, liblzma, libcrypt, Tcl/Tk, and uuid flags
1635
+ are detected by ``pkg-config `` (when available). :mod: `tkinter ` now
1636
+ requires ``pkg-config `` command to detect development settings for Tcl/Tk
1637
+ headers and libraries.
1636
1638
(Contributed by Christian Heimes and Erlend Egeberg Aasland in
1637
1639
:issue: `45847 `, :issue: `45747 `, and :issue: `45763 `.)
1638
1640
1639
1641
.. note ::
1640
- Use the environment variables ``TCLTK_CFLAGS `` and ``TCLTK_LIBS `` to
1641
- manually specify the location of Tcl/Tk headers and libraries.
1642
- The :program: `configure ` options ``--with-tcltk-includes `` and
1643
- ``--with-tcltk-libs `` have been removed.
1642
+ Use the environment variables :envvar: `TCLTK_CFLAGS ` and
1643
+ :envvar: `TCLTK_LIBS ` to manually specify the location of Tcl/Tk headers
1644
+ and libraries. The :program: `configure ` options ``--with-tcltk-includes ``
1645
+ and ``--with-tcltk-libs `` have been removed.
1646
+
1647
+ On RHEL 7 and CentOS 7 the development packages do not provide ``tcl.pc ``
1648
+ and ``tk.pc ``, use :envvar: `TCLTK_LIBS="-ltk8.5 -ltkstub8.5 -ltcl8.5" `.
1649
+ The directory ``Misc/rhel7 `` contains ``.pc `` files and instructions
1650
+ how to build Python with RHEL 7's and CentOS 7's Tcl/Tk and OpenSSL.
1644
1651
1645
1652
* CPython now has :pep: `11 ` tier 3 support for cross compiling to WebAssembly
1646
1653
platform ``wasm32-unknown-emscripten `` (Python in the browser). The effort
0 commit comments