asdf-community / asdf-community/asdf-python
Cannot install Python 3.8 on macOS Monterey on Apple M1 Max
- Lingua principale
- Shell
- Stelle
- 729
- Fork
- 65
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi,
I can't get `asdf install python 3.8.9` working on an Apple M1 Max MBP with macOS Monterey, for various architecture-related reasons.
The closest I managed to get was by setting `PYTHON_CONFIGURE_OPTS="--build=aarch64-apple-darwin20.6.0"`:
PYTHON_CONFIGURE_OPTS="--build=aarch64-apple-darwin20.6.0" asdf install python
```
python-build 3.8.9 /Users/george/.asdf/installs/python/3.8.9
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.9.tar.xz...
-> https://www.python.org/ftp/python/3.8.9/Python-3.8.9.tar.xz
Installing Python-3.8.9...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 12.1 using python-build 2.2.2-14-g381002db)
Inspect or clean up the working tree at /var/folders/2n/0qw42fy16kd6m7_50mm_hyrh0000gn/T/python-build.20211220143521.6155
Results logged to /var/folders/2n/0qw42fy16kd6m7_50mm_hyrh0000gn/T/python-build.20211220143521.6155.log
Last 10 log lines:
"_libintl_textdomain", referenced from:
_PyIntl_textdomain in libpython3.8.a(_localemodule.o)
_PyIntl_textdomain in libpython3.8.a(_localemodule.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: clang: error: error: linker command failed with exit code 1 (use -v to see invocation)
linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:709: Programs/_testembed] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:578: python.exe] Error 1
```
At this point I'm not sure how to resolve the linker error. Any insight would be appreciated.
Thanks.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci `asdf install python 3.8.9` sull’Apple M1 Max segnalato e ispeziona l’albero di lavoro registrato in `/var/folders/2n/0qw42fy16kd6m7_50mm_hyrh0000gn/T/python-build.20211220143521.6155`. Inizia dalle opzioni di configure relative all’architettura e dall’output del linker; il lavoro è completato quando viene identificato un percorso di installazione riproducibile oppure vengono documentati il limite e la configurazione necessaria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, python
- Ambito
- build-system, cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100