You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/10/17 00:07:09 UTC

[GitHub] merlimat closed pull request #2798: Updated README to build cpp client.

merlimat closed pull request #2798: Updated README to build cpp client.
URL: https://github.com/apache/pulsar/pull/2798
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-client-cpp/README.md b/pulsar-client-cpp/README.md
index 582a32412b..6d3eabc4d2 100644
--- a/pulsar-client-cpp/README.md
+++ b/pulsar-client-cpp/README.md
@@ -73,8 +73,8 @@ Run unit tests:
 #### Install all dependencies:
 
 ```shell
-apt-get install g++ cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev \
-                libprotobuf-dev libboost-all-dev  libgtest-dev \
+apt-get install -y g++ cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev \
+                libprotobuf-dev libboost-all-dev  libgtest-dev google-mock \
                 libjsoncpp-dev libxml2-utils protobuf-compiler python-setuptools
 ```
 
@@ -88,6 +88,16 @@ sudo cp *.a /usr/lib
 ```
 
 
+#### Compile and install Google Mock:
+
+```shell
+cd /usr/src/gmock
+sudo cmake .
+sudo make
+sudo cp *.a /usr/lib
+```
+
+
 #### Compile Pulsar client library:
 
 ```shell


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services