agnat/node_mdns — Issue #13: failure to install on latest Ubuntu 11.04 + nodejs 0.6.2
Author: railnerd
Created: 2011-11-23 05:46:01+00:00
State: open

dave@ubu:~/Sources/webhack$ npm install mdns
npm WARN mdns@0.0.3 package.json: bugs['web'] should probably be bugs['url']

> mdns@0.0.3 install /home/dave/Sources/webhack/node_modules/mdns
> node-waf configure build

Setting srcdir to : /home/dave/Sources/webhack/node_modules/mdns
Setting blddir to : /home/dave/Sources/webhack/node_modules/mdns/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
'configure' finished successfully (0.321s)
Waf: Entering directory `/home/dave/Sources/webhack/node_modules/mdns/build'
[1/7] cxx: src/mdns_base.cpp -> build/Release/src/mdns_base_1.o
In file included from ../src/mdns_base.cpp:1:0:
../src/mdns_base.hpp:4:25: fatal error: node_events.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/dave/Sources/webhack/node_modules/mdns/build'
Build failed: -> task failed (err #1):
{task: cxx mdns_base.cpp -> mdns_base_1.o}
npm ERR! error installing mdns@0.0.3 Error: mdns@0.0.3 install: `node-waf configure build`
npm ERR! error installing mdns@0.0.3 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing mdns@0.0.3 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing mdns@0.0.3 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing mdns@0.0.3 at maybeExit (child_process.js:359:16)
npm ERR! error installing mdns@0.0.3 at Process.onexit (child_process.js:395:5)
npm ERR! mdns@0.0.3 install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the mdns@0.0.3 install script.
npm ERR! This is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-13-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "mdns"
npm ERR! cwd /home/dave/Sources/webhack
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! /home/dave/Sources/webhack/npm-debug.log
npm not ok