Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installs wrong binary on ARM #49

Closed
FossPrime opened this issue Feb 28, 2019 · 7 comments
Closed

Installs wrong binary on ARM #49

FossPrime opened this issue Feb 28, 2019 · 7 comments

Comments

@FossPrime
Copy link

I ran the installer on my computer, got this:

pi@raspberrypi:~ $ deno --help
bash: /home/pi/.deno/bin/deno: cannot execute binary file: Exec format error
@afinch7
Copy link
Contributor

afinch7 commented Feb 28, 2019

Currently there isn't an official arm/arm64 binary. I'm working on getting arm/arm64 builds out there though. You can check denoland/deno#1846 for more info.

@ry
Copy link
Member

ry commented Feb 28, 2019

The installer should fail if arch != x64 until we can produce arm binaries.

@FossPrime
Copy link
Author

FossPrime commented Feb 28, 2019

Here is what node uses
https://hub.docker.com/r/arm32v6/node/

It's worth noting that to get deno running on Raspberry Pi A 1, A 2, B 1, B 2 1.0, Z and Z W we'll need 32bit ARM binaries. Even most of the latest RPi 3's use 32bit Raspbian, despite support for 64bit ARM v8. The Pi Zero's would need v6.

An Alpine build should streamline the process like node did.

@afinch7
Copy link
Contributor

afinch7 commented Feb 28, 2019

I designed my build process around the aarch64-linux-gnu cross compilers, but it wouldn't be to hard to modify my process to use the arm-linux-gnueabihf(armhf/armv7+) or arm-linux-gnueabiel(armel/armv4+). It's not currently possible to build deno on arm because some of the build tools don't have arm binaries.

@MarkTiedemann
Copy link
Contributor

This was fixed for the Shell installer, but it still needs to be fixed for the PowerShell installer.

@a-x-
Copy link

a-x- commented Mar 27, 2021

It's still actual.
I tried to install on raspberry pi 4 (raspbian)
Linux rpi4 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux

@curiousercreative
Copy link

Unofficial arm builds Installation instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants