huancz/node-snmp — Issue #3: Compile fails - node_events.h issue?
Author: jfmercer
Created: 2012-01-04 20:31:46+00:00
State: open

When I try to compile this module with node 0.6.2 on Ubuntu 10.10, it fails with an error reference to node_events.h. Has node_events.h been removed from node altogether? Based on [what I read here](https://github.com/joyent/node/commits/master/src/node_events.h), that seems to be the case.

Any ideas?

Here is the text of the error:
````
node-waf configure build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/ubuntu/local/node/bin
Checking for node prefix : ok /home/ubuntu/local/node
'configure' finished successfully (0.034s)
Waf: Entering directory `/home/ubuntu/debian/build'
[1/2] cxx: src/snmp_binding.cc -> build/Release/src/snmp_binding_1.o
../src/snmp_binding.cc:24: fatal error: node_events.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/ubuntu/debian/build'
Build failed: -> task failed (err #1):
{task: cxx snmp_binding.cc -> snmp_binding_1.o}
````