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
|
.. 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
|
$ git clone https://github.com/facebook/rocksdb.git
|
||||||
$ cd rocksdb
|
$ cd rocksdb
|
||||||
$ mkdir build && cd build
|
$ mkdir build && cd build
|
||||||
$ cmake ..
|
$ cmake ..
|
||||||
$ make
|
$ make
|
||||||
$ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:`pwd`/../include
|
$ cd ..
|
||||||
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd`
|
$ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}${CPLUS_INCLUDE_PATH:+:}`pwd`/include/
|
||||||
$ export LIBRARY_PATH=${LIBRARY_PATH}:`pwd`
|
$ 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
|
$ apt-get install python-virtualenv python-dev
|
||||||
$ virtualenv pyrocks_test
|
$ virtualenv pyrocks_test
|
||||||
$ cd pyrocks_test
|
$ cd pyrocks_test
|
||||||
|
|
Loading…
Reference in a new issue