Merge pull request #28 from abhiramr/master
Docs: Exporting CPLUS_INCLUDE_PATH, LD_LIBRARY_PATH and LIBRARY_PATH
This commit is contained in:
commit
98910c2dce
1 changed files with 5 additions and 5 deletions
10
README.rst
10
README.rst
|
@ -17,17 +17,17 @@ Quick install for debian/ubuntu like linux distributions.
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ 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 liblz4-dev
|
||||
$ git clone https://github.com/facebook/rocksdb.git
|
||||
$ cd rocksdb
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:`pwd`/../include
|
||||
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd`
|
||||
$ export LIBRARY_PATH=${LIBRARY_PATH}:`pwd`
|
||||
$ cd ..
|
||||
$ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}${CPLUS_INCLUDE_PATH:+:}`pwd`/include/
|
||||
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}`pwd`/build/
|
||||
$ export LIBRARY_PATH=${LIBRARY_PATH}${LIBRARY_PATH:+:}`pwd`/build/
|
||||
|
||||
$ cd ../
|
||||
$ apt-get install python-virtualenv python-dev
|
||||
$ virtualenv pyrocks_test
|
||||
$ cd pyrocks_test
|
||||
|
|
Loading…
Reference in a new issue