Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure to install on latest Ubuntu 11.04 + nodejs 0.6.2 #13

Closed
railnerd opened this issue Nov 23, 2011 · 2 comments
Closed

failure to install on latest Ubuntu 11.04 + nodejs 0.6.2 #13

railnerd opened this issue Nov 23, 2011 · 2 comments

Comments

@railnerd
Copy link

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

@sglai
Copy link

sglai commented Nov 23, 2011

This problem also seen on Mac OS X version 10.7.2

@agnat
Copy link
Owner

agnat commented Jan 10, 2012

Works for me with node 0.6.6. Is this still an issue?

@agnat agnat closed this as completed Jan 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants