|
@ -225,7 +225,7 @@ For some of the distributions, you might install build dependencies like this: |
|
|
```bash |
|
|
```bash |
|
|
# Installation of basic build dependencies |
|
|
# Installation of basic build dependencies |
|
|
## Debian / Ubuntu |
|
|
## Debian / Ubuntu |
|
|
sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev asciidoc xmlto libev-dev libc-ares-dev automake libmbedtls-dev libsodium-dev |
|
|
|
|
|
|
|
|
sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev asciidoc xmlto libev-dev libc-ares-dev automake libmbedtls-dev libsodium-dev pkg-config |
|
|
## CentOS / Fedora / RHEL |
|
|
## CentOS / Fedora / RHEL |
|
|
sudo yum install gettext gcc autoconf libtool automake make asciidoc xmlto c-ares-devel libev-devel |
|
|
sudo yum install gettext gcc autoconf libtool automake make asciidoc xmlto c-ares-devel libev-devel |
|
|
## Arch |
|
|
## Arch |
|
@ -243,8 +243,8 @@ sudo ldconfig |
|
|
|
|
|
|
|
|
# Installation of MbedTLS |
|
|
# Installation of MbedTLS |
|
|
export MBEDTLS_VER=2.6.0 |
|
|
export MBEDTLS_VER=2.6.0 |
|
|
wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz |
|
|
|
|
|
tar xvf mbedtls-$MBEDTLS_VER-gpl.tgz |
|
|
|
|
|
|
|
|
wget https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/mbedtls-2.6.0.tar.gz |
|
|
|
|
|
tar xvf mbedtls-$MBEDTLS_VER.tar.gz |
|
|
pushd mbedtls-$MBEDTLS_VER |
|
|
pushd mbedtls-$MBEDTLS_VER |
|
|
make SHARED=1 CFLAGS="-O2 -fPIC" |
|
|
make SHARED=1 CFLAGS="-O2 -fPIC" |
|
|
sudo make DESTDIR=/usr install |
|
|
sudo make DESTDIR=/usr install |
|
|