Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shroukkhan/51a8053cec47585ee37bcb5a3e67d780 to your computer and use it in GitHub Desktop.
Save shroukkhan/51a8053cec47585ee37bcb5a3e67d780 to your computer and use it in GitHub Desktop.
Building mosquitto:
git clone git@github.com:eclipse/mosquitto.git
sudo apt-get install cmake libssl-dev
cd <MOSQUITTO_SRC>
wget https://github.com/warmcat/libwebsockets/archive/v2.1.0.tar.gz
tar -xzvf v2.1.0.tar.gz
cd libwebsockets-2.1.0/
mkdir build
cd build/
cmake .. -DOPENSSL_ROOT_DIR=/usr/bin/openssl
make
sudo make install
cd .. [ now you are back to mosquitto source folder]
sudo apt-get install uuid-dev xsltproc docbook-xsl libc-ares-dev
make
make test
sudo make install
####
cd ..
git clone git@github.com:mbachry/mosquitto_pyauth.git
cd <PYAUTH_SRC>
make
@shroukkhan
Copy link
Author

just a self reference.. if anyone has question reading it(which there obviously will be! ) ..send me a mail

@shroukkhan
Copy link
Author

sudo apt-get install mosquitto libmosquitto-dev

@shroukkhan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment