Compiling proc-macro2 v1.0.95
Compiling libc v0.2.172
Compiling serde v1.0.219
Compiling serde_json v1.0.140
Compiling zerocopy v0.8.25
Compiling slab v0.4.9
Compiling getrandom v0.3.3
Compiling rustix v1.0.7
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
error: could not compile `serde_json` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
sudo apt update
sudo apt install build-essential
Buidling the tracker on a fresh ubuntu 24 machine gave me this error:
I fixed with:
I think that's not included in the documentation: https://docs.rs/torrust-tracker/latest/torrust_tracker/#minimum-requirements