Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
df41f388
Unverified
Commit
df41f388
authored
Aug 05, 2019
by
Ge Jun
Committed by
GitHub
Aug 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust position of cmake
parent
bd7cbbd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
getting_started.md
docs/cn/getting_started.md
+2
-2
No files found.
docs/cn/getting_started.md
View file @
df41f388
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment