Parity-ethereum: Build fail

Created on 22 Jul 2018  ·  2Comments  ·  Source: openethereum/parity-ethereum

I'm running: ~/.cargo/bin/cargo build --release

  • Which Parity version?: git pull branch master
  • Which operating system?: Linux
  • How installed?: via installer from source
  • Are you fully synchronized?: no / yes

i'm clone source from git with branch master.

i get:

error: failed to run custom build command for `snappy-sys v0.1.0 (https://github.com/paritytech/rust-snappy#798408ff)`
process didn't exit successfully: `/root/parity/target/release/build/snappy-sys-6384db6204222bf7/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/root/.cargo/git/checkouts/rust-snappy-affd814aab166778/798408f/snappy-sys/snappy" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DCMAKE_INSTALL_PREFIX=/root/parity/target/release/build/snappy-sys-490739fd83dab868/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Release"

--- stderr
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?

build script failed, must exit now', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.31/src/lib.rs:643:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
M0-build 🏗 Z1-question 🙋‍♀️

Most helpful comment

please get cmake:

apt-get install -y cmake

All 2 comments

please get cmake:

apt-get install -y cmake

i'm having the same problems and i already have cmake installed !

Was this page helpful?
0 / 5 - 0 ratings