Paritätsinstallationsproblem in OSX

Bei der Installation habe ich am Ende das:

Die letzten 15 Zeilen aus /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.

Bevor ich --verbose mache, kann jemand vielleicht schon sehen, was das Problem ist?

Danke von einem nicht so erfahrenen Mac-Benutzer!

Update: Bei der Installation laut @Ellis kommt folgendes:

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'

Irgendwelche Ideen, wie man es beheben kann? Hat es etwas damit zu tun, dass "gpg nicht vorhanden ist"?

Versuch's einfach: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'
Prüfsumme kann immer noch nicht heruntergeladen werden?
versuchen Sie es einfach: brew install curl
Schauen Sie in den Artikel über Ubuntu. Ich installiere viele Pakete: file git curl bzip2 make
Ich bin auf Mac, nicht auf Ubuntu.. Versucht brew install curlund es wurde installiert. Das Problem aus dem obigen Kommentar besteht jedoch weiterhin. Ich bekomme wiederrustup: 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'
Könnten Sie überprüfen, ob Sie eine Locke in Ihrem Pfad haben?which curl

Antworten (1)

Ich habe vor einigen Wochen unter OS X an der Parität gearbeitet. Diese Anleitung ist für Parity 1.2. Der Aufbau ist sehr lang. Ich nehme an, Sie haben Homebrew installiert.

Homebrew (Juni 2016) hat eine vorinstallierte Version von Parity: Version 1.1. Um Konflikte zu vermeiden, löschen wir diese und springen auf Version 1.2:

user:~ brew remove parity

Ethcore bietet einen einzigartigen Befehl zum Installieren von Parity, aber um Version 1.2 zu installieren, sollten Sie ihn nicht verwenden, sondern wie folgt vorgehen:

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/

Dieser Befehl installiert den Rust-Compiler und lädt alles, was benötigt wird, von github herunter. Nach kurzer Zeit wird die Parität auf Ihrem System bereitgestellt.

Wenn Sie nach weiteren Informationen suchen, können Sie diesen Artikel lesen: https://ellis2323.gitbooks.io/blckchn/content/[EN]_Parity.html

Danke, @Ellis. Während der Installation habe ich einen anderen Fehler, ich habe den Anfangspost aktualisiert.