Re: [protobuf] Re: Can't compile on

2010-08-17 Thread Monty Taylor
Can you send me your config.log file? Also - you might want to use gmake instead of normal solaris make - although that is not your problem here. On Tue, Aug 17, 2010 at 11:40 PM, Kenton Varda wrote: > Sorry, I added Monty Taylor to the CC list.  He's the guy to ask about > p

Re: [protobuf] exceptions on freebsd

2010-06-09 Thread Monty Taylor
uot;error in google protocol buffer parsing" Thanks! > On Wed, Jun 9, 2010 at 11:28 AM, Monty Taylor <mailto:mord...@inaugust.com>> wrote: > > Hey! > > I'm getting a weird error with an exception thrown on freebsd not being > catchable by a catch

[protobuf] exceptions on freebsd

2010-06-09 Thread Monty Taylor
Hey! I'm getting a weird error with an exception thrown on freebsd not being catchable by a catch (...) block... But first - how do I do a debug build of protobuf? I was going to first try building a debug build to see if helped me track down what was going on. More directly though - any thought

Re: [protobuf] Re: Issue 195 in protobuf: common.h should not have "using namespace std;"

2010-06-04 Thread Monty Taylor
On 06/04/2010 11:48 AM, proto...@googlecode.com wrote: > > Comment #3 on issue 195 by jmccaskey: common.h should not have "using > namespace std;" > http://code.google.com/p/protobuf/issues/detail?id=195 > > Ok, it looks like this *is* a Visual C++ bug. I can simplify my test > program down to >

Re: [protobuf] Linking Errors Using Sun Studio 12.1 on SPARC

2010-06-03 Thread Monty Taylor
On 06/03/2010 03:14 PM, Kenton Varda wrote: > > > On Fri, May 28, 2010 at 11:25 AM, Hering > wrote: > > Hi, > > I am trying to build versions 2.3.0 and 2.3.0rc2 with Sun Studio 12 > Update 1 compiler on a Solaris SPARC box without success. The >

Re: [protobuf] Re: Issue 178 in protobuf: 2.3.0 Link fail Solaris 10/SPARC/Sun Studio 12U1

2010-04-19 Thread Monty Taylor
On 04/19/2010 10:41 AM, proto...@googlecode.com wrote: Updates: Status: NeedPatchFromUser Comment #1 on issue 178 by ken...@google.com: 2.3.0 Link fail Solaris 10/SPARC/Sun Studio 12U1 http://code.google.com/p/protobuf/issues/detail?id=178 From the errors, it looks like you haven't linked in t

Re: [protobuf] Issue with protobuf-2.3.0: Problem running 'configure' on Solaris 10

2010-03-03 Thread Monty Taylor
Hi Steven! If you're running Solaris 10, I HIGHLY recommend the use of Sun Studio instead of GCC. GCC shipped with Solaris is ludicrously old and has issues. If you cannot, for some reason, use Sun Studio instead, I highly recommend installing a recent gcc (4.2 or later) I believe there is on

Re: [protobuf] Re: 2.3.0 released

2010-01-10 Thread Monty Taylor
edan wrote: > I happily upgraded to 2.3.0 - I always like to take the latest and greatest. > Unfortunately, and I think for the first time ever while upgrading > protobuf, I ran into a problem! > We compile our code with "-Werror", and this bombed out on a header file: We build with errors on in

Re: [protobuf] Re: gcc4.4 fixes: std::tr1::unordered_map

2010-01-06 Thread Monty Taylor
Kenton Varda wrote: > On Wed, Jan 6, 2010 at 9:02 PM, Oleg Smolsky > wrote: > > Oh, funky. Sorry, I don't have a Mac to test. Do you have automated > builds going? > > > Only on Linux, unfortunately. Well, and the Solaris one that Monty > runs. I suppose

Re: [protobuf] 2.3.0 release candidate

2009-12-22 Thread Monty Taylor
Oliver Jowett wrote: > Kenton Varda wrote: >> Hi all, >> >> I've uploaded a release candidate of protobuf-2.3.0 here: >> >> https://groups.google.com/group/protobuf/files >> >> I have tested on Linux (gcc 3.3.6 and 4.2.4), Cygwin, MinGW, MSVC, and >> OSX (Snow Leopard, latest Xcode). >> >> Monty, i

[protobuf] Re: 2.3.0 release candidate

2009-12-21 Thread Monty Taylor
Kenton Varda wrote: > Hi all, > > I've uploaded a release candidate of protobuf-2.3.0 here: > > https://groups.google.com/group/protobuf/files > > I have tested on Linux (gcc 3.3.6 and 4.2.4), Cygwin, MinGW, MSVC, and > OSX (Snow Leopard, latest Xcode). > > Monty, it would be great if you could

Re: [protobuf] Is it possible to install protobuf-2.2.0a with sunstudio 11

