We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OS: macOS Sierra 10.12.6
Darwin a.b.c.d 16.7.0 Darwin Kernel Version 16.7.0: Wed Feb 27 00:29:57 PST 2019; root:xnu-3789.73.43~1/RELEASE_X86_64 x86_64
When I tried to download the pre-built binary, I am unable to run it:
› curl -fsSL -o docopts https://github.com/docopt/docopts/releases/download/v0.6.3-alpha1/docopts && chmod +x docopts && ./docopts --help zsh: exec format error: ./docopts › file ./docopts ./docopts: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @stephenchu
prebuilt binaries are for GNU/Linux only, not for mac OS. I should write it somewhere, sorry.
I built this for you with golang cross compile built-in on my Linux 64 bits OS.
$ make docopts-OSX env GOOS=darwin go build -o docopts-OSX docopts.go
I don't have any mac OS nearby, it is not tested.
I uploaded it here: docopts-OSX Download Expiration: sunday 9 june 2019 05:26 GMT+2 https://framadrop.org/r/yyX4nzLvMc#ravQ1355P/8+Y/A5J0H3XpId+FH++1pTCnbfpwEK/38=
Here is the checksum to verify the downloaded binary.
$ sha256sum docopts-OSX 4981ea3995641d3b00f5ee760ea404598734aa2320f81a6ef8b9c569a865d8c1 docopts-OSX
does it helps?
In the file:
https://github.com/docopt/docopts/blob/master/.travis.yml
There is command to build for mac OS, if you want to try on your computer
Of course, you will need to setup a build environment for golang on you computer.
brew update brew install bash bash --version ; type bash go get github.com/docopt/docopt-go go get github.com/docopt/docopts
another option would be to retrieve the travis built binary.
Hope that helps.
Sorry, something went wrong.
Hi @stephenchu, did you test the provided binary?
I close this issue, and opened #32
Sylvain303
No branches or pull requests
OS: macOS Sierra 10.12.6
When I tried to download the pre-built binary, I am unable to run it:
Thanks.
The text was updated successfully, but these errors were encountered: