Skip to content
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

Build failure #1246

Closed
kination opened this issue Feb 11, 2019 · 2 comments
Closed

Build failure #1246

kination opened this issue Feb 11, 2019 · 2 comments

Comments

@kination
Copy link

Hello~
I'm a beginner in this project. I just faced an error while build:

  Compiling actix v0.7.9
   Compiling snow v0.4.2
   Compiling exonum_sodiumoxide v0.0.20
error: failed to run custom build command for `exonum v0.10.2 (/Users/kwangin/workspace/exonum/exonum)`
process didn't exit successfully: `/Users/kwangin/workspace/exonum/target/debug/build/exonum-a38683bcef37b8fd/build-script-build` (exit code: 101)
--- stdout
cargo:protos=/Users/kwangin/workspace/exonum/exonum/src/proto/schema/exonum

--- stderr
thread 'main' panicked at 'protoc: Custom { kind: NotFound, error: StringError("failed to spawn `\"protoc\" \"--version\"`: No such file or directory (os error 2)") }', libcore/result.rs:1009:5
...

Is there somebody know about this?

My env:

MacOS: 10.14
Rust: 1.31
@vitvakatu
Copy link
Contributor

vitvakatu commented Feb 11, 2019

@djKooks Hello. You need to install protobuf compiler and dev libraries. On Mac, it's enough to install zprotobuf package using brew. On Ubuntu you'll need protobuf-compiler and libprotobuf-dev packages.

We'll update our installation instructions soon.

@kination
Copy link
Author

@vitvakatu thanks! Official docs didn't comment about protobuf(seems updated in newest version), so I missed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants