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:--with-dbmliborder=gdbm no longer satisfies_dbm #98636

Closed
Labels
buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error
@mgorny

Description

@mgorny

Bug report

It seems that theconfigure script is no longer able to build_dbm module fromgdbm_compat.

Excerpts from configure log (full log:configure.txt):

$ ./configure -C --with-dbmliborder=gdbm[...]checking gdbm.h usability... yeschecking gdbm.h presence... yeschecking for gdbm.h... yeschecking for gdbm_open in -lgdbm... yeschecking ndbm.h usability... nochecking ndbm.h presence... nochecking for ndbm.h... nochecking for ndbm presence and linker args...  ()checking gdbm/ndbm.h usability... yeschecking gdbm/ndbm.h presence... yeschecking for gdbm/ndbm.h... yeschecking gdbm-ndbm.h usability... nochecking gdbm-ndbm.h presence... nochecking for gdbm-ndbm.h... nochecking for library containing dbm_open... -lgdbm_compatchecking db.h usability... nochecking db.h presence... nochecking for db.h... nochecking for --with-dbmliborder... gdbmchecking for _dbm module CFLAGS and LIBS...  [...]checking for stdlib extension module _dbm... missingchecking for stdlib extension module _gdbm... yes[...]

It seems that the problem is in the following snippet:

fordbin$with_dbmliborder;docase"$db"in    ndbm)iftest"$have_ndbm" = yes;then        DBM_CFLAGS="-DUSE_NDBM"        DBM_LIBS="$dbm_ndbm"        have_dbm=yesbreakfi      ;;    gdbm)iftest"$have_gdbm_compat" = yes;then        DBM_CFLAGS="-DUSE_GDBM_COMPAT"        DBM_LIBS="-lgdbm_compat"        have_dbm=yesbreakfi      ;;

However,have_gdbm_compat is not declared anymore, probably because of:

AC_MSG_CHECKING([for ndbm presence and linker args])AS_CASE([$ac_cv_search_dbm_open],  [*ndbm*|*gdbm_compat*], [    dbm_ndbm="$ac_cv_search_dbm_open"    have_ndbm=yes  ],

declaringhave_ndbm=yes in this case.

Seems to have been introduced inec5e253 by@tiran.

Your environment

  • CPython versions tested on: 3.12.0a1
  • Operating system and architecture: Gentoo/amd64

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp