Skip to content
Snippets Groups Projects
Unverified Commit 98910c2d authored by Ming-Hsuan-Tu's avatar Ming-Hsuan-Tu Committed by GitHub
Browse files

Merge pull request #28 from abhiramr/master

Docs: Exporting CPLUS_INCLUDE_PATH, LD_LIBRARY_PATH and LIBRARY_PATH
parents 7ed8a2c6 e91ac1f8
No related branches found
No related tags found
No related merge requests found
...@@ -17,17 +17,17 @@ Quick install for debian/ubuntu like linux distributions. ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment