docs: note python3-dev requirement and use rm -rf for circuits

The wallet links against system Python via pyo3 (keycard support), so the
Python development package is needed to build. Add python3-dev / python3-devel
/ brew python to the per-platform build-dependency install commands.

Also switch the circuits cleanup step from `rm -r` to `rm -rf` so it does not
prompt or fail when the directory is absent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
fryorcraken 2026-06-15 21:56:46 +10:00
parent 6744e2f8c3
commit 1a03cb7570
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -86,21 +86,25 @@ lee_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git
# Install dependencies
### Install build dependencies
The wallet links against the system Python (via `pyo3`, used for keycard
support), so the Python development package is required in addition to the
usual build tools.
- On Linux
Ubuntu / Debian
```sh
apt install build-essential clang libclang-dev libssl-dev pkg-config
apt install build-essential clang libclang-dev libssl-dev pkg-config python3-dev
```
- On Fedora
```sh
sudo dnf install clang clang-devel openssl-devel pkgconf
sudo dnf install clang clang-devel openssl-devel pkgconf python3-devel
```
- On Mac
```sh
xcode-select --install
brew install pkg-config openssl
brew install pkg-config openssl python
```
### Install Rust
@ -147,7 +151,7 @@ The sequencer and logos blockchain node can be run locally:
1. On one terminal go to the `logos-blockchain/logos-blockchain` repo and run a local logos blockchain node:
- `git checkout master; git pull`
- `cargo clean`
- `rm -r ~/.logos-blockchain-circuits`
- `rm -rf ~/.logos-blockchain-circuits`
- `./scripts/setup-logos-blockchain-circuits.sh`
- `cargo build --all-features`
- `./target/debug/logos-blockchain-node --deployment nodes/node/standalone-deployment-config.yaml nodes/node/standalone-node-config.yaml`