[protobuf] Re: 65k string limit in MS Visual C++ 2005

2010-04-07 Thread Iiro
The problem seems to occur with Visual C++ 2008 also. The test project compiled succesfully before because I had accidentally left the exampleenum.pb.cc and enumextension.pb.cc files out from the solution. On 7 huhti, 00:48, Jason Hsueh jas...@google.com wrote: This sounds like a C++ version

[protobuf] multi arch build of protobuf on macosx

2010-04-07 Thread Romain Francois
Hello, Please bear with me if this is obvious ... I'm new to OSX. Are there instructions somewhere to build protobuf for both i386 and x86_64 architectures on OSX. Also, on linux I can do : $ pkg-config --libs protobuf $ pkg-config --cflags protobuf but OSX does not have pkg-config. I

[protobuf] protobuf-2.3.0 : Problem generating python files with protoc

2010-04-07 Thread dear chap
I have this weird problem when generating python files from .proto files using protoc. I am running protoc on addressbook.proto and in the addressbook_pb2.py I have this string DESCRIPTOR = descriptor.FileDescriptor( name='addressbook.proto', package='tutorial',

Re: [protobuf] Protocol buffers and CentOS

2010-04-07 Thread Jason Hsueh
(Adding the group back to the discussion) pkg_resources should be part of setuptools, which should be installed as part of running the setup.py script. From the python README: 2) If you do not have setuptools installed, note that it will be downloaded and installed automatically as soon as you

[protobuf] Re: Issue 177 in protobuf: undefined symbol in shared lib on Ubuntu 10.04

2010-04-07 Thread protobuf
Updates: Status: WorkingAsIntended Owner: jas...@google.com Comment #5 on issue 177 by jas...@google.com: undefined symbol in shared lib on Ubuntu 10.04 http://code.google.com/p/protobuf/issues/detail?id=177 (No comment was entered for this change.) -- You received this

Re: [protobuf] multi arch build of protobuf on macosx

2010-04-07 Thread Jason Hsueh
Kenton, do you have any experience compiling protobufs on OSX? On Wed, Apr 7, 2010 at 9:34 AM, Romain Francois romain.francois.r.enthusi...@gmail.com wrote: Hello, Please bear with me if this is obvious ... I'm new to OSX. Are there instructions somewhere to build protobuf for both i386

Re: [protobuf] Protocol buffers and CentOS

2010-04-07 Thread Sherry Yang
Jason, Thanks for the ideas. setuptools failed to install because zlib was not installed. I installed zlib and it still failed so I reinstalled python (after the zlib install) and everything works now. thanks again! Eric On Wed, Apr 7, 2010 at 11:51 AM, Jason Hsueh jas...@google.com wrote:

[protobuf] Minimum set of libraries/files to run Python and Google Protocol Buffer (CentOS)

2010-04-07 Thread Eric
Hello, I have Python and Google Protocol Buffers running on a CentOS system using the standard install. I want to run my Python scripts on a production server (also CentOS) but if possible I would like avoid doing the full install. Is there a relatively small subset of files I can copy from the

Re: [protobuf] Minimum set of libraries/files to run Python and Google Protocol Buffer (CentOS)

2010-04-07 Thread Kenton Varda
You need all the files that don't have test in the name. (The test files shouldn't be installed anyway.) Protobufs do not depend on anything outside the Python standard library. On Wed, Apr 7, 2010 at 2:01 PM, Eric yangcoo...@gmail.com wrote: Hello, I have Python and Google Protocol Buffers

Re: [protobuf] Minimum set of libraries/files to run Python and Google Protocol Buffer (CentOS)

2010-04-07 Thread Sherry Yang
Kenton, Thanks for the followup. I actually copied over the complete install to the production server and this did not help. Here are the directories (and their subdirectories) I copied: protobuf-2.3.0]$ ls aclocal.m4config.status editors libtool protobuf-lite.pc

Re: [protobuf] protobuf-csharp-port: binary and source release

2010-04-07 Thread Igor Gatis
Will it still work with depot_tools? I use gclient with several projects, it is just awesome. AFAIK, it does not support mercurial yet. Please, consider this use case before doing the change. On Thu, Apr 1, 2010 at 5:37 PM, Kenton Varda ken...@google.com wrote: 3 Mercurial (I plan to switch

Re: [protobuf] protobuf-csharp-port: binary and source release

2010-04-07 Thread Kenton Varda
Is there any concrete plan to add mercurial support to depot_tools? It sounds like the kind of thing that will not happen until someone needs it. But if no one switches to mercurial then there will never be a need. So unless there is a reasonable target date set for this support, I think we