Archlinux

In order to build SWC-DB on Archlinux there are several mandatory and optional prerequisites which are available from the os-distribution or some might require additional steps.

SWC-DB Mandatory 3rd-party Prerequisites:

pacman -Syu;
pacman -S \
  make \
  cmake \
  pkg-config \
  gcc \
  asio \
  snappy \
  re2;
REQUIRED VERSIONS:

SWC-DB Optional 3rd-party Prerequisites:

Malloc

libtcmalloc:

pacman -S gperftools;

Thrift Broker

pacman -S \
  boost \
  libevent \
  thrift;

Java-Thrift client

pacman -S \
  jdk11-openjdk \
  maven;

C_GLIB-Thrift client & PAM module

pacman -S \
  glib2 \
  pam;

Hadoop FsBroker native(JVM, C++)

tests require full Java & Apache-Hadoop installation and runtime

  • Native(JVM)

     pacman -S jdk11-openjdk
    

    Version rather than JAVA_HOME apply cmake with -DJAVA_INSTALL_PATH=$(find /usr/lib/jvm -name jni.h | sed s"/\/include\/jni.h//"g);

  • Native(C++)

     pacman -S protobuf;
    

    state depends on progress of libhdfscpp

CephFS

pacman -S ceph-libs;

Documentations

pacman -S graphviz doxygen;

Generating Thrift Documentations - COMPILER THRIFT

swcdb_cluster

python3 -m ensurepip;
python3 -m pip install setuptools;
python3 -m pip install fabric;