WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Python-Protobuf 2.6.x  (Read 2152 times)

Offline wanderingconfused

  • Newbie
  • *
  • Posts: 2
Python-Protobuf 2.6.x
« on: August 29, 2016, 01:19:37 PM »
It appears there hasn't been an extension for Protobuf since 4.x. I was hoping someone could make an extension of the latest version for 7.x.

Just notice this was on the wrong board.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Python-Protobuf 2.6.x
« Reply #1 on: August 29, 2016, 01:29:30 PM »
This? https://developers.google.com/protocol-buffers/docs/downloads
It seems v3.0.0 is the latest and still supports 2.6.x.
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Python-Protobuf 2.6.x
« Reply #2 on: August 29, 2016, 01:47:50 PM »
./autogen.sh  fails as it can't download  https://googlemock.googlecode.com/files/gmock-1.7.0.zip . :p
Will see if I can find it.

There are also prebuilt binaries available. Did you try those?
https://github.com/google/protobuf/releases/download/v3.0.0/protobuf-ruby-3.0.0.tar.gz
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Python-Protobuf 2.6.x
« Reply #3 on: August 29, 2016, 03:54:54 PM »
OK. Found  gmock . It's now  googletest .
I had to manually create the correct folders though.

These are my notes
Code: [Select]
HERE="/tmp/protobuf-build"

### https://github.com/google/protobuf/releases/tag/v3.0.0
tar -xvf protobuf-3.0.0.tar.gz

### https://github.com/google/googletest
unzip googletest-master.zip

mv "$HERE"/googletest-master/googlemock/ "$HERE"/protobuf-3.0.0/gmock
mv "$HERE"/googletest-master/googletest/ "$HERE"/protobuf-3.0.0/googletest

#cd "$HERE"/protobuf-3.0.0
#./autogen.sh
#./configure --prefix=/usr/local
#make
#sudo make DESTDIR=/tmp/protobuf install-strip


It built OK but  make check  didn't succeed. Not sure about that.
I'll see if I can package it up and send you a link via PM. If it doesn't work, someone else may give it a try since I have no means to test it.
Download a copy and keep it handy: Core book ;)

Offline wanderingconfused

  • Newbie
  • *
  • Posts: 2
Re: Python-Protobuf 2.6.x
« Reply #4 on: August 30, 2016, 01:27:30 PM »
Sounds good thanks

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Python-Protobuf 2.6.x
« Reply #5 on: August 30, 2016, 01:45:46 PM »
Dropbox and my ISP are giving me some hard times uploading the packages. I'll see if I can get to some other means of connecting to the internet reliably.
Download a copy and keep it handy: Core book ;)