From 8df92e9db4049c7bd4576b7aacfa12252b8bf75f Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Fri, 17 Dec 2021 11:57:04 +0100 Subject: [PATCH] Update manual build instructions --- docs/build.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/build.md b/docs/build.md index 2b8a83f7..9900fbac 100644 --- a/docs/build.md +++ b/docs/build.md @@ -183,13 +183,13 @@ Configuration is described in [config.md](/docs/config.md). ## Manual build -Instructions below are focused on Debian 9 (Stretch). If you want to use another Linux distribution or operating system +Instructions below are focused on Debian 9 (Stretch) and 10 (Buster). If you want to use another Linux distribution or operating system like macOS or Windows, please read instructions specific for each project. -Setup go environment: +Setup go environment (use newer version of go as available) ``` -wget https://golang.org/dl/go1.14.2.linux-amd64.tar.gz && tar xf go1.14.2.linux-amd64.tar.gz +wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz && tar xf go1.17.1.linux-amd64.tar.gz sudo mv go /opt/go sudo ln -s /opt/go/bin/go /usr/bin/go # see `go help gopath` for details @@ -206,11 +206,11 @@ sudo apt-get update && sudo apt-get install -y \ build-essential git wget pkg-config libzmq3-dev libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev git clone https://github.com/facebook/rocksdb.git cd rocksdb -git checkout v6.8.1 +git checkout v6.22.1 CFLAGS=-fPIC CXXFLAGS=-fPIC make release ``` -Setup variables for gorocksdb: https://github.com/tecbot/gorocksdb +Setup variables for gorocksdb ``` export CGO_CFLAGS="-I/path/to/rocksdb/include"