You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Maarten Koopmans <ma...@vrijheid.net> on 2009/11/20 19:35:58 UTC

c client on win32

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

Re: c client on win32

Posted by Patrick Hunt <ph...@apache.org>.
You need to have cppunit installed, might that be it?

Maarten Koopmans wrote:
> I applied the patch to  the trunk, but somehow autoconf fails on the 
> fresh checkout (or my brain fails me, more likely ;-)
> 
> What do you do on checkout to get a build of the trunk?
> 
> --Maarten
> 
> Patrick Hunt schreef:
>> I have 1.5 installed. 1.7 is not official yet afaict (anyway, we 
>> probably want to continue to support 1.5, I suspect that if 1.5 works 
>> it should continue to work in 1.7... but would be nice to find out at 
>> some point)
>>
>> Patrick
>>
>> Maarten@vrijheid wrote:
>>> Cygwin 1.5 or 1.7? I'll cross test tomorrow.
>>>
>>> --Maarten
>>>
>>> Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het 
>>> volgende geschreven:\
>>>
>>>> fyi, this patch allows compilation under cygwin but the tests are 
>>>> currently not passing (probably not handling the space in windows 
>>>> directory names correctly, but haven't had a chance to track it 
>>>> down). This should go into 3.3.0
>>>>
>>>> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>>>>
>>>> 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
>>>>
>>
>>
>> Geen virus gevonden in het binnenkomende-bericht.
>> Gecontroleerd door AVG - www.avg.com
>> Versie: 9.0.709 / Virusdatabase: 270.14.78/2521 - datum van uitgifte: 
>> 11/23/09 08:52:00
>>
>>    
> 

Re: c client on win32

Posted by Maarten Koopmans <ma...@vrijheid.net>.
Yes, I am on Win7 64 bit - weird stuff. I'll try to dig into it, but I 
am using zkfuse now as well. That is a much shorter route (even shorter 
and much faster than REST). I joined zookeeper-dev.

Regards,

Maarten

