GeezerVison is showing github.com — bpo-45723: Detect missing pkg-config (GH-29442) by tiran · Pull Request #29442 · python/cpython
Conversation
tiran
commented
Nov 6, 2021
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
tiran
changed the title
Detect missing pkg-config
bpo-45723: Detect missing pkg-config
Nov 6, 2021
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is AC_PATH_TOOL being picked up from? The current PR doesn't work for me.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
[...]
config.status: creating pyconfig.h
creating Modules/Setup.local
creating Makefile
pkg-config is missing. Some dependencies may not be detected correctly.
If you want a release build with all stable optimizations active (PGO, etc),
please run ./configure --enable-optimizations
$ pkg-config
Must specify package names on the command line
$ which pkg-config
/usr/bin/pkg-config
This is on a reasonably vanilla Debian system. Also the same on macOS with pkg-config installed from MacPorts.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
tiran
commented
Nov 6, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Strange ... could you please paste the output of grep PKG_CONFIG config.log ?
My system (Fedora 34):
$ grep PKG_CONFIG config.log
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_prog_ac_ct_PKG_CONFIG=/usr/bin/pkg-config
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Where is AC_PATH_TOOL being picked up from? The current PR doesn't work for me.
AC_PATH_TOOL is provided by autoconf/programs.m4.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
D'oh, I put test -n to test the output message and forgot to replace it with test -z.
|
ned-deily reacted with laugh emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
tiran
changed the title
bpo-45723: Detect missing pkg-config
bpo-45723: Detect missing pkg-config (GH-29442)
Nov 7, 2021
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|