Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventEmitter removed from Node #4

Closed
brentrockwood opened this issue Dec 19, 2011 · 3 comments
Closed

EventEmitter removed from Node #4

brentrockwood opened this issue Dec 19, 2011 · 3 comments

Comments

@brentrockwood
Copy link

EventEmitter has been removed from NodeJs. Therefore, this package no longer builds. Is there any plan to update this module?

Tested on:

  • Node 0.6.6
  • npm 1.0.106

> genx@0.8.3 preinstall /Users/br/Projects/test/node_modules/genx
> node-waf configure build

Setting srcdir to                        : /Users/br/Projects/test/node_modules/genx 
Setting blddir to                        : /Users/br/Projects/test/node_modules/genx/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 /opt/local 
'configure' finished successfully (0.033s)
Waf: Entering directory `/Users/br/Projects/test/node_modules/genx/build'
[1/8] cxx: src/charProps.cc -> build/Release/src/charProps_1.o
[2/8] cxx: src/genx.cc -> build/Release/src/genx_1.o
[3/8] cxx: src/namespace.cc -> build/Release/src/namespace_1.o
[4/8] cxx: src/element.cc -> build/Release/src/element_1.o
../src/genx.cc: In function ‘genxWriter_rec* genxNew(void* (*)(void*, int), void (*)(void*, void*), void*)’:
../src/genx.cc:557: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:558: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:559: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:560: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:561: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:562: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:563: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:564: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:565: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:566: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:567: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:568: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:569: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:570: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:571: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:573: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:575: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:577: warning: deprecated conversion from string constant to ‘char*’
../src/genx.cc:579: warning: deprecated conversion from string constant to ‘char*’
../src/namespace.cc:35:25: error: node_events.h: No such file or directory
[5/8] cxx: src/attribute.cc -> build/Release/src/attribute_1.o
../src/genx.cc: In function ‘char* genxGetVersion()’:
../src/genx.cc:1938: warning: deprecated conversion from string constant to ‘char*’
../src/attribute.cc:35:25: error: node_events.h: No such file or directory
[6/8] cxx: src/writer.cc -> build/Release/src/writer_1.o
[7/8] cxx: src/node-genx.cc -> build/Release/src/node-genx_1.o
In file included from ../src/writer.cc:34:
../src/writer.h:38:25: error: node_events.h: No such file or directory
In file included from ../src/node-genx.cc:38:
../src/writer.h:38:25: error: node_events.h: No such file or directory
In file included from ../src/writer.cc:34:
../src/writer.h:51: error: expected class-name before ‘{’ token
../src/writer.cc: In static member function ‘static void Writer::Initialize(v8::Handle<v8::Object>)’:
../src/writer.cc:44: error: ‘EventEmitter’ has not been declared
../src/writer.cc: In static member function ‘static v8::Handle<v8::Value> Writer::New(const v8::Arguments&)’:
../src/writer.cc:89: error: ‘class Writer’ has no member named ‘Wrap’
../src/writer.cc: In static member function ‘static genxStatus Writer::sender_send(void*, const unsigned char*)’:
../src/writer.cc:592: error: ‘class Writer’ has no member named ‘Emit’
../src/writer.cc: In static member function ‘static genxStatus Writer::sender_sendBounded(void*, const unsigned char*, const unsigned char*)’:
../src/writer.cc:605: error: ‘class Writer’ has no member named ‘Emit’
In file included from ../src/node-genx.cc:38:
../src/writer.h:51: error: expected class-name before ‘{’ token
Waf: Leaving directory `/Users/br/Projects/test/node_modules/genx/build'
Build failed:
 -> task failed (err #1): 
    {task: cxx writer.cc -> writer_1.o}
 -> task failed (err #1): 
    {task: cxx node-genx.cc -> node-genx_1.o}
 -> task failed (err #1): 
    {task: cxx namespace.cc -> namespace_1.o}
 -> task failed (err #1): 
    {task: cxx attribute.cc -> attribute_1.o}
npm ERR! error installing genx@0.8.3 Error: genx@0.8.3 preinstall: `node-waf configure build`
npm ERR! error installing genx@0.8.3 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing genx@0.8.3     at ChildProcess.<anonymous> (/opt/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing genx@0.8.3     at ChildProcess.emit (events.js:70:17)
npm ERR! error installing genx@0.8.3     at maybeExit (child_process.js:359:16)
npm ERR! error installing genx@0.8.3     at Process.onexit (child_process.js:395:5)
npm ERR! genx@0.8.3 preinstall: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR! 
npm ERR! Failed at the genx@0.8.3 preinstall script.
npm ERR! This is most likely a problem with the genx package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls genx
npm ERR! There is likely additional logging output above.
npm ERR! 
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/opt/local/bin/npm" "install" "genx"
npm ERR! cwd /Users/br/Projects/test
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/br/Projects/test/npm-debug.log
npm not ok
@wezm
Copy link
Owner

wezm commented Dec 19, 2011

Thanks for the report. I'll update the package to work with the current node.js version this week.

@wezm
Copy link
Owner

wezm commented Jan 30, 2012

Sorry its taken longer then I said but I've made the changes and pushed to master support for node 0.6. Once I've tested on Linux I'll release a new version.

@wezm
Copy link
Owner

wezm commented Mar 1, 2012

0.9 released

@wezm wezm closed this as completed Mar 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants