U14.04 + Protobuf install

This is what I had to do to get my rig up and running with proto buffers:

  1. RTFI (slang-def)
  2. $ cd ~/<target directory>
  3. Get a copy of the package
  4. $ cd ~/<target directory>/protobuf-x.x.x/
  5. $ wget https://bootstrap.pypa.io/ez_setup.py -O – | sudo python
  6. $ cd ~/<target directory>/protobuf-x.x.x/python/
  7. $ python setup.py build
  8. $ python setup.py google_test
  9. $ python setup.py test –cpp_implementation
  10. $ sudo python setup.py install
  11. $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
  12. $ export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION_VERSION=2

 

Then bend it to your will 🙂

Also see the Python Tutorial to get started using it!

Enjoy!

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s