New submission from Xuehai Pan <xuehai...@pku.edu.cn>:
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: present but cannot be compiled configure: WARNING: curses.h: check for missing prerequisite headers? configure: WARNING: curses.h: see the Autoconf documentation configure: WARNING: curses.h: section "Present But Cannot Be Compiled" configure: WARNING: curses.h: proceeding with the compiler's result configure: WARNING: ## --------------------------------------- ## configure: WARNING: ## Report this to https://bugs.python.org/ ## configure: WARNING: ## --------------------------------------- ## checking for curses.h... no checking ncurses.h usability... no checking ncurses.h presence... yes configure: WARNING: ncurses.h: present but cannot be compiled configure: WARNING: ncurses.h: check for missing prerequisite headers? configure: WARNING: ncurses.h: see the Autoconf documentation configure: WARNING: ncurses.h: section "Present But Cannot Be Compiled" configure: WARNING: ncurses.h: proceeding with the compiler's result configure: WARNING: ## --------------------------------------- ## configure: WARNING: ## Report this to https://bugs.python.org/ ## configure: WARNING: ## --------------------------------------- ## checking for ncurses.h... no checking for term.h... yes ``` See https://github.com/Homebrew/linuxbrew-core/pull/22307 for more details. ---------- components: Build files: Screenshot config master.png messages: 387150 nosy: XuehaiPan priority: normal severity: normal status: open title: curses.h: present but cannot be compiled while building with custom CPPFLAGS type: compile error versions: Python 3.9 Added file: https://bugs.python.org/file49814/Screenshot config master.png _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43241> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com