2009-12-09 Thread Monty Taylor
Yes. I use Sun Studio on Solaris with protobuf every day. mk wrote: > Hi > > could someone please help and tell me if it is possible to install > protobuf-2.2.0a with sunstudio 11 on sun solaris machine? > > thanks for your reply > > -- > > You received this message because you are subscribed

Re: [protobuf] Compiling on Solaris 9 - stdint.h

2009-11-17 Thread Monty Taylor
Indeed. Grab the latest sun studio and you should be good. "Kenton Varda" wrote: >I'm pretty sure several people have compiled on Solaris 9. Perhaps it is >your particular compiler that is lacking this? stdint.h was introduced by >C99 -- can you use a compiler that is less than 10 years old? >

[protobuf] Re: Compilation issue on Solaris 9 with CC version 5.9

2009-11-11 Thread Monty Taylor
I use 2.1.0 on solaris with sun studio compiler all the time. The thing is, you cannot use Cstd, you must use stlport4. I already have the protobuf configure script injecting the CXXFLAGS for that, but if you are overriding them, it's gonna get ugly. Grep through the m4 files for stlport4 and yo

Re: Protocol Buffers for Python 3.1

2009-09-23 Thread Monty Taylor
t sure what we should do with this... I'm not sure what the best way is to maintain it moving forward. The change to protoc was pretty small and self contained, but the python3 dir is a full-on fork of the python dir. > On Mon, Sep 14, 2009 at 10:46 PM, Monty Taylor <mailto:mord...@inau

Re: SIGBUS alignment issue with ZeroCopyStreams on Solaris/Sparc

2009-09-15 Thread Monty Taylor
Kenton Varda wrote: > Did your "Absolutely!" mean "Absolutely, I'll test it!" or "Absolutely, > it worked!"? Absolutely==I'll test it Which I just finished - and it works. Thanks! Monty > On Mon, Sep 14, 2009 at 4:35 PM, Monty Taylor <

Re: Protocol Buffers for Python 3.1

2009-09-14 Thread Monty Taylor
Kenton Varda wrote: > Does Python 3.x implement metaclasses the same way? It looks to me like > the metaclass may not be getting applied. AIUI, setuptools (and therefore pkg_resources) have not yet been ported to python3 yet. I believe there are discussions about including pkg_resources directly

Re: SIGBUS alignment issue with ZeroCopyStreams on Solaris/Sparc

2009-09-14 Thread Monty Taylor
Kenton Varda wrote: > Hi Monty, > > Can you test the attached patch and verify that it fixes the problem? > (Kind of hard to test here because we only have x86 machines which > happily execute unaligned reads.) Absolutely! > On Wed, Sep 9, 2009 at 12:18 AM, Monty Ta

Re: protoc feature question

2009-09-11 Thread Monty Taylor
Well, the build-if-newer is handled by either Make or VisualStudio, not by the compiler in either case. As for the dependencies ... gcc _does_ have options (-MD -MP -MF) to spit out depends that it determines from following include files in Makefile format. automake uses this feature to construct

SIGBUS alignment issue with ZeroCopyStreams on Solaris/Sparc

2009-09-09 Thread Monty Taylor
Hey guys, I just filed an issue: http://code.google.com/p/protobuf/issues/detail?id=124 related to alignment issues in some of the utf8 handling. Sorry - no fix attached, only the problem. :) Monty --~--~-~--~~~---~--~~ You received this message because you are

Re: Notes on building a 64-bit install on Solaris 10 x86

2009-08-22 Thread Monty Taylor
Oliver Jowett wrote: > Monty Taylor wrote: >> Kenton Varda wrote: >>> I'm pretty sure #1 is not protobuf's fault. I've never heard of >>> libgcc_s which means it's probably something GCC links against >>> implicitly. And anyway,

Re: Notes on building a 64-bit install on Solaris 10 x86

2009-08-21 Thread Monty Taylor
Kenton Varda wrote: > I'm pretty sure #1 is not protobuf's fault. I've never heard of > libgcc_s which means it's probably something GCC links against > implicitly. And anyway, if libwhatever.so.1 exists, there should always > be a libwhatever.so symlink to it... right? Sorry - I haven't done a

Re: Core Dump with c++ 4.1.1

2009-08-14 Thread Monty Taylor
ly) with no problems. If you do not mean GCC, then what compiler are you talking about? Monty > On Fri, Aug 14, 2009 at 11:59 AM, Monty Taylor <mailto:mord...@inaugust.com>> wrote: > > Sushil Shelly wrote: > > Kenton and Team, > > > > We rece

Re: Core Dump with c++ 4.1.1

2009-08-14 Thread Monty Taylor
Sushil Shelly wrote: > Kenton and Team, > > We recently moved to using c++ 4.1.1 and are getting a segmentation > fault as shown below. We are simply building the tutorial code and then > run 'add_person' (This same test runs fine when built with C++ 3.4.0). Did you re-build protobuf after upgra

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 <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

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 > 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

Re: Compiling on AIX 5.3 using xlC 3.55 compiler

