https://github.com/protocolbuffers/protobuf/tree/2.7.0
2. Download gmock1.7.0.zip from following github
https://github.com/paulsapps/gmock-1.7.0
3. unzip the zip file
unzip gmock-1.7.0.zip
4. Rename the gmock-1.7.0 to gmock
mv gmock-1.7.0 gmock
5.run following command
./autogen.sh
./configure
make
make check
make install