diff options
author | Christian Heimes <christian@python.org> | 2022-08-16 11:44:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-16 11:44:02 (GMT) |
commit | ab4d72954f3c3fe4bdf51dc6a9cf0ed38f210a68 (patch) | |
tree | 2c581495c8508413569525df1d826c6bcc9f6647 /Misc/rhel7/README.md | |
parent | bfc2028df075317fc9cc311169fc67677a93a42d (diff) | |
download | cpython-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 'Misc/rhel7/README.md')
-rw-r--r-- | Misc/rhel7/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Misc/rhel7/README.md b/Misc/rhel7/README.md new file mode 100644 index 0000000..8642e7c --- /dev/null +++ b/Misc/rhel7/README.md @@ -0,0 +1,19 @@ +# 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. + +```shell +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. + +```shell +PKG_CONFIG_PATH=Misc/rhel7 ./configure -C +``` |