You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by vo...@apache.org on 2017/09/04 06:53:32 UTC

incubator-rocketmq-externals git commit: Polish

Repository: incubator-rocketmq-externals
Updated Branches:
  refs/heads/master b9bb6cfa7 -> 44b8abdb9


Polish


Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/commit/44b8abdb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/tree/44b8abdb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/diff/44b8abdb

Branch: refs/heads/master
Commit: 44b8abdb9e8f3a927161b69a7edc5e0f0f27938f
Parents: b9bb6cf
Author: vongosling <vo...@apache.org>
Authored: Mon Sep 4 14:53:21 2017 +0800
Committer: vongosling <vo...@apache.org>
Committed: Mon Sep 4 14:53:21 2017 +0800

----------------------------------------------------------------------
 rocketmq-cpp/README.md | 54 ++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-externals/blob/44b8abdb/rocketmq-cpp/README.md
----------------------------------------------------------------------
diff --git a/rocketmq-cpp/README.md b/rocketmq-cpp/README.md
index 3bd34ff..9669689 100644
--- a/rocketmq-cpp/README.md
+++ b/rocketmq-cpp/README.md
@@ -3,35 +3,35 @@
 ### Linux platform
 #### 1. Dependency Installation
 * Install libevent 2.0.22 dependency
-	  - Download [libevent 2.0.22](https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz)
-	  - Build and install libevent
-	    - ./configure
-	    - make
-	    - make install 
+	  - Download [libevent 2.0.22](https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz)
+	  - Build and install libevent
+	   - ./configure
+	   - make
+	   - make install 
 * Install JsonCPP 0.7.0 dependency
-  	  - Download [jsoncpp 0.7.0](https://github.com/open-source-parsers/jsoncpp/archive/0.10.6.zip)
-	  - Build and install jsoncpp
-	    - cmake .
-	    - make
-	    - make install
+  	  - Download [jsoncpp 0.7.0](https://github.com/open-source-parsers/jsoncpp/archive/0.10.6.zip)
+  	  - Build and install jsoncpp
+  	     - cmake .
+  	     - make
+  	     - make install
 * Install boost 1.56.0 dependency
-	 -  Download [boost 1.56.0](http://www.boost.org/users/history/version_1_56_0.html)
-	 - Build and install boost
-	    - cd path/to/boost_1_56_0
-	    - config boost:./bootstrap.sh
-	    - build boost:     
-	      - build static boost lib: ./b2 link=static runtime-link=static
-	      - build dynamic boost lib: ./b2 link=shared runtime-link=shared
-	    -  install boost: ./b2 install
+	 -  Download [boost 1.56.0](http://www.boost.org/users/history/version_1_56_0.html)
+	 - Build and install boost
+	   - cd path/to/boost_1_56_0
+	   - config boost:./bootstrap.sh
+	   - build boost:     
+	       - build static boost lib: ./b2 link=static runtime-link=static
+	       - build dynamic boost lib: ./b2 link=shared runtime-link=shared
+	   -  install boost: ./b2 install
 	   
 #### 2. Make and Install
-* Default install path:
-	   - header files: /usr/local/include
-	   - lib: /usr/local/lib
+* Default install path:
+    - header files: /usr/local/include
+    - lib: /usr/local/lib
 * Make and install using cmake
-	   - 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
-	   - make
-	   - make install
+    - 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
+    - make
+    - make install
 	
 ### Check verion
 - strings librocketmq.so |grep VERSION
@@ -39,7 +39,7 @@
 - log path:$HOME/logs/metaq-client4cpp
 
 - Before Run:
-  - export LD_LIBRARY_PATH=/xxx/rocketmq-client4cpp/bin/:$LD_LIBRARY_PATH;LD_LIBRARY_PATH=/A/lib:$LD_LIBRARY_PATH
+  - export LD_LIBRARY_PATH=/xxx/rocketmq-cpp/bin/:$LD_LIBRARY_PATH;LD_LIBRARY_PATH=/A/lib:$LD_LIBRARY_PATH
 
 ## Description for Important Parameters  
 - -n	: nameserver addr, if not set -n and -i ,no nameSrv will be got
@@ -87,8 +87,8 @@
   - g_consumer.registerMessageListener(listener);
   - g_consumer.start();
   - g_consumer.shutdown();
-
-  ## Acknowledgment - Alibaba
+  
+## Acknowledgment - Alibaba Group.