Build failed

When trying to run start_cli_testnet. Get below error. Anyone know how to resolve it?

./scripts/cli/start_cli_testnet.sh
Building and running client in debug mode.
Compiling grpcio v0.4.4
Compiling failure v0.1.5
Compiling futures-preview v0.3.0-alpha.16
Compiling network v0.1.0 (/Users/likawang/git/github/libra/libra/network)
Compiling string_cache v0.7.3
error: failed to run custom build command for network v0.1.0 (/Users/likawang/git/github/libra/libra/network)

Caused by:
process didn’t exit successfully: /Users/likawang/git/github/libra/libra/target/debug/build/network-267ca6ea5a198f61/build-script-build (exit code: 101)
— stdout
cargo:rerun-if-changed=src/proto/network.proto
cargo:rerun-if-changed=src/proto/mempool.proto
cargo:rerun-if-changed=src/proto/consensus.proto

— stderr
thread ‘main’ panicked at ‘protoc: Custom { kind: NotFound, error: StringError(“failed to spawn \"protoc\" \"--version\": No such file or directory (os error 2)”) }’, src/libcore/result.rs:999:5
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish…
error: build failed

It appears that you don’t have protoc installed. Please install it and then this should be resolved.

Did this fix?

CryptoDinero
Pay as U Go Solar
4 the World