Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

./configure misses option to avoid building with ncurses #136687

Open
Labels
buildThe build process and cross-buildextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error
@dilyanpalauzov

Description

@dilyanpalauzov

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

No one assigned

    Labels

    buildThe build process and cross-buildextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp