Permalink
Browse files

bump version, update the docs for building the module

  • Loading branch information...
1 parent 3ed2c4e commit 1bc25ae6bfb49ea91a25bce7a8ca329810efe13b @Woodya Woodya committed Feb 20, 2011
Showing with 7 additions and 5 deletions.
  1. +5 −3 README.md
  2. +1 −1 package.json
  3. +1 −1 wscript
View
@@ -169,12 +169,14 @@ The build process is described in details [here](http://hadoop.apache.org/zookee
Build
-----
-- node-waf configure build [--zookeeper zookeeper-version|prefix-path]
+- node-waf configure build [--zookeeper zookeeper-version|prefix-path|'']
- node demo1.js
- cd tests && node zk_test_XYZ.js
-- note: edit the includes/libpath if you have installed zookeeper C lib anywhere other than /usr/local/
-- note: if you are building on osx and you get a compile error regarding "mmacosx-version-min", uncomment the cxxflags and ldflags for osx in the build function of wscript and try again. I am not sure why this issue arrises for some and not others (anyone with the answer please explain/fix if possible).
+- node: if you wish to build with a specific version of zookeeper C lib, use --zookeeper VERSION (will download/build it) or --zookeeper PATH (if you have downloaded it and possibly made changes etc.)
+- note: if you wish to link against an existing zookeeper lib: use --zoookeeper '', and put your lib/headers it in /usr/local/ (or edit the wscript appropriately)
+- note: if you are building on osx and you get a compile error regarding "mmacosx-version-min", you may need to edit the wscript and remove it (anyone with the answer please explain/fix if possible).
+- note: if you are building on a platform for which the options are not working, please add a specific elif for that platform and create a pull request.
Limitations
-----------
View
@@ -1,7 +1,7 @@
{
"name": "zookeeper",
"description": "apache zookeeper client for node.js (zookeeper async API >= 3.3.1)",
- "version": "3.3.2-2",
+ "version": "3.3.2-3",
"author": "Yuri Finkelstein <yurif2003@yahoo.com>",
"contributors": [
{ "name": "Woody Anderson", "email": "woody.anderson@gmail.com"}
View
@@ -36,7 +36,7 @@ def zookeeper(ctx, z):
ctx.exec_command("mkdir -p zk ; cd %s/src/c && ./configure --without-syncapi --disable-shared --prefix=%s && make clean install"%(z,t))
def build(bld):
- if Options.options.zookeeper != None:
+ if Options.options.zookeeper != '':
zookeeper(bld, Options.options.zookeeper)
obj = bld.new_task_gen("cxx", "shlib", "node_addon")

0 comments on commit 1bc25ae

Please sign in to comment.