From 25f2be1e002ec8926fcfe1999db6b6cc325fd04b Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 13 May 2026 19:36:01 +0100 Subject: [PATCH] List some platform specific build dependencies --- README-compiling.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README-compiling.md b/README-compiling.md index 0efe28abd..ef13ea7a9 100644 --- a/README-compiling.md +++ b/README-compiling.md @@ -1,4 +1,5 @@ -The following packages can be used to add features to mosquitto. +The following packages can be used to add features to mosquitto. See below for +platform specific package lists. * cJSON - required * c-ares (libc-ares-dev on Debian based systems) - optional, enable with @@ -36,3 +37,24 @@ cases, and that the plain makefiles will be removed in version 3.0. If you have any questions, problems or suggestions (particularly related to installing on a more unusual device) then please get in touch using the details in README.md. + +## Platform specific dependencies + +### Alpine Linux + +apk add cjson-dev cmake cunit-dev docbook-xsl g++ gcc gtest-dev libmicrohttpd-dev \ + libxslt make musl-dev openssl-dev sqlite-dev + +### Fedora Linux + +dnf install CUnit-devel cjson-devel cmake docbook-style-xsl gcc gcc-g++ gmock-devel \ + gtest-devel libmicrohttpd-devel libxslt openssl-devel openssl-devel-engine sqlite-devel + +### FreeBSD + +pkg install cunit gmake googletest libcjson libmicrohttpd libxslt python3 sqlite3 uthash + +### Ubuntu Linux + +apt install cmake docbook-xsl gcc g++ libcjson-dev libcunit1-dev libeditreadline-dev \ + libgmock-dev libgtest-dev libmicrohttpd-dev libsqlite3-dev libssl-dev xsltproc