Skip to content

Commit 44b8abd

Browse files
committed
Polish
1 parent b9bb6cf commit 44b8abd

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

rocketmq-cpp/README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@
33
### Linux platform
44
#### 1. Dependency Installation
55
* Install libevent 2.0.22 dependency
6-
- Download [libevent 2.0.22](https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz)
7-
- Build and install libevent
8-
- ./configure
9-
- make
10-
- make install
6+
- Download [libevent 2.0.22](https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz)
7+
- Build and install libevent
8+
- ./configure
9+
- make
10+
- make install
1111
* Install JsonCPP 0.7.0 dependency
12-
- Download [jsoncpp 0.7.0](https://github.com/open-source-parsers/jsoncpp/archive/0.10.6.zip)
13-
- Build and install jsoncpp
14-
- cmake .
15-
- make
16-
- make install
12+
- Download [jsoncpp 0.7.0](https://github.com/open-source-parsers/jsoncpp/archive/0.10.6.zip)
13+
- Build and install jsoncpp
14+
- cmake .
15+
- make
16+
- make install
1717
* Install boost 1.56.0 dependency
18-
- Download [boost 1.56.0](http://www.boost.org/users/history/version_1_56_0.html)
19-
- Build and install boost
20-
- cd path/to/boost_1_56_0
21-
- config boost:./bootstrap.sh
22-
- build boost:
23-
- build static boost lib: ./b2 link=static runtime-link=static
24-
- build dynamic boost lib: ./b2 link=shared runtime-link=shared
25-
- install boost: ./b2 install
18+
- Download [boost 1.56.0](http://www.boost.org/users/history/version_1_56_0.html)
19+
- Build and install boost
20+
- cd path/to/boost_1_56_0
21+
- config boost:./bootstrap.sh
22+
- build boost:
23+
- build static boost lib: ./b2 link=static runtime-link=static
24+
- build dynamic boost lib: ./b2 link=shared runtime-link=shared
25+
- install boost: ./b2 install
2626
2727
#### 2. Make and Install
28-
* Default install path:
29-
- header files: /usr/local/include
30-
- lib: /usr/local/lib
28+
* Default install path:
29+
- header files: /usr/local/include
30+
- lib: /usr/local/lib
3131
* Make and install using cmake
32-
- cmake will auto find_package, if failes, change BOOST_INCLUDEDIR/LIBEVENT_INCLUDE_DIR/JSONCPP_INCLUDE_DIR in CMakeList.txt, according to its real install path
33-
- make
34-
- make install
32+
- cmake will auto find_package, if failes, change BOOST_INCLUDEDIR/LIBEVENT_INCLUDE_DIR/JSONCPP_INCLUDE_DIR in CMakeList.txt, according to its real install path
33+
- make
34+
- make install
3535

3636
### Check verion
3737
- strings librocketmq.so |grep VERSION
3838

3939
- log path:$HOME/logs/metaq-client4cpp
4040

4141
- Before Run:
42-
- export LD_LIBRARY_PATH=/xxx/rocketmq-client4cpp/bin/:$LD_LIBRARY_PATH;LD_LIBRARY_PATH=/A/lib:$LD_LIBRARY_PATH
42+
- export LD_LIBRARY_PATH=/xxx/rocketmq-cpp/bin/:$LD_LIBRARY_PATH;LD_LIBRARY_PATH=/A/lib:$LD_LIBRARY_PATH
4343

4444
## Description for Important Parameters
4545
- -n : nameserver addr, if not set -n and -i ,no nameSrv will be got
@@ -87,8 +87,8 @@
8787
- g_consumer.registerMessageListener(listener);
8888
- g_consumer.start();
8989
- g_consumer.shutdown();
90-
91-
## Acknowledgment - Alibaba
90+
91+
## Acknowledgment - Alibaba Group.
9292

9393

9494

0 commit comments

Comments
 (0)