Debian Codegraph @

Misc/rhel7/README.md

raw
1 # pkg-config overrides for RHEL 7 and CentOS 7
2
3 RHEL 7 and CentOS 7 do not provide pkg-config `.pc` files for Tcl/Tk. The
4 OpenSSL 1.1.1 pkg-config file is named `openssl11.pc` and not picked up
5 by Python's `configure` script.
6
7 To build Python with system Tcl/Tk libs and OpenSSL 1.1 package, first
8 install the developer packages and the `pkgconfig` package with `pkg-config`
9 command.
10
11 ```shell
12 sudo yum install pkgconfig 'tcl-devel >= 8.5.12' 'tk-devel >= 8.5.12' openssl11-devel
13 ```
14
15 The run `configure` with `PKG_CONFIG_PATH` environment variable.
16
17 ```shell
18 PKG_CONFIG_PATH=Misc/rhel7 ./configure -C
19 ```