-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when start test client #181
Comments
It seems your protoc version is too old. Could you please try to remove the old version and install the latest one? |
i tried protoc --version -> libprotoc 3.7.0 still a problem: ================ Caused by: --- stderr warning: build failed, waiting for other jobs to finish... ==================== thanks |
@yoshi721 what OS are you running? |
I got the same issue with Mac OS X 10.14.5 (18F132). It seems that I need to uninstall proto2 and re-install proto3. Reference: linkerd/linkerd#1118 I'll post here if this can be fixed with the above reference. |
The issue is that the default version of If you get the same issue, let's uninstall
Then re-run the scripts (https://developers.libra.org/docs/my-first-transaction) to make Libra working. |
NAME="Ubuntu" |
@yoshi721 Hi, I have the same problem and I found the solution. You just need to download the protoc (like protoc 3.9.0 from https://github.com/protocolbuffers/protobuf/releases), and copy the include directory to /usr/local. Just installed protoc 3.6.1 didnt work for me. |
I am using Mac OS 10.15.1 ver and do not have an issue with the execution of ./scripts/cli/start_cli_testnet.sh. have you downloaded the latest one and execute the same? |
The external dependencies needed to build Libra have been simplified and should only require Rust now so this shouldn't be an issue anymore on master. If it is, please let us know. |
hey i got the following error message: can anyone help?
Building and running client in debug mode.
Compiling prost-derive v0.5.0
Compiling which v2.0.1
Compiling protoc-grpcio v0.3.1
Compiling failure_ext v0.1.0 (/root/Desktop/test/libra/libra/common/failure_ext)
Compiling ed25519-dalek v1.0.0-pre.1
Compiling threshold_crypto v0.3.1
Compiling codespan v0.1.3
Compiling snow v0.5.2
Compiling network v0.1.0 (/root/Desktop/test/libra/libra/network)
error: failed to run custom build command for
network v0.1.0 (/root/Desktop/test/libra/libra/network)
Caused by:
process didn't exit successfully:
/root/Desktop/test/libra/libra/target/debug/build/network-3bce66de4ba49a2b/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
network.proto:4:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2".
thread 'main' panicked at 'protoc: Custom { kind: Other, error: StringError("protoc ("protoc" "-I../types/src/proto" "-Isrc/proto" "--descriptor_set_out=/tmp/protoc-rustXMd2Vi/descriptor.pbbin" "--include_imports" "src/proto/network.proto" "src/proto/mempool.proto" "src/proto/consensus.proto") exited with non-zero exit code") }', 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
The text was updated successfully, but these errors were encountered: