Twisol/node-anachronism — Issue #1: Not building on node 0.6.5
Author: ProjectMoon
Created: 2012-01-03 18:59:30+00:00
State: open

```

> anachronism@0.2.0 preinstall /home/jeff/Programs/nmud/node_modules/anachronism
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to : /home/jeff/Programs/nmud/node_modules/anachronism
Setting blddir to : /home/jeff/Programs/nmud/node_modules/anachronism/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 : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.119s)
Waf: Entering directory `/home/jeff/Programs/nmud/node_modules/anachronism/build'
mkdir build
gcc -c -fPIC -Iinclude/ --pedantic -Wall -Wextra -march=native -std=gnu99 src/nvt.c -o build/nvt.o
gcc -c -fPIC -Iinclude/ --pedantic -Wall -Wextra -march=native -std=gnu99 src/parser.c -o build/parser.o
ar rcs build/libanachronism.a build/nvt.o build/parser.o
gcc -shared -Wl,-soname,libanachronism.so.0 -o build/libanachronism.so.0.3.1 build/nvt.o build/parser.o
[1/3] cxx: src/anachronism.cpp -> build/Release/src/anachronism_1.o
[2/3] cxx: src/nvt.cpp -> build/Release/src/nvt_1.o
In file included from ../src/anachronism.cpp:4:0:
../src/nvt.hpp:3:25: fatal error: node_events.h: No such file or directory
compilation terminated.
In file included from ../src/nvt.cpp:5:0:
../src/nvt.hpp:3:25: fatal error: node_events.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/jeff/Programs/nmud/node_modules/anachronism/build'
Build failed:
-> task failed (err #1):
{task: cxx anachronism.cpp -> anachronism_1.o}
-> task failed (err #1):
{task: cxx nvt.cpp -> nvt_1.o}
```

Relevant part is this:

```
In file included from ../src/anachronism.cpp:4:0:
../src/nvt.hpp:3:25: fatal error: node_events.h: No such file or directory
compilation terminated.
In file included from ../src/nvt.cpp:5:0:
../src/nvt.hpp:3:25: fatal error: node_events.h: No such file or directory
```

I'm thinking this is because node::EventEmitter was removed in newer versions.