how to build an mt version of shared lib for zookeeper under cygwin?

2010-04-07 Thread zd.wbh
hi, all: Is it possible to build an mt version of zookeeper dll lib? I've tried, cygzookeeper_st-2.dll come out successfully, but not zookeeper_mt.dll. Official sites says the st version is for the platform that without a pthread lib or the pthread lib is not stable. Does the cygwin pthread

Re: how to build an mt version of shared lib for zookeeper under cygwin?

2010-04-07 Thread Patrick Hunt
Are you running cygwin 1.7 or 1.5? I believe there was a change btw versions of cygwin on how pthreads was supported. Patrick On 04/07/2010 03:08 AM, zd.wbh wrote: hi, all: Is it possible to build an mt version of zookeeper dll lib? I've tried, cygzookeeper_st-2.dll come out successfully,

Re: Errors while running sytest

2010-04-07 Thread Mahadev Konar
Great. I was just responding with a different soln: '--- Looks like the fatjar does not include junit class. Also, the -jar option does not use the classpath environment variable. Here is an excerpt from the man page of java: -jar Execute a program encapsulated in

Re: Re: how to build an mt version of shared lib for zookeeper under cygwin?

2010-04-07 Thread zd.wbh
likely to be the latest version. I need the sync api but zookeeper_st only provides async interface, do i need any additional libs? I've already installed the pthread stubs pkg-config metadata. $ uname -srv CYGWIN_NT-5.1 1.7.3(0.225/5/3) 2010-04-03 11:26 2010-04-08 Will Are you running

Re: Re: how to build an mt version of shared lib for zookeeper under cygwin?

2010-04-07 Thread zd.wbh
and zookeeper is the latest build too , zookeeper-3.3.0 2010-04-08 Will Are you running cygwin 1.7 or 1.5? I believe there was a change btw versions of cygwin on how pthreads was supported. Patrick On 04/07/2010 03:08 AM, zd.wbh wrote: hi, all: Is it possible to build an mt

Re: how to build an mt version of shared lib for zookeeper under cygwin?

2010-04-07 Thread Patrick Hunt
when you run configure what does it say for pthreads? My cygwin says this: checking for pthread_mutex_lock in -lpthread... yes Do you have pthreads libs in /usr/lib? I see: $ ls /usr/lib/*pth* /usr/lib/libpthread.a* You could also try running configure and the build, capture all the output