Closed TurtleSnail closed 5 months ago
Pull submodules first
# git submodule update --init --recursive
...
# cargo build --release --features with-acala-runtime
...
Compiling tokio-stream v0.1.14
Compiling librocksdb-sys v0.11.0+8.1.1
Compiling flate2 v1.0.28
error: failed to run custom build command for `sc-network-bitswap v0.30.0`
Caused by:
process didn't exit successfully: `/root/Acala/target/release/build/sc-network-bitswap-5137721f5e207099/build-script-build` (exit status: 101)
--- 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
this seems to fix
apt install -y protobuf-compiler libprotobuf-dev
so why not put it in the instructions?
The Steps to Build:
apt install -y protobuf-compiler libprotobuf-dev
git clone https://github.com/AcalaNetwork/Acala.git
cd Acala
git checkout 2.23.0
git submodule update --init --recursive
cargo build --release --features with-acala-runtime
wiki updated to use instructions from readme
https://wiki.acala.network/integrate/acala/full-node
Describe the bug Doesn't build
Expected Behavior Expect it to build
Current Behavior Doesn't build, just fails, right out of the gate.
Steps to Reproduce
1. 2. 3. 4.
Additional context
code blocks