Commit 1bc25ae6 authored by Woody Anderson's avatar Woody Anderson

bump version, update the docs for building the module

parent 3ed2c4e4
...@@ -169,12 +169,14 @@ The build process is described in details [here](http://hadoop.apache.org/zookee ...@@ -169,12 +169,14 @@ The build process is described in details [here](http://hadoop.apache.org/zookee
Build Build
----- -----
- node-waf configure build [--zookeeper zookeeper-version|prefix-path] - node-waf configure build [--zookeeper zookeeper-version|prefix-path|'']
- node demo1.js - node demo1.js
- cd tests && node zk_test_XYZ.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/ - 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 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). - 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 Limitations
----------- -----------
......
{ {
"name": "zookeeper", "name": "zookeeper",
"description": "apache zookeeper client for node.js (zookeeper async API >= 3.3.1)", "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>", "author": "Yuri Finkelstein <yurif2003@yahoo.com>",
"contributors": [ "contributors": [
{ "name": "Woody Anderson", "email": "woody.anderson@gmail.com"} { "name": "Woody Anderson", "email": "woody.anderson@gmail.com"}
......
...@@ -36,7 +36,7 @@ def zookeeper(ctx, z): ...@@ -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)) 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): def build(bld):
if Options.options.zookeeper != None: if Options.options.zookeeper != '':
zookeeper(bld, Options.options.zookeeper) zookeeper(bld, Options.options.zookeeper)
obj = bld.new_task_gen("cxx", "shlib", "node_addon") obj = bld.new_task_gen("cxx", "shlib", "node_addon")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment