rust-ceramic
rust-ceramic copied to clipboard
BUG: Cargo build fails on feat/private-data
Describe the bug
can't build ceramic-one on feat/private-data (follow https://blog.ceramic.network/private-data-guide/) on a blank machine.
To Reproduce
git clone https://github.com/ceramicnetwork/rust-ceramic && cd rust-ceramic && git fetch
git checkout feat/private-data
cargo run -p ceramic-one -- daemon
-->
...
Compiling num_enum v0.5.11
Compiling sqlx-macros-core v0.7.4
Compiling flume v0.10.14
Compiling iroh-car v0.29.0 (/Users/stadolf/work/rust-ceramic/beetle/iroh-car)
error: failed to run custom build command for `iroh-bitswap v0.29.0 (/Users/stadolf/work/rust-ceramic/beetle/iroh-bitswap)`
Caused by:
process didn't exit successfully: `/Users/stadolf/work/rust-ceramic/target/debug/build/iroh-bitswap-e964f9fd6da22ebf/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at /Users/stadolf/.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.
Ceramic versions one / feat/private-data
Machine, OS, browser information (please complete the following information): OSX Sonoma 14.6,rustup 1.27.1 (54dd3d00f 2024-04-24), rustc 1.80.0 (051478957 2024-07-21)