X Tutup
The Wayback Machine - https://web.archive.org/web/20240110155340/https://github.com/python/cpython/issues/113565
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure prefers system install of ncurses over available pkg-config on macOS #113565

Open
ronaldoussoren opened this issue Dec 29, 2023 · 0 comments
Labels
build The build process and cross-build type-feature A feature request or enhancement

Comments

@ronaldoussoren
Copy link
Contributor

ronaldoussoren commented Dec 29, 2023

Feature or enhancement

Proposal:

I have ncurses 6.4 installed locally with corresponding pkg-config files. I'd expect that configure will pick up that installation, but it seems to prefer the system installation.

I ended up running configure with explicit overrides for the CURSES and PANEL CFLAGS and LIBS variables:

 ../configure  ... CURSES_CFLAGS="$(pkg-config --cflags ncursesw)" CURSES_LIBS="$(pkg-config --libs ncursesw)" PANEL_CFLAGS="$(pkg-config --cflags panelw)" PANEL_LIBS="$(pkg-config --libs panelw)"

configure does pick up other local installs (sqlite, bz2, ...)

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

@ronaldoussoren ronaldoussoren added type-feature A feature request or enhancement build The build process and cross-build labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant
X Tutup