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

Error during building: prost-build v0.7.0, The PROTOC environment variable is not set #18

Open
adamvm opened this issue Jun 5, 2021 · 2 comments
Assignees

Comments

@adamvm
Copy link

adamvm commented Jun 5, 2021

pi@pi4:~/automata $ cargo build --release
Compiling sct v0.6.0
Compiling webpki v0.21.4
Compiling wasm-timer v0.2.5
Compiling rw-stream-sink v0.2.1
Compiling soketto v0.4.2
Compiling yamux v0.8.1
Compiling libp2p-pnet v0.20.0
Compiling intervalier v0.4.0
Compiling futures-diagnose v1.0.1
Compiling exit-future v0.2.0
Compiling prost-build v0.7.0
error: failed to run custom build command for prost-build v0.7.0

Caused by:
process didn't exit successfully: /home/pi/automata/target/release/build/prost-build-0f2fe0256215a37a/build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at 'Failed to find the protoc binary. The PROTOC environment variable is not set, there is no bundled protoc for this platform, and protoc is not in the PATH', /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/prost-build-0.7.0/build.rs:100:10
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
pi@pi4:~/automata $

@adamvm
Copy link
Author

adamvm commented Jun 8, 2021

gabrielrussoc/prost-build#1 filled

@Gnnng Gnnng assigned Liao1 and RyuH1 Jun 11, 2021
@ashWhiteHat
Copy link

I use alpine and fix with.

apk add protoc

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

No branches or pull requests

4 participants