JustinTulloss/zeromq.node — Issue #66: zmq install failed
Author: rafalsobota
Created: 2011-11-23 22:00:14+00:00
State: open

Rafals-MacBook:myproject rav$ node -v
v0.6.2

Rafals-MacBook:myproject rav$ npm -v
1.0.106

Rafals-MacBook:myproject rav$ brew list zeromq
/usr/local/Cellar/zeromq/2.1.10/include/ (3 files)
/usr/local/Cellar/zeromq/2.1.10/lib/libzmq.1.dylib
/usr/local/Cellar/zeromq/2.1.10/lib/pkgconfig/libzmq.pc
/usr/local/Cellar/zeromq/2.1.10/lib/ (2 other files)
/usr/local/Cellar/zeromq/2.1.10/share/man/ (30 files)

Rafals-MacBook:mothership rav$ npm install zmq

> zmq@1.0.3 preinstall /Users/rav/Documents/myproject/node_modules/zmq
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to : /Users/rav/Documents/myproject/node_modules/zmq
Setting blddir to : /Users/rav/Documents/myproject/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 : not found
Checking for node prefix : ok /usr/local/Cellar/node/0.6.2
Checking for pkg-config version >= 0.0.0 : pkg-config was not found
/Users/rav/Documents/myproject/node_modules/zmq/wscript:14: error: the configuration failed (see '/Users/rav/Documents/myproject/node_modules/zmq/build/config.log')
npm ERR! error installing zmq@1.0.3 Error: zmq@1.0.3 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing zmq@1.0.3 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing zmq@1.0.3 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing zmq@1.0.3 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing zmq@1.0.3 at maybeExit (child_process.js:359:16)
npm ERR! error installing zmq@1.0.3 at Process.onexit (child_process.js:395:5)
npm ERR! zmq@1.0.3 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.3 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 Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "zmq"
npm ERR! cwd /Users/rav/Documents/myproject
npm ERR! node -v v0.6.2
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/rav/Documents/myproject/npm-debug.log
npm not ok