From cbd5a844f2d2d42acd182444f7d10bd025499b18 Mon Sep 17 00:00:00 2001 From: John Sully Date: Mon, 25 Mar 2019 16:22:10 -0400 Subject: [PATCH 1/2] Give information on dependencies that need installation. Former-commit-id: 063a14372d4b0b77f6a1a0c6efd718b5d01922fa --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c60b6683a..c283fdfee 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ Building KeyDB KeyDB can be compiled and is tested for use on Linux. KeyDB currently relies on SO_REUSEADDR's load balancing behavior which is available only in Linux. When we support marshalling connections across threads we plan to support other operating systems such as FreeBSD. +Install dependencies: + + % sudo apt install build-essential nasm autotools-dev autoconf libjemalloc-dev tcl tcl-dev uuid-dev + Compiling is as simple as: % make From bc9aaa4abe28e2dc787d8cc5b1751aeca00c4d4e Mon Sep 17 00:00:00 2001 From: Richard Silver Date: Mon, 25 Mar 2019 15:55:23 -0700 Subject: [PATCH 2/2] Update Readme for missing docker flag Former-commit-id: 2ce5f1b944ee1e7315e1b180439de632d0bfec71 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5afe9a394..4b6b1bdc6 100644 --- a/README.md +++ b/README.md @@ -211,12 +211,12 @@ Run the following commands for a full source download and build: ``` git clone git@github.com:JohnSully/KeyDB.git -docker run -it --rm `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make +docker run -it --rm -v `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make ``` Then you have fresh binaries built, you can also pass any other options to the make command above after the word make. E.g. -```docker run -it --rm `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make MAllOC=memkind``` +```docker run -it --rm -v `pwd`/KeyDB:/build -w /build devopsdood/keydb-builder make MAllOC=memkind``` The above commands will build you binaries in the src directory. Standard `make install` without Docker command will work after if you wish to install