Difference between revisions of "Mosquitto from Source"
Jump to navigation
Jump to search
(Created page with "'''<span style="color: rgb(132, 63, 161);" >The required tools:</span>''' * <code>apt install git build-essential autoconf</code> '''<span style="color: rgb(132, 63, 161);" >The prerequisites:</span>''' * <code>apt install libpcap-dev</code> '''<span style="color: rgb(132, 63, 161);" >Get the source:</span>''' * <code>git clone <nowiki>https://github.com/royhills/arp-scan.git</nowiki></code> '''<span style="color: rgb(132, 63, 161);" >Build it:</span>''' * <code>cd...") |
|||
Line 5: | Line 5: | ||
'''<span style="color: rgb(132, 63, 161);" >The prerequisites:</span>''' | '''<span style="color: rgb(132, 63, 161);" >The prerequisites:</span>''' | ||
* <code>apt install | * <code>apt install libc-ares-dev libwebsockets-dev libssl-dev xsltproc docbook-xsl</code> | ||
* # '''cJSON''' | |||
* <code>git clone https://github.com/DaveGamble/cJSON</code> | |||
* <code>cp cJSON/cJSON.c mosquitto/src</code> | |||
* <code>cp cJSON/cJSON.h mosquitto/include</code> | |||
* # '''uthash / utlist''' | |||
* <code>git clone https://github.com/troydhanson/uthash</code> | |||
* <code>cp uthash/src/* mosquitto/include</code> | |||
* # '''pthreads''' | |||
* # built in? | |||
'''<span style="color: rgb(132, 63, 161);" >Get the source:</span>''' | '''<span style="color: rgb(132, 63, 161);" >Get the source:</span>''' | ||
* <code>git clone <nowiki>https://github.com/ | * <code>git clone <nowiki>https://github.com/eclipse/mosquitto.git</nowiki></code> | ||
'''<span style="color: rgb(132, 63, 161);" >Build it:</span>''' | '''<span style="color: rgb(132, 63, 161);" >Build it:</span>''' | ||
* <code>cd | * <code>cd mosquitto</code> | ||
* <code>autoreconf --install</code> | * <code>autoreconf --install</code> | ||
* <code>./configure</code> | * <code>./configure</code> |
Revision as of 15:32, 1 March 2024
The required tools:
apt install git build-essential autoconf
The prerequisites:
apt install libc-ares-dev libwebsockets-dev libssl-dev xsltproc docbook-xsl
- # cJSON
git clone https://github.com/DaveGamble/cJSON
cp cJSON/cJSON.c mosquitto/src
cp cJSON/cJSON.h mosquitto/include
- # uthash / utlist
git clone https://github.com/troydhanson/uthash
cp uthash/src/* mosquitto/include
- # pthreads
- # built in?
Get the source:
git clone https://github.com/eclipse/mosquitto.git
Build it:
cd mosquitto
autoreconf --install
./configure
make
Test it:
make check
Install it:
sudo make install
Use it:
This example does a basic full scan of my /22 network
arp-scan 192.168.8.0/22