Woodya/node-gzbz2 — Issue #8: node 0.6.0 compatibility
Author: tungj
Created: 2011-11-08 15:47:36+00:00
State: open

node_events.h and the EventEmitter has been removed in node 0.5 and 0.6, which causes the build to fail with
../compress.cc:3: fatal error: node_events.h: No such file or directory.

Would it be possible to update the module to compile against 0.6, now a stable build has been released?

Is there any reason the classes have to extend EventEmitter, since they don't seem to use the Emit method?I've tried to modify it to extend ObjectWrap instead and call setClassName directly, which compiles but gives 'Unable to load shared library' errors; it's probably some mistake I've made.