Add dependency and build instructions

This commit is contained in:
stb 2024-01-24 08:18:28 +00:00
parent 28c3eb6876
commit dc1fc416b8

View file

@ -8,3 +8,27 @@ You can run this in a virtual env or build with pants.
$ pants binary src:mumble-prometheus $ pants binary src:mumble-prometheus
$ dist/mumble-prometheus.pex --host 127.0.0.1 --port 6502 --listen 9123 --secret=ice_secret $ dist/mumble-prometheus.pex --host 127.0.0.1 --port 6502 --listen 9123 --secret=ice_secret
``` ```
### Debian Prerequisites
I needed to install these:
```shell
sudo apt install libbz2-dev libssl-dev python3.11-dev build-essential
```
To regenerate the Mumble ICE client, I did need to install the ZeroC ICE
Python package:
```shell
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
echo'deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian12 stable main' | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
sudo apt update
sudo apt install python3-zeroc-ice
```
## Further Information
See the page about [ICE](https://wiki.mumble.info/wiki/Ice) at the Mumble
wiki; it also includes detailed information about the PHP and Python
clients, including how to update the client.