Во время установки я получил в конце это:
Последние 15 строк из /Users/maksim/Library/Logs/Homebrew/parity/02.multirust:
Compiling serde v0.7.4
Compiling itertools v0.4.13
Compiling bytes v0.3.0
Compiling winapi-build v0.1.1
Compiling bloomchain v0.1.0
error: linking with `cc` failed: exit code: 1 note: "cc" "-m64" "-L"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib"
"/private/tmp/parity-20160607-9932-1o2o3fo/target/release/build/heapsize-40dd75c58e1708a9/build_script_build.0.o"
"-o"
"/private/tmp/parity-20160607-9932-1o2o3fo/target/release/build/heapsize-40dd75c58e1708a9/build_script_build"
"-Wl,-dead_strip" "-nodefaultlibs" "-L"
"/private/tmp/parity-20160607-9932-1o2o3fo/target/release/deps" "-L"
"/private/tmp/parity-20160607-9932-1o2o3fo/target/release/deps" "-L"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/libstd-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/libcollections-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/librustc_unicode-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/librand-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/liballoc-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/liblibc-d16b8f0e.rlib"
"/private/tmp/parity-20160607-9932-1o2o3fo/.brew_home/.multirust/toolchains/stable/lib/rustlib/x86_64-apple-darwin/lib/libcore-d16b8f0e.rlib"
"-l" "System" "-l" "pthread" "-l" "c" "-l" "m" "-l" "compiler-rt"
note: ld: entry point (start) undefined. Usually in crt1.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
error: Could not compile `heapsize`.
To learn more, run the command again with --verbose.
Прежде чем я сделаю --verbose, может быть, кто-то уже понял, в чем проблема?
Спасибо от не очень опытного пользователя Mac!
Обновление: во время установки в соответствии с @Ellis получите следующее:
maksims-mbp:parity maksim$ brew update && brew install multirust
Already up-to-date.
Warning: multirust-0.8.0 already installed
maksims-mbp:parity maksim$ multirust default stable
multirust: installing toolchain 'stable'
rustup: gpg not available. signatures will not be verified
rustup: downloading manifest for 'stable'
rustup: command failed: curl -s -f -O https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256
rustup: couldn't download checksum file 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256'
rustup: downloading manifest for 'stable'
rustup: command failed: curl -s -f -O https://static.rust-lang.org/dist/channel-rust-stable.sha256
rustup: couldn't download checksum file 'https://static.rust-lang.org/dist/channel-rust-stable.sha256'
Любые идеи о том, как это исправить? Это как-то связано с "отсутствием 'gpg'"?
Несколько недель назад я работал над паритетом на OS X. Это руководство предназначено для Parity 1.2. Сборка очень долгая. Я полагаю, вы установили homebrew.
Homebrew (июнь 2016 г.) имеет предустановленную версию Parity: версия 1.1. Чтобы избежать конфликтов, давайте удалим это и перейдем к версии 1.2:
user:~ brew remove parity
Ethcore предоставляет уникальную команду для установки Parity, но для установки версии 1.2 вам не следует использовать ее, а действовать следующим образом:
user:~ brew update && brew install multirust
user:~ multirust default stable
user:~ cd && git clone https://github.com/ethcore/parity.git && cd parity
user:~ cargo run --release
user:~ sudo cp parity//target/release/parity /usr/local/bin/
Эта команда устанавливает компилятор rust и загружает все необходимое с github. Через некоторое время в вашей системе развернут контроль четности.
Если вы ищете дополнительную информацию, вы можете прочитать эту статью: https://ellis2323.gitbooks.io/blckchn/content/[EN]_Parity.html
Эллис
brew install gpg
Максим Равновесов
multirust: installing toolchain 'stable' rustup: gpg available. signatures will be verified rustup: downloading manifest for 'stable' rustup: command failed: curl -s -f -O https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256 rustup: couldn't download checksum file 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' rustup: downloading manifest for 'stable' rustup: command failed: curl -s -f -O https://static.rust-lang.org/dist/channel-rust-stable.sha256 rustup: couldn't download checksum file 'https://static.rust-lang.org/dist/channel-rust-stable.sha256'
Максим Равновесов
Эллис
Эллис
Максим Равновесов
brew install curl
, и он был установлен. Однако проблема из комментария выше все еще существует. я снова получаюrustup: command failed: curl -s -f -O https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256 rustup: couldn't download checksum file 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256'
Эллис
which curl