[issue43241] curses.h: present but cannot be compiled while building with custom CPPFLAGS

Xuehai Pan report at bugs.python.org
Wed Feb 17 07:50:35 EST 2021


Xuehai Pan <XuehaiPan at pku.edu.cn> added the comment:

./configure raised "WARNING: curses.h: present but cannot be compiled" when CPPFLAGS="-I. -I/Include -I${HOMEBREW_PREFIX}/include".

./configure found and compiled with ncurses successfully when CPPFLAGS="-I. -I/Include -I${HOMEBREW_PREFIX}/include -I$(brew --prefix ncurses)/include"

It's really weird that all headers in "$(brew --prefix ncurses)/include" are already symlinked to "${HOMEBREW_PREFIX}/include".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43241>
_______________________________________


More information about the Python-bugs-list mailing list