Looks like htonll is being redefined and it doesn't like it?
Nothing to clean (project not configured)
Checking for program g++ or c++ : /home/node/local/bin/g++
Checking for program cpp : /home/node/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/node/node_modules:/home/node/local/lib/node_modules:/opt/nodejs/node_modules
Checking for node prefix : ok /opt/nodejs/v0.4.5
'configure' finished successfully (0.058s)
Waf: Entering directory `/home/node/.npm/zookeeper/3.3.3-0/build/node_modules/zookeeper/build'
In file included from /usr/include/netinet/in.h:72,
from /usr/include/sys/socket.h:49,
from src/zookeeper.c:39:
/usr/include/sys/byteorder.h:96: error: conflicting types for 'htonll'
./include/recordio.h:70: error: previous declaration of 'htonll' was here
/usr/include/sys/byteorder.h:96: error: conflicting types for 'htonll'
./include/recordio.h:70: error: previous declaration of 'htonll' was here
src/zookeeper.c: In function `log_env':
src/zookeeper.c:686: error: too many arguments to function `getpwuid_r'
make: *** [zookeeper.lo] Error 1
[1/2] cxx: src/node-zk.cpp -> build/default/src/node-zk_1.o
../src/node-zk.cpp:13:23: zookeeper.h: No such file or directory
In file included from ../src/node-zk.cpp:14:
../src/zk_log.h:28: error: `ZOOAPI' does not name a type
../src/zk_log.h:40: error: expected constructor, destructor, or type conversion before "void"
../src/zk_log.h:43: error: expected constructor, destructor, or type conversion before "const"
../src/node-zk.cpp:309: error: `zhandle_t' has not been declared
../src/node-zk.cpp:309: error: ISO C++ forbids declaration of `zzh' with no type
../src/node-zk.cpp:533: error: `zhandle_t' has not been declared
../src/node-zk.cpp:533: error: ISO C++ forbids declaration of `zh' with no type
../src/node-zk.cpp:696: error: ISO C++ forbids declaration of `zhandle_t' with no type
../src/node-zk.cpp:696: error: expected `;' before '*' token
../src/node-zk.cpp:697: error: `clientid_t' does not name a type
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::Initialize(v8::Handle<v8::Object>)':
../src/node-zk.cpp:88: error: `ZOO_CREATED_EVENT' was not declared in this scope
../src/node-zk.cpp:89: error: `ZOO_DELETED_EVENT' was not declared in this scope
../src/node-zk.cpp:90: error: `ZOO_CHANGED_EVENT' was not declared in this scope
../src/node-zk.cpp:91: error: `ZOO_CHILD_EVENT' was not declared in this scope
../src/node-zk.cpp:92: error: `ZOO_SESSION_EVENT' was not declared in this scope
../src/node-zk.cpp:93: error: `ZOO_NOTWATCHING_EVENT' was not declared in this scope
../src/node-zk.cpp:95: error: `ZOO_PERM_READ' was not declared in this scope
../src/node-zk.cpp:96: error: `ZOO_PERM_WRITE' was not declared in this scope
../src/node-zk.cpp:97: error: `ZOO_PERM_CREATE' was not declared in this scope
../src/node-zk.cpp:98: error: `ZOO_PERM_DELETE' was not declared in this scope
../src/node-zk.cpp:99: error: `ZOO_PERM_ADMIN' was not declared in this scope
../src/node-zk.cpp:100: error: `ZOO_PERM_ALL' was not declared in this scope
../src/node-zk.cpp:109: error: `ZOOKEEPER_WRITE' was not declared in this scope
../src/node-zk.cpp:110: error: `ZOOKEEPER_READ' was not declared in this scope
../src/node-zk.cpp:112: error: `ZOO_EPHEMERAL' was not declared in this scope
../src/node-zk.cpp:113: error: `ZOO_SEQUENCE' was not declared in this scope
../src/node-zk.cpp:114: error: `ZOO_EXPIRED_SESSION_STATE' was not declared in this scope
../src/node-zk.cpp:115: error: `ZOO_AUTH_FAILED_STATE' was not declared in this scope
../src/node-zk.cpp:116: error: `ZOO_CONNECTING_STATE' was not declared in this scope
../src/node-zk.cpp:117: error: `ZOO_ASSOCIATING_STATE' was not declared in this scope
../src/node-zk.cpp:118: error: `ZOO_CONNECTED_STATE' was not declared in this scope
../src/node-zk.cpp:127: error: `ZOO_LOG_LEVEL_ERROR' was not declared in this scope
../src/node-zk.cpp:128: error: `ZOO_LOG_LEVEL_WARN' was not declared in this scope
../src/node-zk.cpp:129: error: `ZOO_LOG_LEVEL_INFO' was not declared in this scope
../src/node-zk.cpp:130: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:139: error: `ZOK' was not declared in this scope
../src/node-zk.cpp:145: error: `ZSYSTEMERROR' was not declared in this scope
../src/node-zk.cpp:146: error: `ZRUNTIMEINCONSISTENCY' was not declared in this scope
../src/node-zk.cpp:147: error: `ZDATAINCONSISTENCY' was not declared in this scope
../src/node-zk.cpp:148: error: `ZCONNECTIONLOSS' was not declared in this scope
../src/node-zk.cpp:149: error: `ZMARSHALLINGERROR' was not declared in this scope
../src/node-zk.cpp:150: error: `ZUNIMPLEMENTED' was not declared in this scope
../src/node-zk.cpp:151: error: `ZOPERATIONTIMEOUT' was not declared in this scope
../src/node-zk.cpp:152: error: `ZBADARGUMENTS' was not declared in this scope
../src/node-zk.cpp:153: error: `ZINVALIDSTATE' was not declared in this scope
../src/node-zk.cpp:161: error: `ZAPIERROR' was not declared in this scope
../src/node-zk.cpp:162: error: `ZNONODE' was not declared in this scope
../src/node-zk.cpp:163: error: `ZNOAUTH' was not declared in this scope
../src/node-zk.cpp:164: error: `ZBADVERSION' was not declared in this scope
../src/node-zk.cpp:165: error: `ZNOCHILDRENFOREPHEMERALS' was not declared in this scope
../src/node-zk.cpp:166: error: `ZNODEEXISTS' was not declared in this scope
../src/node-zk.cpp:167: error: `ZNOTEMPTY' was not declared in this scope
../src/node-zk.cpp:168: error: `ZSESSIONEXPIRED' was not declared in this scope
../src/node-zk.cpp:169: error: `ZINVALIDCALLBACK' was not declared in this scope
../src/node-zk.cpp:170: error: `ZINVALIDACL' was not declared in this scope
../src/node-zk.cpp:171: error: `ZAUTHFAILED' was not declared in this scope
../src/node-zk.cpp:172: error: `ZCLOSING' was not declared in this scope
../src/node-zk.cpp:173: error: `ZNOTHING' was not declared in this scope
../src/node-zk.cpp:174: error: `ZSESSIONMOVED' was not declared in this scope
../src/node-zk.cpp:95: warning: unused variable 'ZOO_PERM_READ'
../src/node-zk.cpp:96: warning: unused variable 'ZOO_PERM_WRITE'
../src/node-zk.cpp:97: warning: unused variable 'ZOO_PERM_CREATE'
../src/node-zk.cpp:98: warning: unused variable 'ZOO_PERM_DELETE'
../src/node-zk.cpp:99: warning: unused variable 'ZOO_PERM_ADMIN'
../src/node-zk.cpp:100: warning: unused variable 'ZOO_PERM_ALL'
../src/node-zk.cpp:109: warning: unused variable 'ZOOKEEPER_WRITE'
../src/node-zk.cpp:110: warning: unused variable 'ZOOKEEPER_READ'
../src/node-zk.cpp:112: warning: unused variable 'ZOO_EPHEMERAL'
../src/node-zk.cpp:113: warning: unused variable 'ZOO_SEQUENCE'
../src/node-zk.cpp:127: warning: unused variable 'ZOO_LOG_LEVEL_ERROR'
../src/node-zk.cpp:128: warning: unused variable 'ZOO_LOG_LEVEL_WARN'
../src/node-zk.cpp:129: warning: unused variable 'ZOO_LOG_LEVEL_INFO'
../src/node-zk.cpp:130: warning: unused variable 'ZOO_LOG_LEVEL_DEBUG'
../src/node-zk.cpp:139: warning: unused variable 'ZOK'
../src/node-zk.cpp:145: warning: unused variable 'ZSYSTEMERROR'
../src/node-zk.cpp:146: warning: unused variable 'ZRUNTIMEINCONSISTENCY'
../src/node-zk.cpp:147: warning: unused variable 'ZDATAINCONSISTENCY'
../src/node-zk.cpp:148: warning: unused variable 'ZCONNECTIONLOSS'
../src/node-zk.cpp:149: warning: unused variable 'ZMARSHALLINGERROR'
../src/node-zk.cpp:150: warning: unused variable 'ZUNIMPLEMENTED'
../src/node-zk.cpp:151: warning: unused variable 'ZOPERATIONTIMEOUT'
../src/node-zk.cpp:152: warning: unused variable 'ZBADARGUMENTS'
../src/node-zk.cpp:153: warning: unused variable 'ZINVALIDSTATE'
../src/node-zk.cpp:161: warning: unused variable 'ZAPIERROR'
../src/node-zk.cpp:162: warning: unused variable 'ZNONODE'
../src/node-zk.cpp:163: warning: unused variable 'ZNOAUTH'
../src/node-zk.cpp:164: warning: unused variable 'ZBADVERSION'
../src/node-zk.cpp:165: warning: unused variable 'ZNOCHILDRENFOREPHEMERALS'
../src/node-zk.cpp:166: warning: unused variable 'ZNODEEXISTS'
../src/node-zk.cpp:167: warning: unused variable 'ZNOTEMPTY'
../src/node-zk.cpp:168: warning: unused variable 'ZSESSIONEXPIRED'
../src/node-zk.cpp:169: warning: unused variable 'ZINVALIDCALLBACK'
../src/node-zk.cpp:170: warning: unused variable 'ZINVALIDACL'
../src/node-zk.cpp:171: warning: unused variable 'ZAUTHFAILED'
../src/node-zk.cpp:172: warning: unused variable 'ZCLOSING'
../src/node-zk.cpp:173: warning: unused variable 'ZNOTHING'
../src/node-zk.cpp:174: warning: unused variable 'ZSESSIONMOVED'
../src/node-zk.cpp: In member function `void zk::ZooKeeper::yield()':
../src/node-zk.cpp:211: error: `zhandle' was not declared in this scope
../src/node-zk.cpp:211: error: `zookeeper_interest' was not declared in this scope
../src/node-zk.cpp:212: error: `ZOK' was not declared in this scope
../src/node-zk.cpp:213: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:213: error: `ZOO_LOG_LEVEL_ERROR' was not declared in this scope
../src/node-zk.cpp:213: error: `zerror' was not declared in this scope
../src/node-zk.cpp:213: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:213: error: `log_message' was not declared in this scope
../src/node-zk.cpp:213: warning: unused variable 'zerror'
../src/node-zk.cpp:213: warning: unused variable 'format_log_message'
../src/node-zk.cpp:213: warning: unused variable 'log_message'
../src/node-zk.cpp:213: warning: unused variable 'logLevel'
../src/node-zk.cpp:212: warning: unused variable 'ZOK'
../src/node-zk.cpp:217: error: `ZOOKEEPER_READ' was not declared in this scope
../src/node-zk.cpp:217: error: `ZOOKEEPER_WRITE' was not declared in this scope
../src/node-zk.cpp:225: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:225: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:225: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:225: error: `log_message' was not declared in this scope
../src/node-zk.cpp:225: warning: unused variable 'format_log_message'
../src/node-zk.cpp:225: warning: unused variable 'log_message'
../src/node-zk.cpp:225: warning: unused variable 'logLevel'
../src/node-zk.cpp:217: warning: unused variable 'ZOOKEEPER_READ'
../src/node-zk.cpp:217: warning: unused variable 'ZOOKEEPER_WRITE'
../src/node-zk.cpp:228: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:228: error: `ZOO_LOG_LEVEL_WARN' was not declared in this scope
../src/node-zk.cpp:228: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:228: error: `log_message' was not declared in this scope
../src/node-zk.cpp:228: warning: unused variable 'format_log_message'
../src/node-zk.cpp:228: warning: unused variable 'log_message'
../src/node-zk.cpp:228: warning: unused variable 'logLevel'
../src/node-zk.cpp:211: warning: unused variable 'zhandle'
../src/node-zk.cpp:211: warning: unused variable 'zookeeper_interest'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::zk_io_cb(ev_io*, int)':
../src/node-zk.cpp:234: error: `ZOOKEEPER_READ' was not declared in this scope
../src/node-zk.cpp:234: error: `ZOOKEEPER_WRITE' was not declared in this scope
../src/node-zk.cpp:235: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:235: error: `zookeeper_process' was not declared in this scope
../src/node-zk.cpp:236: error: `ZOK' was not declared in this scope
../src/node-zk.cpp:237: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:237: error: `ZOO_LOG_LEVEL_ERROR' was not declared in this scope
../src/node-zk.cpp:237: error: `zerror' was not declared in this scope
../src/node-zk.cpp:237: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:237: error: `log_message' was not declared in this scope
../src/node-zk.cpp:237: warning: unused variable 'zerror'
../src/node-zk.cpp:237: warning: unused variable 'format_log_message'
../src/node-zk.cpp:237: warning: unused variable 'log_message'
../src/node-zk.cpp:237: warning: unused variable 'logLevel'
../src/node-zk.cpp:236: warning: unused variable 'ZOK'
../src/node-zk.cpp:234: warning: unused variable 'ZOOKEEPER_READ'
../src/node-zk.cpp:234: warning: unused variable 'ZOOKEEPER_WRITE'
../src/node-zk.cpp:235: warning: unused variable 'zookeeper_process'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::zk_timer_cb(ev_timer*, int)':
../src/node-zk.cpp:251: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:251: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:251: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:251: error: `log_message' was not declared in this scope
../src/node-zk.cpp:251: warning: unused variable 'format_log_message'
../src/node-zk.cpp:251: warning: unused variable 'log_message'
../src/node-zk.cpp:251: warning: unused variable 'logLevel'
../src/node-zk.cpp:260: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:260: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:260: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:260: error: `log_message' was not declared in this scope
../src/node-zk.cpp:260: warning: unused variable 'format_log_message'
../src/node-zk.cpp:260: warning: unused variable 'log_message'
../src/node-zk.cpp:260: warning: unused variable 'logLevel'
../src/node-zk.cpp: In member function `bool zk::ZooKeeper::realInit(const char*, int)':
../src/node-zk.cpp:265: error: `zhandle' was not declared in this scope
../src/node-zk.cpp:265: error: `myid' was not declared in this scope
../src/node-zk.cpp:265: error: `zookeeper_init' was not declared in this scope
../src/node-zk.cpp:267: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:267: error: `ZOO_LOG_LEVEL_ERROR' was not declared in this scope
../src/node-zk.cpp:267: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:267: error: `log_message' was not declared in this scope
../src/node-zk.cpp:267: warning: unused variable 'format_log_message'
../src/node-zk.cpp:267: warning: unused variable 'log_message'
../src/node-zk.cpp:267: warning: unused variable 'logLevel'
../src/node-zk.cpp:265: warning: unused variable 'myid'
../src/node-zk.cpp:265: warning: unused variable 'zookeeper_init'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::Init(const v8::Arguments&)':
../src/node-zk.cpp:287: error: `ZooLogLevel' has not been declared
../src/node-zk.cpp:287: error: `zoo_set_debug_level' was not declared in this scope
../src/node-zk.cpp:290: error: `zoo_deterministic_conn_order' was not declared in this scope
../src/node-zk.cpp:287: warning: unused variable 'zoo_set_debug_level'
../src/node-zk.cpp:290: warning: unused variable 'zoo_deterministic_conn_order'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::main_watcher(int*, int, int, const char*, void*)':
../src/node-zk.cpp:310: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:310: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:310: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:310: error: `log_message' was not declared in this scope
../src/node-zk.cpp:310: warning: unused variable 'format_log_message'
../src/node-zk.cpp:310: warning: unused variable 'log_message'
../src/node-zk.cpp:310: warning: unused variable 'logLevel'
../src/node-zk.cpp:313: error: `ZOO_SESSION_EVENT' was not declared in this scope
../src/node-zk.cpp:314: error: `ZOO_CONNECTED_STATE' was not declared in this scope
../src/node-zk.cpp:315: error: 'class zk::ZooKeeper' has no member named 'myid'
../src/node-zk.cpp:315: error: `zoo_client_id' was not declared in this scope
../src/node-zk.cpp:315: warning: unused variable 'zoo_client_id'
../src/node-zk.cpp:317: error: `ZOO_AUTH_FAILED_STATE' was not declared in this scope
../src/node-zk.cpp:318: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:318: error: `ZOO_LOG_LEVEL_ERROR' was not declared in this scope
../src/node-zk.cpp:318: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:318: error: `log_message' was not declared in this scope
../src/node-zk.cpp:318: warning: unused variable 'format_log_message'
../src/node-zk.cpp:318: warning: unused variable 'log_message'
../src/node-zk.cpp:318: warning: unused variable 'logLevel'
../src/node-zk.cpp:320: error: `ZOO_EXPIRED_SESSION_STATE' was not declared in this scope
../src/node-zk.cpp:321: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:321: error: `ZOO_LOG_LEVEL_ERROR' was not declared in this scope
../src/node-zk.cpp:321: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:321: error: `log_message' was not declared in this scope
../src/node-zk.cpp:321: warning: unused variable 'format_log_message'
../src/node-zk.cpp:321: warning: unused variable 'log_message'
../src/node-zk.cpp:321: warning: unused variable 'logLevel'
../src/node-zk.cpp:320: warning: unused variable 'ZOO_EXPIRED_SESSION_STATE'
../src/node-zk.cpp:317: warning: unused variable 'ZOO_AUTH_FAILED_STATE'
../src/node-zk.cpp:314: warning: unused variable 'ZOO_CONNECTED_STATE'
../src/node-zk.cpp:324: error: `ZOO_CREATED_EVENT' was not declared in this scope
../src/node-zk.cpp:326: error: `ZOO_DELETED_EVENT' was not declared in this scope
../src/node-zk.cpp:328: error: `ZOO_CHANGED_EVENT' was not declared in this scope
../src/node-zk.cpp:330: error: `ZOO_CHILD_EVENT' was not declared in this scope
../src/node-zk.cpp:332: error: `ZOO_NOTWATCHING_EVENT' was not declared in this scope
../src/node-zk.cpp:335: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:335: error: `ZOO_LOG_LEVEL_WARN' was not declared in this scope
../src/node-zk.cpp:335: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:335: error: `log_message' was not declared in this scope
../src/node-zk.cpp:335: warning: unused variable 'format_log_message'
../src/node-zk.cpp:335: warning: unused variable 'log_message'
../src/node-zk.cpp:335: warning: unused variable 'logLevel'
../src/node-zk.cpp:332: warning: unused variable 'ZOO_NOTWATCHING_EVENT'
../src/node-zk.cpp:330: warning: unused variable 'ZOO_CHILD_EVENT'
../src/node-zk.cpp:328: warning: unused variable 'ZOO_CHANGED_EVENT'
../src/node-zk.cpp:326: warning: unused variable 'ZOO_DELETED_EVENT'
../src/node-zk.cpp:324: warning: unused variable 'ZOO_CREATED_EVENT'
../src/node-zk.cpp:313: warning: unused variable 'ZOO_SESSION_EVENT'
../src/node-zk.cpp: In member function `void zk::ZooKeeper::DoEmit(v8::Handle<v8::String>, const char*)':
../src/node-zk.cpp:352: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:352: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:352: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:352: error: `log_message' was not declared in this scope
../src/node-zk.cpp:352: warning: unused variable 'format_log_message'
../src/node-zk.cpp:352: warning: unused variable 'log_message'
../src/node-zk.cpp:352: warning: unused variable 'logLevel'
../src/node-zk.cpp:355: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:355: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:355: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:355: error: `log_message' was not declared in this scope
../src/node-zk.cpp:355: warning: unused variable 'format_log_message'
../src/node-zk.cpp:355: warning: unused variable 'log_message'
../src/node-zk.cpp:355: warning: unused variable 'logLevel'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::string_completion(int, const char*, const void*)':
../src/node-zk.cpp:437: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:437: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:437: error: `zerror' was not declared in this scope
../src/node-zk.cpp:437: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:437: error: `log_message' was not declared in this scope
../src/node-zk.cpp:437: warning: unused variable 'zerror'
../src/node-zk.cpp:437: warning: unused variable 'format_log_message'
../src/node-zk.cpp:437: warning: unused variable 'log_message'
../src/node-zk.cpp:437: warning: unused variable 'logLevel'
../src/node-zk.cpp:438: error: `zerror' was not declared in this scope
../src/node-zk.cpp:438: warning: unused variable 'zerror'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::ACreate(const v8::Arguments&)':
../src/node-zk.cpp:449: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:449: error: `ZOO_OPEN_ACL_UNSAFE' was not declared in this scope
../src/node-zk.cpp:449: error: `zoo_acreate' was not declared in this scope
../src/node-zk.cpp:449: warning: unused variable 'ZOO_OPEN_ACL_UNSAFE'
../src/node-zk.cpp:449: warning: unused variable 'zoo_acreate'
../src/node-zk.cpp:452: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:452: error: `ZOO_OPEN_ACL_UNSAFE' was not declared in this scope
../src/node-zk.cpp:452: error: `zoo_acreate' was not declared in this scope
../src/node-zk.cpp:452: warning: unused variable 'ZOO_OPEN_ACL_UNSAFE'
../src/node-zk.cpp:452: warning: unused variable 'zoo_acreate'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::void_completion(int, const void*)':
../src/node-zk.cpp:457: error: `zerror' was not declared in this scope
../src/node-zk.cpp:458: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:458: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:458: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:458: error: `log_message' was not declared in this scope
../src/node-zk.cpp:458: warning: unused variable 'format_log_message'
../src/node-zk.cpp:458: warning: unused variable 'log_message'
../src/node-zk.cpp:458: warning: unused variable 'logLevel'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::ADelete(const v8::Arguments&)':
../src/node-zk.cpp:466: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:466: error: `zoo_adelete' was not declared in this scope
../src/node-zk.cpp:466: warning: unused variable 'zoo_adelete'
../src/node-zk.cpp: In member function `v8::Local<v8::Object> zk::ZooKeeper::createStatObject(const zk::Stat*)':
../src/node-zk.cpp:472: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:473: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:474: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:475: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:476: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:477: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:478: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:479: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:480: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:481: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:482: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:483: error: `myid' was not declared in this scope
../src/node-zk.cpp:483: error: invalid use of undefined type `const struct zk::Stat'
../src/node-zk.cpp:469: error: forward declaration of `const struct zk::Stat'
../src/node-zk.cpp:483: warning: unused variable 'myid'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::stat_completion(int, const zk::Stat*, const void*)':
../src/node-zk.cpp:488: error: `zerror' was not declared in this scope
../src/node-zk.cpp:489: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:489: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:489: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:489: error: `log_message' was not declared in this scope
../src/node-zk.cpp:489: warning: unused variable 'format_log_message'
../src/node-zk.cpp:489: warning: unused variable 'log_message'
../src/node-zk.cpp:489: warning: unused variable 'logLevel'
../src/node-zk.cpp:490: error: `ZOK' was not declared in this scope
../src/node-zk.cpp:490: warning: unused variable 'ZOK'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AExists(const v8::Arguments&)':
../src/node-zk.cpp:498: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:498: error: `zoo_aexists' was not declared in this scope
../src/node-zk.cpp:498: warning: unused variable 'zoo_aexists'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AWExists(const v8::Arguments&)':
../src/node-zk.cpp:504: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:504: error: `zoo_awexists' was not declared in this scope
../src/node-zk.cpp:504: warning: unused variable 'zoo_awexists'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::data_completion(int, const char*, int, const zk::Stat*, const void*)':
../src/node-zk.cpp:509: error: `zerror' was not declared in this scope
../src/node-zk.cpp:510: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:510: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:510: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:510: error: `log_message' was not declared in this scope
../src/node-zk.cpp:510: warning: unused variable 'format_log_message'
../src/node-zk.cpp:510: warning: unused variable 'log_message'
../src/node-zk.cpp:510: warning: unused variable 'logLevel'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AGet(const v8::Arguments&)':
../src/node-zk.cpp:530: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:530: error: `zoo_aget' was not declared in this scope
../src/node-zk.cpp:530: warning: unused variable 'zoo_aget'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::watcher_fn(int*, int, int, const char*, void*)':
../src/node-zk.cpp:534: error: `zoo_state' was not declared in this scope
../src/node-zk.cpp:534: error: `ZOO_EXPIRED_SESSION_STATE' was not declared in this scope
../src/node-zk.cpp:534: warning: unused variable 'zoo_state'
../src/node-zk.cpp:534: warning: unused variable 'ZOO_EXPIRED_SESSION_STATE'
../src/node-zk.cpp:534: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AWGet(const v8::Arguments&)':
../src/node-zk.cpp:541: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:541: error: `zoo_awget' was not declared in this scope
../src/node-zk.cpp:541: warning: unused variable 'zoo_awget'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::ASet(const v8::Arguments&)':
../src/node-zk.cpp:551: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:551: error: `zoo_aset' was not declared in this scope
../src/node-zk.cpp:551: warning: unused variable 'zoo_aset'
../src/node-zk.cpp:554: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:554: error: `zoo_aset' was not declared in this scope
../src/node-zk.cpp:554: warning: unused variable 'zoo_aset'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::strings_completion(int, const zk::String_vector*, const void*)':
../src/node-zk.cpp:560: error: `zerror' was not declared in this scope
../src/node-zk.cpp:561: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:561: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:561: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:561: error: `log_message' was not declared in this scope
../src/node-zk.cpp:561: warning: unused variable 'format_log_message'
../src/node-zk.cpp:561: warning: unused variable 'log_message'
../src/node-zk.cpp:561: warning: unused variable 'logLevel'
../src/node-zk.cpp:562: error: invalid use of undefined type `const struct zk::String_vector'
../src/node-zk.cpp:559: error: forward declaration of `const struct zk::String_vector'
../src/node-zk.cpp:563: error: invalid use of undefined type `const struct zk::String_vector'
../src/node-zk.cpp:559: error: forward declaration of `const struct zk::String_vector'
../src/node-zk.cpp:564: error: invalid use of undefined type `const struct zk::String_vector'
../src/node-zk.cpp:559: error: forward declaration of `const struct zk::String_vector'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AGetChildren(const v8::Arguments&)':
../src/node-zk.cpp:574: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:574: error: `zoo_aget_children' was not declared in this scope
../src/node-zk.cpp:574: warning: unused variable 'zoo_aget_children'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AWGetChildren(const v8::Arguments&)':
../src/node-zk.cpp:580: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:580: error: `zoo_awget_children' was not declared in this scope
../src/node-zk.cpp:580: warning: unused variable 'zoo_awget_children'
../src/node-zk.cpp: In static member function `static void zk::ZooKeeper::strings_stat_completion(int, const zk::String_vector*, const zk::Stat*, const void*)':
../src/node-zk.cpp:585: error: `zerror' was not declared in this scope
../src/node-zk.cpp:586: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:586: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:586: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:586: error: `log_message' was not declared in this scope
../src/node-zk.cpp:586: warning: unused variable 'format_log_message'
../src/node-zk.cpp:586: warning: unused variable 'log_message'
../src/node-zk.cpp:586: warning: unused variable 'logLevel'
../src/node-zk.cpp:587: error: invalid use of undefined type `const struct zk::String_vector'
../src/node-zk.cpp:559: error: forward declaration of `const struct zk::String_vector'
../src/node-zk.cpp:588: error: invalid use of undefined type `const struct zk::String_vector'
../src/node-zk.cpp:559: error: forward declaration of `const struct zk::String_vector'
../src/node-zk.cpp:589: error: invalid use of undefined type `const struct zk::String_vector'
../src/node-zk.cpp:559: error: forward declaration of `const struct zk::String_vector'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AGetChildren2(const v8::Arguments&)':
../src/node-zk.cpp:600: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:600: error: `zoo_aget_children2' was not declared in this scope
../src/node-zk.cpp:600: warning: unused variable 'zoo_aget_children2'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::AWGetChildren2(const v8::Arguments&)':
../src/node-zk.cpp:606: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:606: error: `zoo_awget_children2' was not declared in this scope
../src/node-zk.cpp:606: warning: unused variable 'zoo_awget_children2'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::StatePropertyGetter(v8::Local<v8::String>, const v8::AccessorInfo&)':
../src/node-zk.cpp:618: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:618: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:618: error: `zoo_state' was not declared in this scope
../src/node-zk.cpp:618: warning: unused variable 'zoo_state'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::ClientidPropertyGetter(v8::Local<v8::String>, const v8::AccessorInfo&)':
../src/node-zk.cpp:626: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:627: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:627: error: `zoo_client_id' was not declared in this scope
../src/node-zk.cpp:627: error: 'class zk::ZooKeeper' has no member named 'myid'
../src/node-zk.cpp:627: warning: unused variable 'zoo_client_id'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::SessionTimeoutPropertyGetter(v8::Local<v8::String>, const v8::AccessorInfo&)':
../src/node-zk.cpp:634: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:634: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:634: error: `zoo_recv_timeout' was not declared in this scope
../src/node-zk.cpp:634: warning: unused variable 'zoo_recv_timeout'
../src/node-zk.cpp: In static member function `static v8::Handle<v8::Value> zk::ZooKeeper::IsUnrecoverablePropertyGetter(v8::Local<v8::String>, const v8::AccessorInfo&)':
../src/node-zk.cpp:641: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:641: error: 'class zk::ZooKeeper' has no member named 'zhandle'
../src/node-zk.cpp:641: error: `is_unrecoverable' was not declared in this scope
../src/node-zk.cpp:641: warning: unused variable 'is_unrecoverable'
../src/node-zk.cpp: In member function `void zk::ZooKeeper::realClose()':
../src/node-zk.cpp:663: error: `zhandle' was not declared in this scope
../src/node-zk.cpp:664: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:664: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:664: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:664: error: `log_message' was not declared in this scope
../src/node-zk.cpp:664: warning: unused variable 'format_log_message'
../src/node-zk.cpp:664: warning: unused variable 'log_message'
../src/node-zk.cpp:664: warning: unused variable 'logLevel'
../src/node-zk.cpp:665: error: `zookeeper_close' was not declared in this scope
../src/node-zk.cpp:665: warning: unused variable 'zookeeper_close'
../src/node-zk.cpp:668: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:668: error: `ZOO_LOG_LEVEL_DEBUG' was not declared in this scope
../src/node-zk.cpp:668: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:668: error: `log_message' was not declared in this scope
../src/node-zk.cpp:668: warning: unused variable 'format_log_message'
../src/node-zk.cpp:668: warning: unused variable 'log_message'
../src/node-zk.cpp:668: warning: unused variable 'logLevel'
../src/node-zk.cpp: In destructor `virtual zk::ZooKeeper::~ZooKeeper()':
../src/node-zk.cpp:685: error: `logLevel' was not declared in this scope
../src/node-zk.cpp:685: error: `ZOO_LOG_LEVEL_INFO' was not declared in this scope
../src/node-zk.cpp:685: error: `format_log_message' was not declared in this scope
../src/node-zk.cpp:685: error: `log_message' was not declared in this scope
../src/node-zk.cpp:685: warning: unused variable 'format_log_message'
../src/node-zk.cpp:685: warning: unused variable 'log_message'
../src/node-zk.cpp:685: warning: unused variable 'logLevel'
../src/node-zk.cpp: In constructor `zk::ZooKeeper::ZooKeeper()':
../src/node-zk.cpp:690: error: class `zk::ZooKeeper' does not have any field named `zhandle'
../src/node-zk.cpp:691: error: `myid' was not declared in this scope
../src/node-zk.cpp:691: error: `bzero' was not declared in this scope
Waf: Leaving directory `/home/node/.npm/zookeeper/3.3.3-0/build/node_modules/zookeeper/build'
Build failed: -> task failed (err #1):
{task: cxx node-zk.cpp -> node-zk_1.o}
npm ERR! error installing zookeeper@3.3.3-0 Error: zookeeper@3.3.3-0 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing zookeeper@3.3.3-0 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing zookeeper@3.3.3-0 at ChildProcess.<anonymous> (/home/node/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing zookeeper@3.3.3-0 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing zookeeper@3.3.3-0 at ChildProcess.onexit (child_process.js:192:12)
npm WARN prebuild failed 0.4-sunos-5.11 zookeeper@3.3.3-0 preinstall: `node-waf clean || true; node-waf configure build`
npm WARN prebuild failed 0.4-sunos-5.11 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
Looks like htonll is being redefined and it doesn't like it?