mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-30 19:46:15 +00:00
docs: document libclang-dev as a mandatory Linux build prerequisite
Linux source builds pull in rustables, whose build script runs bindgen to generate nftables bindings for the LAN gateway. bindgen needs libclang.so on the build host, so a clean source build fails with 'Unable to find libclang' unless libclang-dev (or llvm) is installed. The prerequisite text in README.md and CONTRIBUTING.md previously listed only the optional BLE dependencies, and packaging/README.md had no source-build prerequisite list at all. Document libclang-dev as a mandatory Linux build dependency, distinct from the optional BLE deps, and note that it is build-time only so pre-built .deb installs are unaffected.
This commit is contained in:
+6
-3
@@ -35,9 +35,12 @@ cargo test
|
||||
```
|
||||
|
||||
The pinned toolchain in [rust-toolchain.toml](rust-toolchain.toml) is
|
||||
used for deterministic builds. On Debian/Ubuntu, BLE-capable builds
|
||||
need `bluez`, `libdbus-1-dev`, and `pkg-config` installed; the default
|
||||
build picks up BLE if those are present and skips it cleanly if not.
|
||||
used for deterministic builds. On Linux, a source build requires
|
||||
`libclang` (`sudo apt install libclang-dev` on Debian/Ubuntu): the LAN
|
||||
gateway's nftables bindings are generated by `bindgen` at build time
|
||||
and fail without it. BLE-capable builds additionally need `bluez`,
|
||||
`libdbus-1-dev`, and `pkg-config` installed; the default build picks
|
||||
up BLE if those are present and skips it cleanly if not.
|
||||
|
||||
For multi-node integration runs, Docker is required. The harness
|
||||
under [testing/](testing/) starts containerized topologies and
|
||||
|
||||
Reference in New Issue
Block a user