You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ja...@apache.org on 2019/08/05 11:51:45 UTC
[incubator-brpc] branch master updated: Adjust position of cmake
This is an automated email from the ASF dual-hosted git repository.
jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new df41f38 Adjust position of cmake
df41f38 is described below
commit df41f3889a4db246f06097c947178f36aa4553ba
Author: Ge Jun <jg...@gmail.com>
AuthorDate: Mon Aug 5 19:51:41 2019 +0800
Adjust position of cmake
---
docs/cn/getting_started.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md
index 716a720..39cffc8 100644
--- a/docs/cn/getting_started.md
+++ b/docs/cn/getting_started.md
@@ -20,7 +20,7 @@ brpc depends on following packages:
Install common deps, [gflags](https://github.com/gflags/gflags), [protobuf](https://github.com/google/protobuf), [leveldb](https://github.com/google/leveldb):
```shell
-sudo apt-get install -y git g++ make libssl-dev cmake libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
+sudo apt-get install -y git g++ make libssl-dev libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
```
If you need to statically link leveldb:
@@ -35,7 +35,7 @@ sudo apt-get install -y libgoogle-perftools-dev
If you need to run tests, install and compile libgtest-dev (which is not compiled yet):
```shell
-sudo apt-get install -y libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
+sudo apt-get install -y cmake libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
```
The directory of gtest source code may be changed, try `/usr/src/googletest/googletest` if `/usr/src/gtest` is not there.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org