Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created September 5, 2013 01:06
Show Gist options
  • Save springmeyer/6444804 to your computer and use it in GitHub Desktop.
Save springmeyer/6444804 to your computer and use it in GitHub Desktop.
Install capnproto on Ubuntu Precise LTS (12.04)
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.7 g++-4.7 subversion git
# note: you can also use update-alternatives to map gcc to gcc-4.7
export CC=gcc-4.7
export CXX=g++-4.7
git clone https://github.com/kentonv/capnproto.git
cd capnproto/c++
./setup-autotools.sh
autoreconf -i && ./configure && make -j6 check && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment