Not Able to Build Python 3.8 on M1 at 13.2.1

CC=/opt/homebrew/bin/gcc-11 pyenv install 3.8.10                1 х │ 5s  python-build: use openssl @1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.8.10.tar.xz... -> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz Installing Python-3.8.10... patching file 'Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst' patching file configure patching file configure.ac python-build: use tcl-tk from homebrew python-build: use readline from homebrew python-build: use zlib from homebrew

BUILD FAILED (OS X 13.2.1 using python-build 20180424)

Inspect or clean up the working tree at /var/folders/ff/9sgdbsrj4rs5z5_txgf9qxbr0000gn/T/python-build.20230308090941.41677 Results logged to /var/folders/ff/9sgdbsrj4rs5z5_txgf9qxbr0000gn/T/python-build.20230308090941.41677.log

Last 10 log lines: checking host system type... arm-apple-darwin22.3.0 checking for python3.8... python3.8 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... "darwin" checking for gcc... /opt/homebrew/bin/gcc-11 checking whether the C compiler works... no configure: error: in /var/folders/ff/9sgdbsrj4rs5z5_txgf9qxbr0000gn/T/python-build.20230308090941.41677/Python-3.8.10': configure: error: C compiler cannot create executables See config.log' for more details

Not Able to Build Python 3.8 on M1 at 13.2.1
 
 
Q