Re: Error running contrib tests

2009-11-24 Thread Erik Holstad
Yeah, i like that approach better. Will do. Erik

Re: Error running contrib tests

2009-11-24 Thread Patrick Hunt
Yes, that was my thinking as well - something like configure does (autotools) where it will tell you some details after calling it (although in this case the output is after install). Sounds good! Patrick Mahadev Konar wrote: I would suggest adding it to the readme no? Modifying /etc files

Re: Error running contrib tests

2009-11-23 Thread Erik Holstad
Sorry that it took so long, but I ran into trouble when trying out trunk instead of 3.2.1. It has nothing to do with the zookeeper code, I think, but more with my environment. After switching to trunk, I got back the original error and have been struggling with it since. I'm running on Fedora9.

Re: Error running contrib tests

2009-11-23 Thread Erik Holstad
Have been messing around to try to get it included in the setup.py script. But not sure if it is good to have it there since writing to /usr/ld.so.conf and reloading the /sbin/ldconfig requires sudo status. But on the other hand that is needed to install from the beginning. I could add something

Re: Error running contrib tests

2009-11-20 Thread Erik Holstad
Hey! I have been working with the zkpython module for that last couple of weeks. After the initial problem with ImportError: libzookeeper_mt.so.2: cannot open shared object file: No such file or directory I just added LD_LIBRARY_PATH=/usr/local/lib to the .bashrc file and everything worked

Re: Error running contrib tests

2009-11-20 Thread Patrick Hunt
What version of ZooKeeper is this? If it's 3.2.1 take a look at this: binding fixes in 3.2.2 https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310801component=12312860fixfor=12314335resolution=1sorter/field=prioritysorter/order=DESC You might give the 3.2 branch (in svn)

Re: Error running contrib tests

2009-09-23 Thread Henry Robinson
Hi Erik - Notwithstanding the test issue (which, as Patrick says, is a bit tricky to get running and caused by a slightly different issue) - it seems that Python can't find the C ZooKeeper library which is a requirement for the Python module. If you compiled the C library as usual then then

Error running contrib tests

2009-09-22 Thread Erik Holstad
Hi! I am trying out the python bindings and I followed the guide on http://www.cloudera.com/blog/2009/05/28/building-a-distributed-concurrent-queue-with-apache-zookeeper/ Everything worked fine until the last step: Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:56) [GCC 4.3.0 20080428 (Red Hat