JustinTulloss/zeromq.node — Issue #57: Fails to install zmq on node 0.6.0
Author: renajohn
Created: 2011-11-07 09:06:15+00:00
State: open

```
sudo npm install -g zmq

> zmq@1.0.2 preinstall /usr/local/lib/node_modules/zmq
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to : /usr/local/lib/node_modules/zmq
Setting blddir to : /usr/local/lib/node_modules/zmq/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/johnleco/.node_libraries
Checking for node prefix : ok /usr/local
Checking for pkg-config version >= 0.0.0 : yes
Checking for libzmq >= 2.1.0 : yes
'configure' finished successfully (0.056s)
Waf: Entering directory `/usr/local/lib/node_modules/zmq/build'
[1/2] cxx: binding.cc -> build/Release/binding_1.o
../binding.cc: In static member function 'static v8::Handle zmq::Socket::Bind(const v8::Arguments&)':
../binding.cc:443:64: error: invalid conversion from 'int (*)(eio_req*)' to 'void (*)(eio_req*)'
../binding.cc:443:64: error: initializing argument 1 of 'eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)'
Waf: Leaving directory `/usr/local/lib/node_modules/zmq/build'
Build failed: -> task failed (err #1):
{task: cxx binding.cc -> binding_1.o}
npm ERR! error installing zmq@1.0.2 Error: zmq@1.0.2 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing zmq@1.0.2 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing zmq@1.0.2 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing zmq@1.0.2 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing zmq@1.0.2 at maybeExit (child_process.js:359:16)
npm ERR! error installing zmq@1.0.2 at Process.onexit (child_process.js:395:5)
npm ERR! zmq@1.0.2 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 zmq@1.0.2 preinstall script.
npm ERR! This is most likely a problem with the zmq 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 zmq
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-11-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "zmq"
npm ERR! cwd /home/johnleco/develop/bugbuster-server
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.0.104
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/johnleco/develop/bugbuster-server/npm-debug.log
npm not ok
```