-
Notifications
You must be signed in to change notification settings - Fork 56
Building RethinkDB
RethinkDB is the open-source, scalable database that makes building realtime apps dramatically easier. The development version of RethinkDB has been built and tested on Linux on z Systems. The following instructions can be used for RHEL 7.3, SLES 12 SP2 and Ubuntu 16.04.
- When following the steps below please use a standard permission user unless otherwise specified
- A directory <source root> will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it
- RHEL 7.3
yum update -y
yum groupinstall -y 'Development Tools'
yum install -y python openssl-devel libcurl-devel wget tar m4 git-core boost-static m4 gcc-c++ npm ncurses-devel which make ncurses-static zlib-devel zlib-static
- SLES 12 SP2
zypper update -y
zypper install -y gcc gcc-c++ make libopenssl-devel zlib-devel wget tar patch curl unzip autoconf automake libtool python python-xml python-curses libicu-devel
- Ubuntu 16.04
sudo apt-get update
sudo apt-get install -y build-essential protobuf-compiler python \
libprotobuf-dev libcurl4-openssl-dev \
libboost-all-dev libncurses5-dev \
libjemalloc-dev wget m4 libssl-dev git
cd \<source root\>
git clone https://github.com/linux-on-ibm-z/rethinkdb.git --branch next-s390x
cd rethinkdb/
./configure --allow-fetch
make -j 4
Note: make -j 4 will execute up to 4 build tasks in parallel. This number may be increased or decreased as necessary to match the resources available on the machine.
make install
rethinkdb --bind all
cd \<source root\>/rethinkdb
make -j 4 DEBUG=1
./test/run unit -j 4
Note: ./test/run unit -j 4 will execute up to 4 unit tests in parallel. This number may be increased or decreased to match the resources available on the machine.
cd \<source root\>\rethinkdb
./test/run -j 4
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.