Skip to content

Can't install 3.10.0 on M1 Mac - error: internal configure error for the platform triplet, please file a bug report #2317

@phalladar

Description

@phalladar
  • Platform information: Monterey 12.3.1
  • OS architecture: arm64
  • pyenv version: pyenv 2.2.5-11-gf0f2cdd1
  • C Compiler information (e.g. gcc 7.3): Apple clang version 13.1.6 (clang-1316.0.21.2) / Target: arm64-apple-darwin21.4.0
  • Please attach the debug trace of the failing command as a gist: trace.log

I've tried to follow some similar issues like #2171 && #2317 with no luck.

-> https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
Installing Python-3.10.0...
patching file aclocal.m4
patching file configure
Hunk #5 succeeded at 10537 (offset -15 lines).
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 12.3.1 using python-build 2.2.5-11-gf0f2cdd1)

Inspect or clean up the working tree at /var/folders/bn/mg28qrzs4x16vtzldg13518sfpjw92/T/python-build.20220406214712.10629
Results logged to /var/folders/bn/mg28qrzs4x16vtzldg13518sfpjw92/T/python-build.20220406214712.10629.log

Last 10 log lines:
checking for --with-cxx-main=<compiler>... no
checking for clang++... no
configure:

  By default, distutils will build C++ extension modules with "clang++".
  If this is not intended, then set CXX on the configure command line.

checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
make: *** No targets specified and no makefile found.  Stop.

Full config.log here.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions