mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 989 forks source link

install grin-wallet error #3679

Closed DaviRain-Su closed 2 years ago

DaviRain-Su commented 2 years ago

Describe the bug install grin-wallet error

To Reproduce

πŸ•™ 17:43:25 βœ–  brew install grin grin-wallet
Warning: grin 5.1.1 is already installed and up-to-date.
To reinstall 5.1.1, run:
  brew reinstall grin
Error: grin-wallet: no bottle available!
You can try to install from source with:
  brew install --build-from-source grin-wallet
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
πŸ•™ 17:46:52 βœ–  brew install --build-from-source grin-wallet
==> Downloading https://github.com/mimblewimble/grin-wallet/archive/v5.0.3.tar.gz
Already downloaded: /Users/davirain/Library/Caches/Homebrew/downloads/a5cda5cd43c659cad4c6e5f308f6b2483538edc2f2ff598b9f07081589fba7a6--grin-wallet-5.0.3.tar.gz
==> Patching
==> cargo install
Last 15 lines from /Users/davirain/Library/Logs/Homebrew/grin-wallet/01.cargo:
  .type GFp_aes_hw_ctr32_encrypt_blocks,%function
  ^
  /Users/davirain/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/ring-0.16.15/pregenerated/aesv8-armx-linux64.S:403:1: error: unknown directive
  .size GFp_aes_hw_ctr32_encrypt_blocks,.-GFp_aes_hw_ctr32_encrypt_blocks
  ^
  /Users/davirain/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/ring-0.16.15/pregenerated/aesv8-armx-linux64.S:407:19: error: unexpected token in '.section' directive
  .section .note.GNU-stack,"",%progbits
                    ^
  thread 'main' panicked at 'execution failed', /Users/davirain/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/ring-0.16.15/build.rs:664:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `grin_wallet v5.0.3 (/private/tmp/grin-wallet-20211228-58966-7c8hs3/grin-wallet-5.0.3)`, intermediate artifacts can be found at `/private/tmp/grin-wallet-20211228-58966-7c8hs3/grin-wallet-5.0.3/target`

Caused by:
  build failed

READ THIS: https://docs.brew.sh/Troubleshooting

system: MacOs

phyro commented 2 years ago

Do you get the same error if you try to grab the latest release from the website https://grin.mw/download ?

DaviRain-Su commented 2 years ago

Do you get the same error if you try to grab the latest release from the website https://grin.mw/download ?


πŸ•™ 18:55:11 ❯ brew install grin-wallet
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 1 formula.
==> Updated Casks
Updated 1 cask.

Error: grin-wallet: no bottle available! You can try to install from source with: brew install --build-from-source grin-wallet Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels.

πŸ•™ 19:09:05 βœ– brew install grin Warning: grin 5.1.1 is already installed and up-to-date. To reinstall 5.1.1, run: brew reinstall grin


SO, install grin is ok, but install grin-wallet meet some error.
phyro commented 2 years ago

Using brew is one way to install it. I'm not really a mac user so I can't help much there. The website I referenced also contains a link to .tar.gz release for macos. You can download it by clicking on grin-wallet v5.0.3. I suggest you try this method of installing the wallet.

DaviRain-Su commented 2 years ago

Using brew is one way to install it. I'm not really a mac user so I can't help much there. The website I referenced also contains a link to .tar.gz release for macos. You can download it by clicking on grin-wallet v5.0.3. I suggest you try this method of installing the wallet.

thx