This commit is contained in:
Ming-Hsuan-Tu 2017-07-15 22:19:13 +08:00 committed by GitHub
parent 8b8feb0435
commit 8fd7913724

View file

@ -20,7 +20,7 @@ Quick install for debian/ubuntu like linux distributions.
$ apt-get install build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev $ apt-get install build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev
$ git clone https://github.com/facebook/rocksdb.git $ git clone https://github.com/facebook/rocksdb.git
$ cd rocksdb $ cd rocksdb
$ make build && cd build $ mkdir build && cd build
$ cmake .. $ cmake ..
$ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:`pwd`/../include $ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:`pwd`/../include
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd` $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd`