Something went wrong on our end
-
Denis Abdulkerimov authoredaad99882
README.md 12.18 KiB
cellframe-node
Cellframe Node
This guide will work on Debian/Ubuntu
Build from sources:
Prerequsites:
To successfully complete of the build, you need to have the following packages to be installed (packages are named as in Debian GNU/Linux 10 "buster", please found the corresponding packages for your distribution):
- libjson-c-dev
- libsqlite3-dev
- libmemcached-dev
- libev-dev
- libmagic-dev
- libcurl4-openssl-dev | libcurl4-nss-dev | libcurl4-gnutls-dev ( depricated modules, soon will be removed)
- libldb-dev
- libtalloc-dev
- libtevent-dev
- libpython3-dev
- traceroute
Please use the command below to install dependencies listed above
sudo apt-get install build-essential cmake dpkg-dev libpython3-dev libjson-c-dev libsqlite3-dev libmemcached-dev libev-dev libmagic-dev libcurl4-gnutls-dev libldb-dev libtalloc-dev libtevent-dev traceroute
Get all cellframe-node sources
This command fetch sources from gitlab and build them.
git clone https://gitlab.demlabs.net/cellframe/cellframe-node.git
cd cellframe-node
git submodule update --init
cd cellframe-sdk
git submodule update --init
cd ../
cd cellframe-sdk-python
git submodule update --init
cd ../
Build cellframe using cmake framework
Get into directory with cellframe-node and execute the following commands
mkdir build
cd build
cmake ../
make -j$(nproc)
-j$(nproc) nrpoc parameter depends on your machine capacity - number of processor cores. As a result, you should be able to fine make files in your build folder which will be used by cpack command to create an installation package.
Build cellframe-node package
Use the following command cpack
from the build directory to create cellframe-node installation package.