Skip to content

macOS Monterey 16" M1 Pro _gdbm and _tkinter not found #92895

Closed as not planned
Closed as not planned
@Sr-316

Description

@Sr-316

Documentation

(A clear and concise description of the issue.)

I followed the documentation to configure and build repo but got this issue:

configure: creating Modules/Setup.local
configure: creating Makefile
asset-overflow@MontereyJack:~/myRepos/cpython
main ✔ $ make -s -j2
Note: Deepfreeze may have added some global objects,
so run 'make regen-global-objects' if necessary.
CC='gcc' LDSHARED='gcc -bundle -undefined dynamic_lookup ' OPT='-g -Og -Wall' ./python.exe -E ./setup.py -q build
ld: warning: directory not found for option '-L/usr/lib/termcap'

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_gdbm _tkinter
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

renaming build/scripts-3.12/pydoc3 to build/scripts-3.12/pydoc3.12
renaming build/scripts-3.12/idle3 to build/scripts-3.12/idle3.12
renaming build/scripts-3.12/2to3 to build/scripts-3.12/2to3-3.12

I had already read through and installed openssl gdbm etc.. exactly per documentation and also added the necessary flags per macOS instructions for ./configure --with-pydebug --with-openssl=$(brew --prefix openssl)

forgive me if there's anything here that might be a little off (in the last sentence/statement) since I didn't copy/paste it, but I even went back over twice after "make clean" and retry configure and make -s -j2

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-macbuildThe build process and cross-builddocsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions