Build Protobuf v3.0.0 on Ubuntu Linux
Caution: the autogen.sh
curl $curlopts -L -O https://github.com/google/googlemock/archive/release-1.7.0.zip
unzip -q release-1.7.0.zip
rm release-1.7.0.zip
mv googlemock-release-1.7.0 gmock
curl $curlopts -L -O https://github.com/google/googletest/archive/release-1.7.0.zip
unzip -q release-1.7.0.zip
rm release-1.7.0.zip
mv googletest-release-1.7.0 gmock/gtest
You have to comment the original gmock-1.7.0.zip download address, it is not available anymore. Add the orange color code block. Now, you can download the zip file.
After build, check the build:
Now, everything seems going well. Let’s check it out with the command proto –version:
We have successfully built the Protobuf from scratch.
References
https://github.com/linux-on-ibm-z/docs/wiki/Building-ProtoBuf
https://github.com/google/protobuf/commit/bba446bbf2ac7b0b9923d4eb07d5acd0665a8cf0