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

Build failed #7

Open
ghost opened this issue Jun 24, 2011 · 6 comments
Open

Build failed #7

ghost opened this issue Jun 24, 2011 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 24, 2011

../src/zlib.h:90:52: error: ‘class node::Buffer’ has no member named ‘data’
../src/zlib.h:90:52: error: ‘class node::Buffer’ has no member named ‘length’
/usr/local/include/node/ev/ev.h: At global scope:
/usr/local/include/node/ev/ev.h:565:1: warning: ‘ev_tstamp ev_now()’ defined but not used
/usr/local/include/node/ev/ev.h:574:1: warning: ‘int ev_is_default_loop()’ defined but not used
/usr/local/include/node/ev/ev.h:810:20: warning: ‘void ev_loop(int)’ defined but not used
/usr/local/include/node/ev/ev.h:811:20: warning: ‘void ev_unloop(int)’ defined but not used
/usr/local/include/node/ev/ev.h:812:20: warning: ‘void ev_default_destroy()’ defined but not used
/usr/local/include/node/ev/ev.h:813:20: warning: ‘void ev_default_fork()’ defined but not used
/usr/local/include/node/ev/ev.h:815:30: warning: ‘unsigned int ev_loop_count()’ defined but not used
/usr/local/include/node/ev/ev.h:816:30: warning: ‘unsigned int ev_loop_depth()’ defined but not used
/usr/local/include/node/ev/ev.h:817:30: warning: ‘void ev_loop_verify()’ defined but not used
Waf: Leaving directory `/home/hynese/backopt/node-compress/build'
Build failed: -> task failed (err #1):
{task: cxx compress.cc -> compress_1.o}

Can someone please let me know what's going on here?

I'm using node v0.5.0-pre

@ghost
Copy link
Author

ghost commented Jun 24, 2011

Tried on node v0.4.8 and it also failed.

On Ubuntu 11.04 32-bit

@ghost
Copy link
Author

ghost commented Jun 24, 2011

Actually, it's working on v0.4.8 - I just had to delete the node-compress directory, download again and reinstall.

@bdickason
Copy link

I'm also not able to install compress on osx Lion/Node v0.5.3 which is causing issues with the 'gzippo' library.

Here's the stack trace:
http://pastebin.com/HB1ct6wY

@bdickason
Copy link

May be related to this change in node v0.5.x:
nodejs/node-v0.x-archive@4ef8f06#src/node_events.h

@JonDum
Copy link

JonDum commented Sep 15, 2011

Getting the same error as bdicaskon.

'configure' finished successfully (0.536s) Waf: Entering directory /Users/JD/Desktop/Friendly-Resume/nomoco-website/node_modules/gzippo/node_modules/compress/build' [1/2] cxx: compress.cc -> build/default/compress_1.o ../compress.cc:2:25: error: node_events.h: No such file or directory ../compress.cc:14: error: expected class-name before ‘{’ token ../compress.cc: In static member function ‘static void Gzip::Initialize(v8::Handle<v8::Object>)’: ../compress.cc:23: error: ‘EventEmitter’ has not been declared ../compress.cc: In static member function ‘static v8::Handle<v8::Value> Gzip::New(const v8::Arguments&)’: ../compress.cc:122: error: ‘class Gzip’ has no member named ‘Wrap’ ../compress.cc: In constructor ‘Gzip::Gzip()’: ../compress.cc:198: error: class ‘Gzip’ does not have any field named ‘EventEmitter’ ../compress.cc: At global scope: ../compress.cc:212: error: expected class-name before ‘{’ token ../compress.cc: In static member function ‘static void Gunzip::Initialize(v8::Handle<v8::Object>)’: ../compress.cc:221: error: ‘EventEmitter’ has not been declared ../compress.cc: In static member function ‘static v8::Handle<v8::Value> Gunzip::New(const v8::Arguments&)’: ../compress.cc:302: error: ‘class Gunzip’ has no member named ‘Wrap’ ../compress.cc: In constructor ‘Gunzip::Gunzip()’: ../compress.cc:357: error: class ‘Gunzip’ does not have any field named ‘EventEmitter’

Fresh make && make install of 0.5.x

@JonDum
Copy link

JonDum commented Sep 15, 2011

And now I can confirm that compress installs correctly with 0.4.x versions of node after reinstalling (again).

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