Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Open
Description
With Python 3.13.5 I see no way to tell ./configure to avoid using ncurses. I want to execute the final binary in a chrooted environment, where ncurses/curses/ncursesw are not available.
./configure --without-readline --with-lto --enable-shared --without-static-libpython --prefix=/root/chroot-n/python --disable-ipv6 --enable-optimizations CFLAGS='--sysroot=/root/chroot-n -Ichr/include -Wl,--dynamic-linker=/chr/lib/ld-linux-x86-64.so.2'
However on the host system ncursesw is available. The above command produces
checking for ncursesw... yeschecking for panelw... yeschecking for ncursesw/curses.h... nochecking for ncursesw/ncurses.h... nochecking for ncursesw/panel.h... nochecking for ncurses/curses.h... nochecking for ncurses/ncurses.h... nochecking for ncurses/panel.h... nochecking for curses.h... nochecking for ncurses.h... nochecking for panel.h... nochecking for library containing initscr... none requiredchecking for library containing update_panels... none requiredchecking for term.h... nochecking whether mvwdelch is an expression... nochecking whether WINDOW has _flags... nochecking for curses function is_pad... nochecking for curses function is_term_resized... nochecking for curses function resize_term... nochecking for curses function resizeterm... nochecking for curses function immedok... nochecking for curses function syncok... nochecking for curses function wchgat... nochecking for curses function filter... nochecking for curses function has_key... nochecking for curses function typeahead... nochecking for curses function use_env... no…checking for stdlib extension module _curses... yeschecking for stdlib extension module _curses_panel... yes
doing latermake
fails, as the header files are missing.
I want to be able to pass an option to ./configure so that it does not build curses/ncurses/ncursesw.
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
No status