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

2021-02-17 Thread Xuehai Pan
Change by Xuehai Pan : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

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

2021-02-17 Thread Xuehai Pan
Xuehai Pan added the comment: Add screenshot. -- Added file: https://bugs.python.org/file49815/Screenshot.png ___ Python tracker ___

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

2021-02-17 Thread Xuehai Pan
Xuehai Pan 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

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

2021-02-17 Thread Xuehai Pan
New submission from Xuehai Pan : I install python3 with Linuxbrew. All header files have been symlinked to "~/.linuxbrew/inlcude". It raises warnings when I building with custom CPPFLAGS. ``` checking curses.h usability... no checking curses.h presence... yes configure: WARNING: curses.h: