Re: Compiling snappy under Windows

2016-01-19 Thread Nick North
hdb.apache.org > > Sent: Tuesday, January 19, 2016 12:15:25 PM > > Subject: Re: Compiling snappy under Windows > > > > On Tue, Jan 19, 2016 at 8:05 PM, Nick North > > wrote: > > > I'm not exactly sure what you are proposing here. Are you saying we > > >

Re: Compiling snappy under Windows

2016-01-19 Thread Joan Touzet
files. -Joan - Original Message - > From: "Alexander Shorin" > To: dev@couchdb.apache.org > Sent: Tuesday, January 19, 2016 12:15:25 PM > Subject: Re: Compiling snappy under Windows > > On Tue, Jan 19, 2016 at 8:05 PM, Nick North > wrote: > > I'm no

Re: Compiling snappy under Windows

2016-01-19 Thread Alexander Shorin
On Tue, Jan 19, 2016 at 8:05 PM, Nick North wrote: > I'm not exactly sure what you are proposing here. Are you saying we should > run autoconf for the snappy code? There is an earlier commit in > couchdb-snappy repository that removed autotools, saying they did not work > well with snappy, which m

Re: Compiling snappy under Windows

2016-01-19 Thread Nick North
I'm not exactly sure what you are proposing here. Are you saying we should run autoconf for the snappy code? There is an earlier commit in couchdb-snappy repository that removed autotools, saying they did not work well with snappy, which makes me a bit cautious about that. Apologies if I've misunde

Re: Compiling snappy under Windows

2016-01-19 Thread Alexander Shorin
Hi Nick, That's my fault definitely. The fix should be simple, however. This is our file: https://github.com/apache/couchdb-snappy/blob/master/c_src/snappy/snappy-stubs-public.h This is their: https://github.com/google/snappy/blob/master/snappy-stubs-public.h.in Their rules: https://github.com/

Compiling snappy under Windows

2016-01-19 Thread Nick North
I'm trying to compile up CouchDB 2.0 on Windows, using Joan Touzet's PowerShell script. This used to work, but the 1.1.3 Snappy update in October broke Windows compatibility, as it uses the ssize_t type, which MS C++ does not understand. The original google/snappy repository code deals with this i