JustinTulloss/zeromq.node — Issue #63: zmq install failed
Author: najamkhn
Created: 2011-11-21 07:41:05+00:00
State: open

This is the error that I'm getting while installing zeromq for node.js..

'configure' finished successfully (0.286s)
Waf: Entering directory `~/Projects/njs/node_modules/zeromq/build'
[1/2] cxx: binding.cc -> build/default/binding_1.o
../binding.cc: In static member function ‘static v8::Handle zmq::Socket::GetSockOpt(const v8::Arguments&)’:
../binding.cc:343:10: error: ‘ZMQ_EVENTS’ was not declared in this scope
../binding.cc:345:10: error: ‘ZMQ_FD’ was not declared in this scope
../binding.cc:346:10: error: ‘ZMQ_TYPE’ was not declared in this scope
../binding.cc:347:10: error: ‘ZMQ_LINGER’ was not declared in this scope
../binding.cc:348:10: error: ‘ZMQ_RECONNECT_IVL’ was not declared in this scope
../binding.cc:349:10: error: ‘ZMQ_BACKLOG’ was not declared in this scope
../binding.cc: In static member function ‘static v8::Handle zmq::Socket::SetSockOpt(const v8::Arguments&)’:
../binding.cc:387:10: error: ‘ZMQ_LINGER’ was not declared in this scope
../binding.cc:388:10: error: ‘ZMQ_RECONNECT_IVL’ was not declared in this scope
../binding.cc:389:10: error: ‘ZMQ_BACKLOG’ was not declared in this scope
../binding.cc:392:10: error: ‘ZMQ_EVENTS’ was not declared in this scope
../binding.cc:393:10: error: ‘ZMQ_FD’ was not declared in this scope
../binding.cc:394:10: error: ‘ZMQ_TYPE’ was not declared in this scope
../binding.cc: In function ‘void zmq::Initialize(v8::Handle)’:
../binding.cc:780:5: error: ‘ZMQ_FD’ was not declared in this scope
../binding.cc:781:5: error: ‘ZMQ_EVENTS’ was not declared in this scope
../binding.cc:782:5: error: ‘ZMQ_TYPE’ was not declared in this scope
../binding.cc:783:5: error: ‘ZMQ_LINGER’ was not declared in this scope
../binding.cc:784:5: error: ‘ZMQ_RECONNECT_IVL’ was not declared in this scope
../binding.cc:785:5: error: ‘ZMQ_BACKLOG’ was not declared in this scope
Waf: Leaving directory `~/Projects/njs/node_modules/zeromq/build'
Build failed: -> task failed (err #1):
{task: cxx binding.cc -> binding_1.o}
npm ERR! error installing zeromq@0.5.1 Error: zeromq@0.5.1 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing zeromq@0.5.1 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing zeromq@0.5.1 at ChildProcess. (~/Projects/njs/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing zeromq@0.5.1 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing zeromq@0.5.1 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! zeromq@0.5.1 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the zeromq@0.5.1 preinstall script.
npm ERR! This is most likely a problem with the zeromq package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls zeromq
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-11-generic
npm ERR! command "node" "~/Projects/njs/bin/npm" "install" "zeromq"
npm ERR! cwd ~/Projects/njs
npm ERR! node -v v0.4.8
npm ERR! npm -v 1.0.103
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! ~/Projects/njs/npm-debug.log
npm not ok