summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-08-16 11:44:02 (GMT)
committerGitHub <noreply@github.com>2022-08-16 11:44:02 (GMT)
commitab4d72954f3c3fe4bdf51dc6a9cf0ed38f210a68 (patch)
tree2c581495c8508413569525df1d826c6bcc9f6647 /Doc/whatsnew
parentbfc2028df075317fc9cc311169fc67677a93a42d (diff)
downloadcpython-ab4d72954f3c3fe4bdf51dc6a9cf0ed38f210a68.zip
cpython-ab4d72954f3c3fe4bdf51dc6a9cf0ed38f210a68.tar.gz
cpython-ab4d72954f3c3fe4bdf51dc6a9cf0ed38f210a68.tar.bz2
gh-95957: Add instructions for Tcl/Tk and OpenSSL on RHEL/CentOS 7 (#95964)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst19
1 files changed, 13 insertions, 6 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index f1f0230..ef84339 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -1644,16 +1644,23 @@ Build Changes
* Build dependencies, compiler flags, and linker flags for most stdlib
extension modules are now detected by :program:`configure`. libffi, libnsl,
- libsqlite3, zlib, bzip2, liblzma, libcrypt, Tcl/Tk libs, and uuid flags
- are detected by ``pkg-config`` (when available).
+ libsqlite3, zlib, bzip2, liblzma, libcrypt, Tcl/Tk, and uuid flags
+ are detected by ``pkg-config`` (when available). :mod:`tkinter` now
+ requires ``pkg-config`` command to detect development settings for Tcl/Tk
+ headers and libraries.
(Contributed by Christian Heimes and Erlend Egeberg Aasland in
:issue:`45847`, :issue:`45747`, and :issue:`45763`.)
.. note::
- Use the environment variables ``TCLTK_CFLAGS`` and ``TCLTK_LIBS`` to
- manually specify the location of Tcl/Tk headers and libraries.
- The :program:`configure` options ``--with-tcltk-includes`` and
- ``--with-tcltk-libs`` have been removed.
+ Use the environment variables :envvar:`TCLTK_CFLAGS` and
+ :envvar:`TCLTK_LIBS` to manually specify the location of Tcl/Tk headers
+ and libraries. The :program:`configure` options ``--with-tcltk-includes``
+ and ``--with-tcltk-libs`` have been removed.
+
+ On RHEL 7 and CentOS 7 the development packages do not provide ``tcl.pc``
+ and ``tk.pc``, use :envvar:`TCLTK_LIBS="-ltk8.5 -ltkstub8.5 -ltcl8.5"`.
+ The directory ``Misc/rhel7`` contains ``.pc`` files and instructions
+ how to build Python with RHEL 7's and CentOS 7's Tcl/Tk and OpenSSL.
* CPython now has :pep:`11` tier 3 support for cross compiling to WebAssembly
platform ``wasm32-unknown-emscripten`` (Python in the browser). The effort