SKALE-1850 build improvements for dependencies

parent 406076ab
......@@ -33,6 +33,7 @@ autom4te.cache
sgxwallet
testw
configure
jsonrpc/zlib
jsonrpc/argtable2
jsonrpc/jsoncpp
jsonrpc/libjson-rpc-cpp
......
......@@ -9,9 +9,8 @@
## Install Prerequisites
```
sudo apt-get install build-essential make cmake gcc g++ python libprotobuf10 flex bison automake libtool texinfo
sudo apt-get install build-essential make cmake gcc g++ python libprotobuf10 flex bison automake libtool texinfo libgnutls30
```
libssl-dev libboost-all-dev libgmp3-dev libprocps-dev libjsonrpccpp-dev
## Clone this repository and its submodules
......
......@@ -36,6 +36,13 @@ fi
export OPENSSL_SRC_RELATIVE="../libBLS/deps/openssl"
export OPENSSL_SRC=`$READLINK -f $OPENSSL_SRC_RELATIVE`
git clone https://github.com/madler/zlib.git
cd zlib
./configure --static --prefix=$INSTALL_ROOT
make
make install
cd ..
git clone https://github.com/jonathanmarvens/argtable2.git
cd argtable2
mkdir -p build
......@@ -58,7 +65,6 @@ make install
cd ../..
git clone https://github.com/curl/curl.git
tar -czf curl-from-git.tar.gz ./curl
cd curl
mkdir -p build
cd build
......@@ -86,6 +92,7 @@ cd ..
tar -xzf ./pre_downloaded/libjson-rpc-cpp.tar.gz
cd libjson-rpc-cpp
rn -rf build || true
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT -DCMAKE_BUILD_TYPE=$TOP_CMAKE_BUILD_TYPE \
......
sudo dpkg -i *.deb
sudo apt install cmake flex bison ccache autoconf texinfo
#libprocps-dev libssl-dev libboost-all-dev libjsonrpccpp-dev libjsonrpccpp-tools
sudo apt install cmake flex bison ccache autoconf texinfo libgnutls30
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment