User Tools

Site Tools


public:mosquitto-clients

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:mosquitto-clients [2018/02/16 09:04] – [Building with SSL-support] janpublic:mosquitto-clients [2018/05/28 21:25] (current) – [Building with SSL-support] jan
Line 24: Line 24:
 Change directory into mosquitto: Change directory into mosquitto:
   cd ./mosquitto   cd ./mosquitto
- 
-==== Build options ==== 
-  * c-ares (libc-ares-dev on Debian based systems) - disable with `make WITH_SRV=no` 
-  * libuuid (uuid-dev) - disable with `make WITH_UUID=no` 
-  * libwebsockets (libwebsockets-dev) - enable with `make WITH_WEBSOCKETS=yes` 
-  * openssl (libssl-dev on Debian based systems) - disable with `make WITH_TLS=no` 
  
 ==== Building with SSL-support ==== ==== Building with SSL-support ====
  
 When building with SSL: When building with SSL:
-  export OPENSSL_ROOT_DIR="$HOME_BREW/Cellar/openssl/1.0.2n+  export OPENSSL_ROOT_DIR="$HOME_BREW/Cellar/openssl/1.x.x
-  export OPENSSL_INCLUDE_DIR="$HOME_BREW/Cellar/openssl/1.0.2n/include"+  export OPENSSL_INCLUDE_DIR="$OPENSSL_ROOT_DIR/include"
  
 Generate makefiles Generate makefiles
Line 50: Line 44:
   sudo make install   sudo make install
  
-In case you screwed up, clean directory+In case you screwed up, clean directory and repeat
   git clean -f -d   git clean -f -d
   git reset --hard   git reset --hard
Line 57: Line 51:
 To build without SSL-support add option //-DWITH_TLS=OFF//. This inherits //-DWITH_TLS_PSK=OFF//. To build without SSL-support add option //-DWITH_TLS=OFF//. This inherits //-DWITH_TLS_PSK=OFF//.
  
-=== Surpress Policy CMP0042 Warning ===+=== Other options === 
 +  * c-ares (libc-ares-dev on Debian based systems) - disable with `make WITH_SRV=no` 
 +  * libuuid (uuid-dev) - disable with `make WITH_UUID=no` 
 +  * libwebsockets (libwebsockets-dev) - enable with `make WITH_WEBSOCKETS=yes` 
 +  * openssl (libssl-dev on Debian based systems) - disable with `make WITH_TLS=no` 
 + 
 +=== cmake: Surpress Policy CMP0042 Warning ===
 Add //-DCMAKE_MACOSX_RPATH=ON// to cmake command Add //-DCMAKE_MACOSX_RPATH=ON// to cmake command
  
public/mosquitto-clients.1518771863.txt.gz · Last modified: 2018/02/16 09:04 by jan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki