8053 beefd0184a 2022-08-08 ct_chen 2 years ago
..
apps beefd0184a 2022-08-08 ct_chen 2 years ago
client beefd0184a 2022-08-08 ct_chen 2 years ago
cmake beefd0184a 2022-08-08 ct_chen 2 years ago
deps beefd0184a 2022-08-08 ct_chen 2 years ago
examples beefd0184a 2022-08-08 ct_chen 2 years ago
include beefd0184a 2022-08-08 ct_chen 2 years ago
installer beefd0184a 2022-08-08 ct_chen 2 years ago
lib beefd0184a 2022-08-08 ct_chen 2 years ago
logo beefd0184a 2022-08-08 ct_chen 2 years ago
man beefd0184a 2022-08-08 ct_chen 2 years ago
misc beefd0184a 2022-08-08 ct_chen 2 years ago
plugins beefd0184a 2022-08-08 ct_chen 2 years ago
release beefd0184a 2022-08-08 ct_chen 2 years ago
security beefd0184a 2022-08-08 ct_chen 2 years ago
service beefd0184a 2022-08-08 ct_chen 2 years ago
snap beefd0184a 2022-08-08 ct_chen 2 years ago
src beefd0184a 2022-08-08 ct_chen 2 years ago
test beefd0184a 2022-08-08 ct_chen 2 years ago
CMakeLists.txt beefd0184a 2022-08-08 ct_chen 2 years ago
CONTRIBUTING.md beefd0184a 2022-08-08 ct_chen 2 years ago
ChangeLog.txt beefd0184a 2022-08-08 ct_chen 2 years ago
LICENSE.txt beefd0184a 2022-08-08 ct_chen 2 years ago
Makefile beefd0184a 2022-08-08 ct_chen 2 years ago
NOTICE.md beefd0184a 2022-08-08 ct_chen 2 years ago
README-compiling.md beefd0184a 2022-08-08 ct_chen 2 years ago
README-letsencrypt.md beefd0184a 2022-08-08 ct_chen 2 years ago
README-windows.txt beefd0184a 2022-08-08 ct_chen 2 years ago
README.md beefd0184a 2022-08-08 ct_chen 2 years ago
about.html beefd0184a 2022-08-08 ct_chen 2 years ago
aclfile.example beefd0184a 2022-08-08 ct_chen 2 years ago
config.h beefd0184a 2022-08-08 ct_chen 2 years ago
config.mk beefd0184a 2022-08-08 ct_chen 2 years ago
edl-v10 beefd0184a 2022-08-08 ct_chen 2 years ago
epl-v20 beefd0184a 2022-08-08 ct_chen 2 years ago
libmosquitto.pc.in beefd0184a 2022-08-08 ct_chen 2 years ago
libmosquittopp.pc.in beefd0184a 2022-08-08 ct_chen 2 years ago
mosquitto.conf beefd0184a 2022-08-08 ct_chen 2 years ago
pskfile.example beefd0184a 2022-08-08 ct_chen 2 years ago
pwfile.example beefd0184a 2022-08-08 ct_chen 2 years ago

README-compiling.md

The following packages can be used to add features to mosquitto. All of them are optional.

  • openssl
  • c-ares (for DNS-SRV support, disabled by default)
  • tcp-wrappers (optional, package name libwrap0-dev)
  • libwebsockets (optional, disabled by default, version 2.4 and above)
  • cJSON (optional but recommended, for dynamic-security plugin support, and JSON output from mosquitto_sub/mosquitto_rr)
  • libsystemd-dev (optional, if building with systemd support on Linux)
  • On Windows, a pthreads library is required if threading support is to be included.
  • xsltproc (only if building from git)
  • docbook-xsl (only if building from git)

To compile, run "make", but also see the file config.mk for more details on the various options that can be compiled in.

Where possible use the Makefiles to compile. This is particularly relevant for the client libraries as symbol information will be included. Use cmake to compile on Windows or Mac.

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.