Mosquitto from Source
Jump to navigation
Jump to search
The required tools:
apt install git build-essential autoconf cmake
Get the source:
git clone https://github.com/eclipse/mosquitto.git
The prerequisites:
apt install libc-ares-dev libwebsockets-dev libssl-dev xsltproc docbook-xsl libsystemd-dev libwrap0-dev openssl- # cJSON
git clone https://github.com/DaveGamble/cJSONcd cJSONmkdir buildcd buildcmake ..makesudo make installcd ../..
- # uthash / utlist
git clone https://github.com/troydhanson/uthashcp uthash/src/* mosquitto/include
Build it:
cd mosquittomake
Install it:
sudo make install
To be done:
Configure it:
Use it: