Clients
OSX中的奇偶校驗安裝問題
在安裝過程中,我最後得到了這個:
/Users/maksim/Library/Logs/Homebrew/parity/02.multirust 的最後 15 行:
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。本指南適用於 Parity 1.2。建構很長。我想你已經安裝了自製軟體。
Homebrew(2016 年 6 月)預裝了 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 $$_奇偶校驗.html