Re: upgrade to latest release

2009-07-29 Thread Monty Taylor

Kenton Varda wrote:
 On Wed, Jul 29, 2009 at 4:14 AM, Sushil Shelly skshe...@gmail.com
 mailto:skshe...@gmail.com wrote:
 
 I need to upgrade a linux installation of protocol buffers. I have
 2.0..3 and need to move up to use 2.1.0 - is there a set procedure
 to do this?
 
 You can just install it normally.  You may also want to recompile any
 apps based on it, but this is not strictly necessary.  Although
 different versions of libprotobuf.so are not binary-compatible (C++
 sadly makes compatibility too difficult to achieve), we use libtool's
 version numbering to make sure that binary-incompatible versions of
 libprotobuf do not overwrite each other.  So, any binaries you compiled
 against the old version will continue to use the old version at runtime.
 
 If you want to uninstall the old version, then run make uninstall from
 the same directory where you you ran make install to install it. 

Everything Kenton says above is, of course, true. Additionally, if you
happen to be using Ubuntu, we keep up to date .debs of all the protobuf
stuff in the Drizzle PPA (since we use them pretty heavily ourselves)

http://launchpad.net/~drizzle-developers/+archive/ppa


 BTW, 2.2.0 will be out in the next week or two.

A little off-topic - but do you have a cutoff date for patches to get in
to that? I've still got some Sun Studio issues I've been working on a
patch for that I'd love to be in 2.2.0...

Monty


  


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: upgrade to latest release

2009-07-29 Thread Sushil Shelly
thanks for the heads up, upgrading to 2.1.0 noticed that the c++ example now
requires -lpthread, once I compile my application it will need to know about
pthread also.

is there a set of release notes that i need to be aware of, and also are
there any patches against 2.1.0 that I may need, if so how do i find out
what they are?

will make uninstall take out all flavors of protocol buffer libraries (I
used make install on top of a prior install and would like to remove the
older version)

thanks


On Wed, Jul 29, 2009 at 2:22 PM, Kenton Varda ken...@google.com wrote:

 On Wed, Jul 29, 2009 at 4:14 AM, Sushil Shelly skshe...@gmail.com wrote:

 I need to upgrade a linux installation of protocol buffers. I have 2.0.3
 and need to move up to use 2.1.0 - is there a set procedure to do this?


 You can just install it normally.  You may also want to recompile any apps
 based on it, but this is not strictly necessary.  Although different
 versions of libprotobuf.so are not binary-compatible (C++ sadly makes
 compatibility too difficult to achieve), we use libtool's version numbering
 to make sure that binary-incompatible versions of libprotobuf do not
 overwrite each other.  So, any binaries you compiled against the old version
 will continue to use the old version at runtime.
 If you want to uninstall the old version, then run make uninstall from
 the same directory where you you ran make install to install it.

 BTW, 2.2.0 will be out in the next week or two.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: upgrade to latest release

2009-07-29 Thread Kenton Varda
On Wed, Jul 29, 2009 at 12:00 PM, Sushil Shelly skshe...@gmail.com wrote:

 thanks for the heads up, upgrading to 2.1.0 noticed that the c++ example
 now requires -lpthread, once I compile my application it will need to know
 about pthread also.


Technically this was always needed, but on some systems the pthread mutex
functions happen to be in the C library, so you could get away without it.
 2.1.0 also uses pthread_once, though, which is not typically in the C
library.


 is there a set of release notes that i need to be aware of,


Just CHANGES.txt.


 and also are there any patches against 2.1.0 that I may need, if so how do
 i find out what they are?


No, if there were critical problems we'd do another release to fix them.


 will make uninstall take out all flavors of protocol buffer libraries (I
 used make install on top of a prior install and would like to remove the
 older version)


I'm not completely sure.  make install installs a versioned library, then
symlinks libprotobuf.so to the version lib.  Installing a new version would
update the symlink.  Uninistalling the old version might delete the symlink.
 But if you uninstall the old and then re-install the new (just re-run make
install) then everything should be good.




 thanks



 On Wed, Jul 29, 2009 at 2:22 PM, Kenton Varda ken...@google.com wrote:

 On Wed, Jul 29, 2009 at 4:14 AM, Sushil Shelly skshe...@gmail.comwrote:

 I need to upgrade a linux installation of protocol buffers. I have 2.0.3
 and need to move up to use 2.1.0 - is there a set procedure to do this?


 You can just install it normally.  You may also want to recompile any apps
 based on it, but this is not strictly necessary.  Although different
 versions of libprotobuf.so are not binary-compatible (C++ sadly makes
 compatibility too difficult to achieve), we use libtool's version numbering
 to make sure that binary-incompatible versions of libprotobuf do not
 overwrite each other.  So, any binaries you compiled against the old version
 will continue to use the old version at runtime.
 If you want to uninstall the old version, then run make uninstall from
 the same directory where you you ran make install to install it.

 BTW, 2.2.0 will be out in the next week or two.




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: upgrade to latest release

2009-07-29 Thread Kenton Varda
On Wed, Jul 29, 2009 at 11:49 AM, Monty Taylor mord...@inaugust.com wrote:

 A little off-topic - but do you have a cutoff date for patches to get in
 to that? I've still got some Sun Studio issues I've been working on a
 patch for that I'd love to be in 2.2.0...


There's no official schedule, so I can wait.  Can you get them to me in the
next week?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: upgrade to latest release

2009-07-29 Thread Monty Taylor

Kenton Varda wrote:
 On Wed, Jul 29, 2009 at 11:49 AM, Monty Taylor mord...@inaugust.com
 mailto:mord...@inaugust.com wrote:
 
 A little off-topic - but do you have a cutoff date for patches to get in
 to that? I've still got some Sun Studio issues I've been working on a
 patch for that I'd love to be in 2.2.0...
 
 
 There's no official schedule, so I can wait.  Can you get them to me in
 the next week?

Yes! I'll see if I can get them done sooner rather than later...

Monty


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---