Created
February 7, 2024 23:53
-
-
Save peterbe/cd36f854dccbaaa63f4d11facc32bc77 to your computer and use it in GitHub Desktop.
Trying to `pyenv install 3.12`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ pyenv install 3.12 | |
python-build: use openssl@3 from homebrew | |
python-build: use readline from homebrew | |
Installing Python-3.12.1... | |
python-build: use tcl-tk from homebrew | |
python-build: use readline from homebrew | |
python-build: use ncurses from homebrew | |
python-build: use zlib from xcode sdk | |
BUILD FAILED (OS X 14.3 using python-build 2.3.35-11-g9908daf8) | |
Inspect or clean up the working tree at /var/folders/1x/2hf5hbs902q54g3bgby5bzt40000gn/T/python-build.20240207185036.32526 | |
Results logged to /var/folders/1x/2hf5hbs902q54g3bgby5bzt40000gn/T/python-build.20240207185036.32526.log | |
Last 10 log lines: | |
if (login_tty(fd) == -1) { | |
^ | |
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/local/opt/ncurses/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/peterbe/.pyenv/versions/3.12.1/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/ncurses/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/peterbe/.pyenv/versions/3.12.1/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DPy_BUILD_CORE_BUILTIN -c ./Modules/itertoolsmodule.c -o Modules/itertoolsmodule.o | |
./Modules/posixmodule.c:8402:11: error: call to undeclared function 'forkpty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | |
pid = forkpty(&master_fd, NULL, NULL, NULL); | |
^ | |
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/usr/local/opt/ncurses/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/peterbe/.pyenv/versions/3.12.1/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/ncurses/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/peterbe/.pyenv/versions/3.12.1/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DPy_BUILD_CORE_BUILTIN -c ./Modules/_sre/sre.c -o Modules/_sre/sre.o | |
3 errors generated. | |
make: *** [Modules/posixmodule.o] Error 1 | |
make: *** Waiting for unfinished jobs.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've had a similar issue reported: pyenv/pyenv#2679