Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.75 KB

INSTALLlibscapi.md

File metadata and controls

58 lines (46 loc) · 1.75 KB

Start from running the following:

$ sudo apt-get update
$ sudo apt-get install -y git build-essential
$ sudo apt-get install -y libssl-ocaml-dev libssl-dev
$ sudo apt-get install -y libgmp3-dev
$ sudo apt-get install -y g++ gcc libicu-dev
$ sudo apt-get install -y liblog4cpp5-dev

Download boost_1_71_0.tar.bz2 from boost website to the Home directory. Then run the following commands:

 $ tar -bzip2 -xf boost_1_71_0.tar.bz2
 $ cd boost_1_71_0

Run the script which prepares Boost's build process:

$ sudo ./bootstrap.sh --prefix=/usr/local --with-libraries=all

Compile the project:

$ sudo ./b2 install

Add the Boost libraries path to the default Ubuntu library search path:

$ sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/boost.conf'

Update the default Ubuntu library search paths

$ sudo ldconfig

Clone to the Home directory and make LibScapi library:

$ cd ~
$ git clone https://github.com/manel1874/libscapi.git
$ cd libscapi

Install qdev version, otherwise MPC-Benchmark does not work and gives the following issue.

$ git checkout qdev

Make sure you have installed cmake version 3.16. In order to do so please go here, choose cmake-3.16.0.tar.gz and follow the instructions on the README file. After that, run:

$ make

Some remarks: