Hi everyone,
I tried to build and deploy Internet Identity locally as written here: GitHub - dfinity/internet-identity: Internet Identity, the Single Sign On service for the Internet Computer.
The build fails, and an error is thrown as follows. Does anyone know what I am missing?
error: failed to run custom build command for `wabt-sys v0.8.0`
Caused by:
process didn't exit successfully: `/tmp/cargo-installAdGCBt/release/build/wabt-sys-4f936b85bd067f17/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=WABT_CXXSTDLIB
cargo:rerun-if-env-changed=CXXSTDLIB
running: "cmake" "/home/pr/.cargo/registry/src/github.com-1ecc6299db9ec823/wabt-sys-0.8.0/wabt" "-DBUILD_TESTS=OFF" "-DBUILD_TOOLS=OFF" "-DCMAKE_INSTALL_PREFIX=/tmp/cargo-installAdGCBt/release/build/wabt-sys-6b69f364317380f8/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_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-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', /home/pr/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.45/src/lib.rs:894:5
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 `ic-cdk-optimizer v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installAdGCBt`
Caused by:
build failed
The build step failed for canister 'rwlgt-iiaaa-aaaaa-aaaaa-cai' with an embedded error: The custom tool failed.
Cheers
PR