Post

Replies

Boosts

Views

Activity

Not Able to Build Some Versions of Python on M1 at 12.3.1
I trying to build older version of python such as 3.6, 3.7, 3.8 using pyenv and having build failures. I am on apple silicon and the last macOS 12.3.1. In older OS these versions would build fine. Following is the failure I get running pyenv install 3.6.9 python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.6.9.tar.xz... -> https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tar.xz Installing Python-3.6.9... python-build: use readline from homebrew python-build: use zlib from xcode sdk BUILD FAILED (OS X 12.3.1 using python-build 20180424) Inspect or clean up the working tree at /var/folders/sn/46fncn513kng4ssgwn398m5h0000gn/T/python-build.20220403110510.8666 Results logged to /var/folders/sn/46fncn513kng4ssgwn398m5h0000gn/T/python-build.20220403110510.8666.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.
3
1
11k
Apr ’22
How to run macOSVirtualMachineSampleApp?
Hello, I am very new to Xcode and trying to build and run a simple project that installs and runs a VM. The sample code is provided by apple at https://developer.apple.com/documentation/virtualization/running_macos_in_a_virtual_machine_on_apple_silicon_macs The code has two apps. One that installs the bundle and another that runs it. I am able to create the bundle but don't know how to run the app macOSVirtualMachineSampleApp. Every time I start run I get the following. create VM.bundle: the base directory already exists. Which means I am running InstallationTool app every time. How do I run the macOSVirtualMachineSampleApp? I can see that in products folder both apps have been created but I only see Installationtool command line tool when I go to that location.
1
0
2.8k
Apr ’22