JustinTulloss/zeromq.node — Issue #61: Build failure with 1.0.3, 1.0.2 still builds fine
Author: quackingduck
Created: 2011-11-14 23:05:57+00:00
State: open

`$ npm install zmq@1.0.3`

> zmq@1.0.3 preinstall /private/tmp/node_modules/zmq
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to : /private/tmp/node_modules/zmq
Setting blddir to : /private/tmp/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 /usr/local/lib/node_modules
Checking for node prefix : ok /usr/local/Cellar/node/0.4.12
Checking for pkg-config version >= 0.0.0 : yes
Checking for libzmq >= 2.1.0 : yes
Checking for library uuid : not found
'configure' finished successfully (0.133s)
Waf: Entering directory `/private/tmp/node_modules/zmq/build'
[1/2] cxx: binding.cc -> build/default/binding_1.o
[2/2] cxx_link: build/default/binding_1.o -> build/default/binding.node
Waf: Leaving directory `/private/tmp/node_modules/zmq/build'
'build' finished successfully (0.548s)
Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/Cellar/node/0.4.12/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/Cellar/node/0.4.12/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/usr/local/Cellar/node/0.4.12/bin/../lib/node/wafadmin/Scripting.py", line 186, in main
fun()
File "/private/tmp/node_modules/zmq/wscript", line 30, in shutdown
link('./build/Release/binding.node', './binding.node')
OSError: [Errno 2] No such file or directory
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:67:17)
npm ERR! error installing zmq@1.0.3 at ChildProcess.onexit (child_process.js:192:12)
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@1.0.3"
npm ERR! cwd /private/tmp
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.104
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/tmp/npm-debug.log
npm not ok

`$ npm install zmq@1.0.2` works fine:

$ npm install zmq@1.0.2

> zmq@1.0.2 preinstall /private/tmp/node_modules/zmq
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to : /private/tmp/node_modules/zmq
Setting blddir to : /private/tmp/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 /usr/local/lib/node_modules
Checking for node prefix : ok /usr/local/Cellar/node/0.4.12
Checking for pkg-config version >= 0.0.0 : yes
Checking for libzmq >= 2.1.0 : yes
'configure' finished successfully (0.074s)
Waf: Entering directory `/private/tmp/node_modules/zmq/build'
[1/2] cxx: binding.cc -> build/default/binding_1.o
[2/2] cxx_link: build/default/binding_1.o -> build/default/binding.node
Waf: Leaving directory `/private/tmp/node_modules/zmq/build'
'build' finished successfully (0.565s)
zmq@1.0.2 ./node_modules/zmq