Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 76051 invoked from network); 20 Nov 2009 20:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 20:52:56 -0000 Received: (qmail 71539 invoked by uid 500); 20 Nov 2009 20:52:56 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 71501 invoked by uid 500); 20 Nov 2009 20:52:56 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 71484 invoked by uid 99); 20 Nov 2009 20:52:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 20:52:56 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.145.54.171] (HELO mrout1.yahoo.com) (216.145.54.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 20:52:48 +0000 Received: from [10.73.135.247] (wifi-e-135-247.corp.yahoo.com [10.73.135.247]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id nAKKqPXY079436; Fri, 20 Nov 2009 12:52:25 -0800 (PST) Message-ID: <4B070189.5040309@apache.org> Date: Fri, 20 Nov 2009 12:52:25 -0800 From: Patrick Hunt User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: zookeeper-user@hadoop.apache.org CC: Patrick Hunt , maarten@vrijheid.net Subject: Re: c client on win32 References: <4B06E18E.9090006@vrijheid.net> <4B06F83A.3070606@apache.org> <4B06FFC2.80004@vrijheid.net> In-Reply-To: <4B06FFC2.80004@vrijheid.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Well I can tell you that the C API is the more heavily used API of the two (c/java) inside Yahoo, it's also the basis of the python and perl bindings. The issue here is that no one seems to have tried it on windows in quite some time. I believe Cygwin 1.7 (currently in beta) does have getaddrinfo support btw (I have not tried that). MinGW sounds like a good goal, if you'd like to create a jira and provide some patches we'd be happy to work with you to achieve. Regards, Patrick Maarten Koopmans wrote: > Patrick, > > I'll stick to the Java API - the C API feels to much of a second class > citizen. Besides, I think we might wnat to try with the beta of Cygwin > first before filing it in Jira. > > Ultimately the goal (IMHO) should be MinGW support(?) > > --Maarten > > Patrick Hunt schreef: >> Maarten, I just tried this with cygwin and it fails for me too. It >> seems that cygwin does not support getaddrinfo! Please create a JIRA >> and I'll see what we can do. >> >> Patrick >> >> Maarten Koopmans wrote: >>> Hi, >>> >>> Has anybody managed to get the c client / dll compiled on Win32, and >>> if so, how? I did a quick pass with MunGW and Cygwin, and they failed >>> horribly. >>> >>> I'd like to load the DLL to bind it to a scripting language on >>> windows as well. >>> >>> Thanks, >>> >>> Maarten >> >> >