2009-07-13 Thread Monty Taylor
vikram wrote: > I have found out that with new xlC versions like 8.X onwards hash_map > like functionality is supported but different name as unordered_map. > So it there any way you can to use this container without modifying > much of the code. In the code hash_map is used in many places. So it

Re: where are the examples

2009-06-30 Thread Monty Taylor
We use protobuf in Drizzle as a mechanism to serialize information into files on disk. We are also send some of the messages over the network - depending on what it is. If you need a transport mechanism, I suggest checking out setting up a gearman server (https://edge.launchpad.net/gearmand/+down

Re: Sun Studio 11

2009-06-24 Thread Monty Taylor
Rats. Ok, I'm seeing some problems now... let me get back to you. vikram wrote: > Monty > > Main source compile but when I do ' make check ' , it fails with the > errors I posted previously. > > Vikram > > On Jun 24, 12:59 pm, Monty Taylor wrote:

Re: Sun Studio 11

2009-06-24 Thread Monty Taylor
not able to compile those yet. > > On Jun 24, 12:48 pm, Monty Taylor wrote: >> I'm hacking on a patch to make 2.1.0 work properly on my Sun Studio set >> up as we speak. Was there something more specific you wanted from it >> than just compiling? >> >> vi

Re: Sun Studio 11

2009-06-24 Thread Monty Taylor
I'm hacking on a patch to make 2.1.0 work properly on my Sun Studio set up as we speak. Was there something more specific you wanted from it than just compiling? vikram wrote: > I am using 2.1.0 only. > > On Jun 24, 12:26 pm, Kenton Varda wrote: >> The list of files there suggest that you're us

valgrind issues

2009-06-22 Thread Monty Taylor
Hey guys, We're valgrinding drizzle at the moment and see a lot of: # ==3378== 40 bytes in 1 blocks are still reachable in loss record 14 of 121 # ==3378==at 0x4A06D5C: operator new(unsigned long) (vg_replace_malloc.c:230) # ==3378==by 0x5894A8: drizzled::message::protobuf_BuildDesc_tabl

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-29 Thread Monty Taylor
Kenton Varda wrote: > PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ? > > > Yeargh, I wish I could tell the code site to e-mail me whenever someone > submits an issue, because I always forget to go look. Yeah. I completely agree... It doesn't seem to email on updates eithe

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-27 Thread Monty Taylor
Kenton Varda wrote: > Thanks for the patch, Monty. > > Unfortunately it looks like it has been mangled somewhere in flight. > Can you send it as an attachment instead? No problem! Here you go. Monty PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ? --~--~-~--~~---

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-21 Thread Monty Taylor
Kenton Varda wrote: > On Wed, May 20, 2009 at 12:58 PM, Monty Taylor <mailto:mo...@inaugust.com>> wrote: > > Works fine then, as I'm using it pretty consistently with Sun Studio - > guess it's just the pedanticness. > > > Note that the whol

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: > > > On Wed, May 20, 2009 at 10:44 AM, Monty Taylor <mailto:mo...@inaugust.com>> wrote: > > Kenton Varda wrote: > > > > > > On Wed, May 20, 2009 at 12:35 AM, <mailto:cosmin.cremare...@gmail.com

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
Kenton Varda wrote: > > > On Wed, May 20, 2009 at 12:35 AM, > wrote: > > "./google/protobuf/stubs/once.h", line 114: Warning (Anachronism): > Formal argument 2 of type extern "C" void(*)() in call to pthread_once > (_once*, extern "C" void(*)())

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-20 Thread Monty Taylor
so - I'm going to go recompile and see if I can reproduce. > Regards, > > Cosmin > > On May 19, 10:14 pm, Monty Taylor wrote: >> cosmin.cremare...@gmail.com wrote: >>> Hi >>> I'm running into some issues when compiling (more exactly linking) >>&

Re: Protocol buffers and EBCDIC

2009-05-19 Thread Monty Taylor
David Crayford wrote: > Monty Taylor wrote: >> Yeah... ctype works globally. There's also the char_traits stuff. The >> thing that continues to amaze me is that there is not a good, usable, >> performant and reentrant charset handling lib for c++. Lemme know

Re: Compiling protocol buffers 2.0.3 with sun studio 11

2009-05-19 Thread Monty Taylor
cosmin.cremare...@gmail.com wrote: > Hi > > I'm running into some issues when compiling (more exactly linking) > protobuf 2.0.3. > > Thanks in advance for any help. > Cosmin > > CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/ > sunstudio/sunstudio11/SUNWspro/bin/cc ./configure

FWD: Re: Protocol Buffer compiling on Sun Sparc 64 bit.

2009-03-06 Thread Monty Taylor
Oops. Forgot to include the list in the response... -- Forwarded message -- From: Monty Taylor Date: Fri, Mar 6, 2009 at 1:01 AM Subject: Re: Protocol Buffer compiling on Sun Sparc 64 bit. To: Marakan gcc on Sun is really old (3.4) ... I use protobuf on Sun with 64bit, but