Patrick Hunt schreef:
> I'm on g++ 3.4.4 with XP and it's fine. That's unusual. Is cygwin 
> officially supported on win7? 32 or 64bit? (i'm 32bit)
>
> (ps. let's move followups to zookeeper-dev and off the user list)
>
> Regards,
>
> Patrick
>
> Maarten Koopmans wrote:
>> Hm, seems like my cygwin on Win7 fails me. I get a crash on checking 
>> the static flag for g++ in configure in 3.2.1
>>
>> Weird.
>>
>> Maarten Koopmans schreef:
>>> I applied the patch to  the trunk, but somehow autoconf fails on the 
>>> fresh checkout (or my brain fails me, more likely ;-)
>>>
>>> What do you do on checkout to get a build of the trunk?
>>>
>>> --Maarten
>>>
>>> Patrick Hunt schreef:
>>>> I have 1.5 installed. 1.7 is not official yet afaict (anyway, we 
>>>> probably want to continue to support 1.5, I suspect that if 1.5 
>>>> works it should continue to work in 1.7... but would be nice to 
>>>> find out at some point)
>>>>
>>>> Patrick
>>>>
>>>> Maarten@vrijheid wrote:
>>>>> Cygwin 1.5 or 1.7? I'll cross test tomorrow.
>>>>>
>>>>> --Maarten
>>>>>
>>>>> Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het 
>>>>> volgende geschreven:\
>>>>>
>>>>>> fyi, this patch allows compilation under cygwin but the tests are 
>>>>>> currently not passing (probably not handling the space in windows 
>>>>>> directory names correctly, but haven't had a chance to track it 
>>>>>> down). This should go into 3.3.0
>>>>>>
>>>>>> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>>>>>>
>>>>>> 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
>>>>>>
>>>>
>>>>
>>>> Geen virus gevonden in het binnenkomende-bericht.
>>>> Gecontroleerd door AVG - www.avg.com
>>>> Versie: 9.0.709 / Virusdatabase: 270.14.78/2521 - datum van 
>>>> uitgifte: 11/23/09 08:52:00
>>>>
>>>
>>>
>>>
>>> Geen virus gevonden in het binnenkomende-bericht.
>>> Gecontroleerd door AVG - www.avg.com
>>> Versie: 9.0.709 / Virusdatabase: 270.14.79/2522 - datum van 
>>> uitgifte: 11/23/09 20:45:00
>>>
>>
>
>
> Geen virus gevonden in het binnenkomende-bericht.
> Gecontroleerd door AVG - www.avg.com
> Versie: 9.0.709 / Virusdatabase: 270.14.79/2522 - datum van uitgifte: 11/23/09 20:45:00
>
>    


Re: c client on win32

Posted by Patrick Hunt <ph...@apache.org>.
I'm on g++ 3.4.4 with XP and it's fine. That's unusual. Is cygwin 
officially supported on win7? 32 or 64bit? (i'm 32bit)

(ps. let's move followups to zookeeper-dev and off the user list)

Regards,

Patrick

Maarten Koopmans wrote:
> Hm, seems like my cygwin on Win7 fails me. I get a crash on checking the 
> static flag for g++ in configure in 3.2.1
> 
> Weird.
> 
> Maarten Koopmans schreef:
>> I applied the patch to  the trunk, but somehow autoconf fails on the 
>> fresh checkout (or my brain fails me, more likely ;-)
>>
>> What do you do on checkout to get a build of the trunk?
>>
>> --Maarten
>>
>> Patrick Hunt schreef:
>>> I have 1.5 installed. 1.7 is not official yet afaict (anyway, we 
>>> probably want to continue to support 1.5, I suspect that if 1.5 works 
>>> it should continue to work in 1.7... but would be nice to find out at 
>>> some point)
>>>
>>> Patrick
>>>
>>> Maarten@vrijheid wrote:
>>>> Cygwin 1.5 or 1.7? I'll cross test tomorrow.
>>>>
>>>> --Maarten
>>>>
>>>> Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het 
>>>> volgende geschreven:\
>>>>
>>>>> fyi, this patch allows compilation under cygwin but the tests are 
>>>>> currently not passing (probably not handling the space in windows 
>>>>> directory names correctly, but haven't had a chance to track it 
>>>>> down). This should go into 3.3.0
>>>>>
>>>>> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>>>>>
>>>>> 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
>>>>>
>>>
>>>
>>> Geen virus gevonden in het binnenkomende-bericht.
>>> Gecontroleerd door AVG - www.avg.com
>>> Versie: 9.0.709 / Virusdatabase: 270.14.78/2521 - datum van uitgifte: 
>>> 11/23/09 08:52:00
>>>
>>
>>
>>
>> Geen virus gevonden in het binnenkomende-bericht.
>> Gecontroleerd door AVG - www.avg.com
>> Versie: 9.0.709 / Virusdatabase: 270.14.79/2522 - datum van uitgifte: 
>> 11/23/09 20:45:00
>>
>>    
> 

Re: c client on win32

Posted by Maarten Koopmans <ma...@vrijheid.net>.
Hm, seems like my cygwin on Win7 fails me. I get a crash on checking the 
static flag for g++ in configure in 3.2.1

Weird.

Maarten Koopmans schreef:
> I applied the patch to  the trunk, but somehow autoconf fails on the 
> fresh checkout (or my brain fails me, more likely ;-)
>
> What do you do on checkout to get a build of the trunk?
>
> --Maarten
>
> Patrick Hunt schreef:
>> I have 1.5 installed. 1.7 is not official yet afaict (anyway, we 
>> probably want to continue to support 1.5, I suspect that if 1.5 works 
>> it should continue to work in 1.7... but would be nice to find out at 
>> some point)
>>
>> Patrick
>>
>> Maarten@vrijheid wrote:
>>> Cygwin 1.5 or 1.7? I'll cross test tomorrow.
>>>
>>> --Maarten
>>>
>>> Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het 
>>> volgende geschreven:\
>>>
>>>> fyi, this patch allows compilation under cygwin but the tests are 
>>>> currently not passing (probably not handling the space in windows 
>>>> directory names correctly, but haven't had a chance to track it 
>>>> down). This should go into 3.3.0
>>>>
>>>> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>>>>
>>>> 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
>>>>
>>
>>
>> Geen virus gevonden in het binnenkomende-bericht.
>> Gecontroleerd door AVG - www.avg.com
>> Versie: 9.0.709 / Virusdatabase: 270.14.78/2521 - datum van uitgifte: 
>> 11/23/09 08:52:00
>>
>
>
>
> Geen virus gevonden in het binnenkomende-bericht.
> Gecontroleerd door AVG - www.avg.com
> Versie: 9.0.709 / Virusdatabase: 270.14.79/2522 - datum van uitgifte: 11/23/09 20:45:00
>
>    


Re: c client on win32

Posted by Maarten Koopmans <ma...@vrijheid.net>.
I applied the patch to  the trunk, but somehow autoconf fails on the 
fresh checkout (or my brain fails me, more likely ;-)

What do you do on checkout to get a build of the trunk?

--Maarten

Patrick Hunt schreef:
> I have 1.5 installed. 1.7 is not official yet afaict (anyway, we 
> probably want to continue to support 1.5, I suspect that if 1.5 works 
> it should continue to work in 1.7... but would be nice to find out at 
> some point)
>
> Patrick
>
> Maarten@vrijheid wrote:
>> Cygwin 1.5 or 1.7? I'll cross test tomorrow.
>>
>> --Maarten
>>
>> Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het 
>> volgende geschreven:\
>>
>>> fyi, this patch allows compilation under cygwin but the tests are 
>>> currently not passing (probably not handling the space in windows 
>>> directory names correctly, but haven't had a chance to track it 
>>> down). This should go into 3.3.0
>>>
>>> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>>>
>>> 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
>>>
>
>
> Geen virus gevonden in het binnenkomende-bericht.
> Gecontroleerd door AVG - www.avg.com
> Versie: 9.0.709 / Virusdatabase: 270.14.78/2521 - datum van uitgifte: 11/23/09 08:52:00
>
>    


Re: c client on win32

Posted by Patrick Hunt <ph...@apache.org>.
I have 1.5 installed. 1.7 is not official yet afaict (anyway, we 
probably want to continue to support 1.5, I suspect that if 1.5 works it 
should continue to work in 1.7... but would be nice to find out at some 
point)

Patrick

Maarten@vrijheid wrote:
> Cygwin 1.5 or 1.7? I'll cross test tomorrow.
> 
> --Maarten
> 
> Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het 
> volgende geschreven:\
> 
>> fyi, this patch allows compilation under cygwin but the tests are 
>> currently not passing (probably not handling the space in windows 
>> directory names correctly, but haven't had a chance to track it down). 
>> This should go into 3.3.0
>>
>> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>>
>> 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
>>

Re: c client on win32

Posted by "Maarten@vrijheid" <ma...@vrijheid.net>.
Cygwin 1.5 or 1.7? I'll cross test tomorrow.

--Maarten

Op 23 nov 2009 om 18:38 heeft Patrick Hunt <ph...@apache.org> het  
volgende geschreven:\

> fyi, this patch allows compilation under cygwin but the tests are  
> currently not passing (probably not handling the space in windows  
> directory names correctly, but haven't had a chance to track it  
> down). This should go into 3.3.0
>
> https://issues.apache.org/jira/browse/ZOOKEEPER-586
>
> 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
>

Re: c client on win32

Posted by Patrick Hunt <ph...@apache.org>.
fyi, this patch allows compilation under cygwin but the tests are 
currently not passing (probably not handling the space in windows 
directory names correctly, but haven't had a chance to track it down). 
This should go into 3.3.0

https://issues.apache.org/jira/browse/ZOOKEEPER-586

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

Re: c client on win32

Posted by stack <st...@duboce.net>.
Below an excerpt from a single node zk quorum that was at heart of a small
hbase cluster.  Unfortunately the log is not at DEBUG level (I've asked the
gentleman to up the log level meantime).  What it seems to be reporting is
that an exception while closing a session caused it to timeout all connected
sessions.

Here is the line that mentions the exception on close of session.  There is
no stack trace:

2009-11-20 03:41:04,766 WARN org.apache.zookeeper.server.NIOServerCnxn:
Exception causing close of session 0x124bc250d700790 due to
java.io.IOException: Read error

Is it correct that an error at this stage throws out all connected sessions?

Thanks,
St.Ack


2009-11-20 00:00:04,948 INFO org.apache.zookeeper.server.NIOServerCnxn:
Connected to /10.1.20.101:50716 lastZxid 0
2009-11-20 00:00:04,982 INFO org.apache.zookeeper.server.NIOServerCnxn:
Creating new session 0x1250f26319f0016
2009-11-20 00:00:05,051 INFO org.apache.zookeeper.server.NIOServerCnxn:
Finished init of 0x1250f26319f0016 valid:true
2009-11-20 00:00:05,051 WARN
org.apache.zookeeper.server.PrepRequestProcessor: Got exception when
processing sessionid:0x1250f26319f0016 type:create c
xid:0x1 zxid:0xfffffffffffffffe txntype:unknown n/a
org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode =
NodeExists
        at
org.apache.zookeeper.server.PrepRequestProcessor.pRequest(PrepRequestProcessor.java:245)
        at
org.apache.zookeeper.server.PrepRequestProcessor.run(PrepRequestProcessor.java:114)
2009-11-20 00:00:40,150 WARN
org.apache.zookeeper.server.PrepRequestProcessor: Got exception when
processing sessionid:0x1250f26319f0016 type:create c
xid:0x4 zxid:0xfffffffffffffffe txntype:unknown n/a
org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode =
NodeExists
        at
org.apache.zookeeper.server.PrepRequestProcessor.pRequest(PrepRequestProcessor.java:245)
        at
org.apache.zookeeper.server.PrepRequestProcessor.run(PrepRequestProcessor.java:114)
2009-11-20 00:00:50,428 WARN org.apache.zookeeper.server.NIOServerCnxn:
Exception causing close of session 0x1250f26319f0016 due to
java.io.IOExceptio
n: Read error
2009-11-20 00:00:50,429 INFO org.apache.zookeeper.server.NIOServerCnxn:
closing session:0x1250f26319f0016 NIOServerCnxn:
java.nio.channels.SocketChann
el[connected local=/10.1.20.101:2181 remote=/10.1.20.101:50716]
2009-11-20 00:01:22,002 INFO org.apache.zookeeper.server.SessionTrackerImpl:
Expiring session 0x1250f26319f0016
2009-11-20 00:01:22,002 INFO org.apache.zookeeper.server.ZooKeeperServer:
Expiring session 0x1250f26319f0016
2009-11-20 00:01:22,002 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Processed session
termination request for id: 0x1250f26319f0016
2009-11-20 03:41:04,766 WARN org.apache.zookeeper.server.NIOServerCnxn:
Exception causing close of session 0x124bc250d700790 due to
java.io.IOExceptio
n: Read error
2009-11-20 03:41:04,864 INFO org.apache.zookeeper.server.SessionTrackerImpl:
Expiring session 0x1250f26319f0000
2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.ZooKeeperServer:
Expiring session 0x1250f26319f0000
2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.SessionTrackerImpl:
Expiring session 0x124bc250d7007a2
2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.ZooKeeperServer:
Expiring session 0x124bc250d7007a2
2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.SessionTrackerImpl:
Expiring session 0x124bc250d700794
2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.ZooKeeperServer:
Expiring session 0x124bc250d700794

Re: c client on win32

Posted by Patrick Hunt <ph...@apache.org>.
Feel free to submit for inclusion in ZK's src/contrib.

Good Luck,

Patrick

Maarten Koopmans wrote:
> Good to know. I'll check on Cygwin 1.7 and switch to Linux otherwise. I 
> want to do a quick REBOL binding (so I need to figure out the C calls 
> that are "minimal", and preferably have no callback function pointers). 
> If I can get ZooKeeper talking via C (or via TCP, but the protocol 
> doesn't seem to be specified) from REBOL, I have some very cool things 
> coming. But maybe we should talk off-list aboutt that (will be open 
> sourced though).
> 
> --Maarten
> 
> Patrick Hunt schreef:
>> 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
>>>>
>>>>
>>>
>>
>>
> 

Re: c client on win32

Posted by Maarten Koopmans <ma...@vrijheid.net>.
Good to know. I'll check on Cygwin 1.7 and switch to Linux otherwise. I 
want to do a quick REBOL binding (so I need to figure out the C calls 
that are "minimal", and preferably have no callback function pointers). 
If I can get ZooKeeper talking via C (or via TCP, but the protocol 
doesn't seem to be specified) from REBOL, I have some very cool things 
coming. But maybe we should talk off-list aboutt that (will be open 
sourced though).

--Maarten

Patrick Hunt schreef:
> 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
>>>
>>>
>>
>
>


Re: c client on win32

Posted by Patrick Hunt <ph...@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
>>
>>
> 

Re: c client on win32

Posted by Maarten Koopmans <ma...@vrijheid.net>.
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
>
>


Re: c client on win32

Posted by Patrick Hunt <ph...@apache.org>.
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