mirror of
https://github.com/emqx/neuron.git
synced 2026-10-18 05:36:19 +08:00
58 lines
1.7 KiB
Markdown
58 lines
1.7 KiB
Markdown
[openssl](https://github.com/openssl/openssl)
|
|
|
|
```shell
|
|
# Ubuntu
|
|
$ apt-get install libssl-dev openssl
|
|
```
|
|
|
|
[zlog](https://github.com/HardySimpson/zlog.git)
|
|
```shell
|
|
$ git clone -b 1.2.15 https://github.com/HardySimpson/zlog.git
|
|
$ cd zlog
|
|
$ make && sudo make install
|
|
```
|
|
|
|
[jansson](https://github.com/neugates/jansson.git)
|
|
```shell
|
|
$ git clone https://github.com/neugates/jansson.git
|
|
$ cd jansson && mkdir build && cd build
|
|
$ cmake -DJANSSON_BUILD_DOCS=OFF -DJANSSON_EXAMPLES=OFF ..&& make && sudo make install
|
|
```
|
|
|
|
[nng](https://github.com/neugates/nng.git)
|
|
```shell
|
|
$ git clone https://github.com/neugates/nng.git
|
|
$ cd nng && mkdir build && cd build
|
|
$ cmake -DBUILD_SHARED_LIBS=OFF -DNNG_TESTS=OFF .. && make && sudo make install
|
|
```
|
|
|
|
[jwt](https://github.com/benmcollins/libjwt.git)
|
|
```shell
|
|
$ git clone -b v1.13.1 https://github.com/benmcollins/libjwt.git
|
|
$ cd libjwt && mkdir build && cd build
|
|
$ cmake -DENABLE_PIC=ON -DBUILD_SHARED_LIBS=OFF .. && make && sudo make install
|
|
```
|
|
|
|
[MQTT-C](https://github.com/neugates/MQTT-C.git)
|
|
```shell
|
|
$ git clone https://github.com/neugates/MQTT-C.git
|
|
$ cd MQTT-C && mkdir build && cd build
|
|
$ cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DMQTT_C_OpenSSL_SUPPORT=ON -DMQTT_C_EXAMPLES=OFF .. && make && sudo make install
|
|
```
|
|
|
|
[googletest](https://github.com/google/googletest.git)
|
|
```shell
|
|
$ git clone -b release-1.11.0 https://github.com/google/googletest.git
|
|
$ cd googletest && mkdir build && cd build
|
|
$ cmake .. && make && sudo make install
|
|
```
|
|
|
|
[sqlite](https://github.com/sqlite/sqlite)
|
|
```shell
|
|
$ curl -o sqlite3.tar.gz https://www.sqlite.org/2022/sqlite-autoconf-3390000.tar.gz
|
|
$ mkdir sqlite3
|
|
$ tar xzf sqlite3.tar.gz --strip-components=1 -C sqlite3
|
|
$ cd sqlite3
|
|
$ ./configure && make && sudo make install
|
|
```
|