Skip to content

Instantly share code, notes, and snippets.

@superalsrk
Last active November 15, 2016 06:49
Show Gist options
  • Save superalsrk/e2ad04a8abac6af00b7251c38214836f to your computer and use it in GitHub Desktop.
Save superalsrk/e2ad04a8abac6af00b7251c38214836f to your computer and use it in GitHub Desktop.
Build protobuf 2.6.1
sudo apt-get install libtool
wget https://github.com/google/protobuf/archive/v2.6.1.zip
unzip v2.6.1.zip
cd protobuf-2.6.1
sed -i 's/googletest.googlecode.com\/files\//pkgs.fedoraproject.org\/repo\/pkgs\/gtest\/gtest-1.5.0.tar.bz2\/8b2c3c3f26cb53e64a3109d03a97200a\//g' autogen.sh
./autogen.sh
./configure
make
make check
make install
sudo ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment