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
Can't run Wasp on Termux (Linux Terminal emulator for Android) #1100
Comments
Could you please run |
Where should I add this? On the "wasp new Waspapp" command? |
Run it in your terminal as a command. It will give you info about the CPU arch. |
I got the below: |
@sparkle666 for now we are building Wasp for Ubuntu (which works for most Linux distributions) and for MacOS -> but we don't build it for Android! I have to admit we haven't expected anybody to use it on Android -> what is your use case for using it on Android, why do you want to do that? One way to go around, in theory, is to build the Wasp on your own -> you can check https://github.com/wasp-lang/wasp/tree/main/waspc for instructions on how to do that. But for that you will need to set up Haskell development stuff on your Android which might also be tricky. |
Github Actions currently don't support |
Ok, labeling this one as won't fix for now but we can let it stick around for a while. |
Closing since we can't dedicate resources to this for now + it is a very niche use case. If it becomes more of a priority we can reopen! |
Hey, just stumbled on this issue, I am a Termux package maintainer. Building the wasp compiler for Termux doesn't require an AArch64 github action image, we currently cross-compile all Termux packages from Ubuntu x86_64 github action images, including ghc and several Haskell packages. I encourage you to take a look at our build scripts and maybe you can submit a Termux package, which users like @sparkle666 would like to use. With more than 10 million downloads of the Termux app on the Play Store, you may pick up some more users this way. |
Greetings, what language do I need to learn to build a termux package like that allows running wasp on termux? |
The Termux package build is just a bunch of bash scripts, but since this compiler is written in Haskell, probably best if one of the wasp devs looks at cross-compiling it for Android. |
Thanks for info @finagolfin ! This is still quite out of our reach at the moment, due to a ton of other stuff we are working on, but I will reopen issue in case somebody wants to jump in and take a stab at it. |
Describe the bug
Wasp says: cannot execute binary file: Exec format error when trying to install on termux.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Any work around for this?
The text was updated successfully, but these errors were encountered: