Problem during installation

Hello,
when i run the script

./scripts/cli/start_cli_testnet.sh

i have this error(on Ubutu 18.04)

error: failed to run custom build command for mempool v0.1.0 (/home/cristian/libra/mempool)

Caused by:
process didn’t exit successfully: /home/cristian/libra/target/debug/build/mempool-e30338c93f591351/build-script-build (exit code: 101)
— stdout
cargo:rerun-if-changed=src/proto/shared/mempool_status.proto
cargo:rerun-if-changed=…/types/src/proto/events.proto
cargo:rerun-if-changed=…/types/src/proto/validator_set.proto
cargo:rerun-if-changed=…/types/src/proto/transaction.proto
cargo:rerun-if-changed=…/types/src/proto/validator_change.proto
cargo:rerun-if-changed=…/types/src/proto/get_with_proof.proto
cargo:rerun-if-changed=…/types/src/proto/transaction_info.proto
cargo:rerun-if-changed=…/types/src/proto/access_path.proto
cargo:rerun-if-changed=…/types/src/proto/vm_errors.proto
cargo:rerun-if-changed=…/types/src/proto/proof.proto
cargo:rerun-if-changed=…/types/src/proto/account_state_blob.proto
cargo:rerun-if-changed=…/types/src/proto/ledger_info.proto
cargo:rerun-if-changed=…/types/src/proto/validator_public_keys.proto
cargo:rerun-if-changed=src/proto/shared/mempool_status.proto
cargo:rerun-if-changed=src/proto/shared/mempool_status.proto

— stderr
mempool_status.proto: No such file or directory
thread ‘main’ panicked at ‘failed to write descriptor set: Custom { kind: Other, error: StringError(“protoc (“protoc” “-I…/types/src/proto” “-Isrc/proto/shared” “-Isrc/proto/shared” “–descriptor_set_out=/tmp/0e0878dedad741f3a7b83b8b8b62d70b” “–include_imports” “mempool_status.proto”) exited with non-zero exit code”) }’, src/libcore/result.rs:999:clock5:

Can someone help me?

Thanks

@cbuffoni, thanks for reporting the problem!

If you run ./scripts/dev_setup.sh, you should see an error saying that the protoc version is too old. You can follow the solution here to update protoc to 3.6.0 or above. https://askubuntu.com/questions/1072683/how-can-i-install-protoc-on-ubuntu-16-04/1072684

1 Like

The problem is solved
Thank you