cpython/Misc/rhel7
Miss Islington (bot) 504da3ce80
gh-95957: Add instructions for Tcl/Tk and OpenSSL on RHEL/CentOS 7 (GH-95964)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit ab4d72954f)

Co-authored-by: Christian Heimes <christian@python.org>
2022-08-18 06:32:30 -07:00
..
README.md
openssl.pc
tcl.pc
tk.pc

README.md

pkg-config overrides for RHEL 7 and CentOS 7

RHEL 7 and CentOS 7 do not provide pkg-config .pc files for Tcl/Tk. The OpenSSL 1.1.1 pkg-config file is named openssl11.pc and not picked up by Python's configure script.

To build Python with system Tcl/Tk libs and OpenSSL 1.1 package, first install the developer packages and the pkgconfig package with pkg-config command.

sudo yum install pkgconfig 'tcl-devel >= 8.5.12' 'tk-devel >= 8.5.12' openssl11-devel

The run configure with PKG_CONFIG_PATH environment variable.

PKG_CONFIG_PATH=Misc/rhel7 ./configure -C