-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi, I am having the following mentioned problem trying to compile nostr:
root@ubuntu-2gb-hil-1:/opt/nostr-rs-relay# cargo build --release Compiling nostr-rs-relay v0.8.13 (/opt/nostr-rs-relay) Compiling r2d2_sqlite v0.19.0 error: failed to run custom build command for nostr-rs-relay v0.8.13 (/opt/nostr-rs-relay)`
Caused by:
process didn't exit successfully: /opt/nostr-rs-relay/target/release/build/nostr-rs-relay-40a420d7ad03d549/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-changed=proto/nauthz.proto
cargo:rerun-if-changed=proto
--- stderr
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10:
Could not find protoc installation and this build crate cannot proceed without
this knowledge. If protoc is installed and this crate had trouble finding
it, you can set the PROTOC environment variable with the specific path to your
installed protoc binary.If you're on debian, try apt-get install protobuf-compiler or download it from https://github.com/protocolbuffers/protobuf/releases
For more information: https://docs.rs/prost-build/#sourcing-protoc
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
`
System:
Ubuntu 22.04
rustc 1.73.0 (cc66ad468 2023-10-03)
cargo 1.73.0 (9c4383fb5 2023-08-26)
Any help would be appreciated