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

update install.sh to support Windows x86 #4124

Open
cryptoni9n opened this issue Dec 10, 2024 · 1 comment · May be fixed by #4149
Open

update install.sh to support Windows x86 #4124

cryptoni9n opened this issue Dec 10, 2024 · 1 comment · May be fixed by #4149

Comments

@cryptoni9n
Copy link
Collaborator

It appears that there is only support for aarch64-apple-darwin, x86_64-apple-darwin, and x86_64-unknown-linux-gnu in install.sh

from a bash shell on a Windows 11 machine, I receive this response from the curl script

v0.21.3

install.sh: Could not determine target from output of `uname -m`-`uname -s`, please use `--target`: x86_64-MINGW64_NT-10.0-22631
install.sh: Target architecture is not supported by this install script.
install.sh: Consider opening an issue or building from source: https://github.com/ordinals/ord``

attempting to specify the uname:

install.sh: Repository:  https://github.com/ordinals/ord
install.sh: Crate:       ord
install.sh: Tag:         0.21.3
install.sh: Target:      x86_64-windows
install.sh: Destination: /c/Users/nine/bin
install.sh: Archive:     https://github.com/ordinals/ord/releases/download/0.21.3/ord-0.21.3-x86_64-windows.tar.gz
curl: (22) The requested URL returned error: 404

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

if this is an unsupported method on windows machines, I think we should add that information to https://docs.ordinals.com/guides/wallet.html#installing-ord

@casey casey linked a pull request Dec 23, 2024 that will close this issue
4 tasks
@casey
Copy link
Collaborator

casey commented Dec 23, 2024

This script is adapted from just's install script.

I opened #4149 to incorporate new changes and make it work on Windows. I don't have a Windows PC, x86 Linux, or x86 Mac handy, so testing on those platforms is appreciated!

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

Successfully merging a pull request may close this issue.

2 participants