THIS ERROR APPEARS WHEN I EXECUTE THE COMMANDS
cargo run -p libra_swarm - -h
Y;
./scripts/cli/start_cli_testnet.sh
HELP<<<<<<
Compiling grpcio-sys v0.4.4
error: failed to run custom build command for grpcio-sys v0.4.4
Caused by:
process did not exit successfully: / home / xxxxxxx / libra / target / debug / build / grpcio-sys-18712f499919ddc1 / build-script-build
(exit code: 101)
— stdout
charge: rerun-if-changed = grpc_wrap.cc
charge: rerun-if-changed = grpc
charge: rerun-if-env-changed = GRPCIO_SYS_USE_PKG_CONFIG
charge: rerun-if-env-changed = CARGO_CFG_TARGET_OS
running: “cmake” “/home/xxxxxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.4.4/grpc” “-DgRPC_INSTALL = false” “-DgRPC_BUILD_CSHARP_EXT = false” "-DgRPC_BUILD_CODEGEN = false “” -DgRPC_BENCHMARK_PROVIDER = none “” -DCMAKE_INSTALL_PREFIX = / home / xxxxxx / libra / target / debug / build / grpcio-sys-c998cb3e25589d95 / 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 = Debug”
- Configuring incomplete, errors occurred!
See also “/home/xxxxxxx/libra/target/debug/build/grpcio-sys-c998cb3e25589d95/out/build/CMakeFiles/CMakeOutput.log”.
See also “/home/xxxxxxx/libra/target/debug/build/grpcio-sys-c998cb3e25589d95/out/build/CMakeFiles/CMakeError.log”.
— stderr
CMake Warning at cmake / protobuf.cmake: 48 (message):
gRPC_PROTOBUF_PROVIDER is “module” but PROTOBUF_ROOT_DIR is wrong
Call Stack (most recent call first):
CMakeLists.txt: 140 (include)
CMake Error at third_party / boringssl / CMakeLists.txt: 38 (message):
Could not find Go
thread ‘main’ panicked at ’
command did not execute successfully, got: exit code: 1
build script failed, must exit now ', /home/xxxxxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.40/src/lib.rs:832:5
note: Run with RUST_BACKTRACE = 1
environment variable to display a backtrace.