asdf-community / asdf-chezscheme

Chez Scheme plugin for the asdf version manager
https://github.com/asdf-vm/asdf
Apache License 2.0
7 stars 4 forks source link

Installation fails on macOS aarch64 #7

Open lpil opened 2 years ago

lpil commented 2 years ago

Describe the bug

Installation fails on Apple macOS ARM computers.

Steps to reproduce

asdf install chezscheme 9.5.8

Expected behavior

Chez Scheme 9.5.8 installs successfully.

Screenshots

$ asdf install chezscheme 9.5.8
* Downloading chezscheme release 9.5.8...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 33.8M  100 33.8M    0     0  20.6M      0  0:00:01  0:00:01 --:--:-- 31.0M
./configure: line 338: [: =: unary operator expected
./configure: line 338: [: =: unary operator expected
no suitable machine type found
try rerunning as ./configure -m=<machine type>
available machine types: a6le, a6nt, a6osx, arm32le, i3le, i3nt, i3osx, ta6le, ta6nt, ta6osx, ti3le, ti3nt, and ti3osx
make: *** No rule to make target `install'.  Stop.
\e[31mFail:\e[m Expected /Users/louis/.asdf/installs/chezscheme/9.5.8/bin/ to be executable.
\e[31mFail:\e[m An error ocurred while installing chezscheme 9.5.8.

Additional context

gwerbin commented 1 year ago

This is probably because. Chez Scheme does not currently support MacOS ARM64. The ASDF plugin would need to implement support for the Racket fork of Chez, which adds ARM64 support: https://github.com/racket/ChezScheme