From dc1fc416b8594e54aa488d107ea6d9ca59674590 Mon Sep 17 00:00:00 2001 From: stb Date: Wed, 24 Jan 2024 08:18:28 +0000 Subject: [PATCH] Add dependency and build instructions --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index ace0b3d..efa8ea4 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,27 @@ You can run this in a virtual env or build with pants. $ pants binary src:mumble-prometheus $ 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.