-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…H-95964) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> (cherry picked from commit ab4d729) Co-authored-by: Christian Heimes <christian@python.org>
- Loading branch information
1 parent
36c114a
commit 504da3c
Showing
6 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Documentation/2022-08-13-20-34-51.gh-issue-95957.W9ZZAx.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
What's New 3.11 now has instructions for how to provide compiler and | ||
linker flags for Tcl/Tk and OpenSSL on RHEL 7 and CentOS 7. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Name: OpenSSL | ||
Version: 1.1.1k | ||
Requires: libssl11 libcrypto11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Name: Tool Command Language | ||
Version: 8.5.12 | ||
Libs: -ltcl8.5 -ltclstub8.5 | ||
# Libs.private: -ldl -lz -lpthread -lm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Name: The Tk Toolkit | ||
Version: 8.5.12 | ||
Requires: tcl >= 8.5.12 | ||
Libs: -ltk8.5 -ltkstub8.5 | ||
# Libs.private: -lXft -lfontconfig -lfreetype -lfontconfig -lX11 |