Skip to content

Instantly share code, notes, and snippets.

@AvianFlu
Created February 12, 2012 04:20
Show Gist options
  • Save AvianFlu/edda27ea9a74e466ef4b to your computer and use it in GitHub Desktop.
Save AvianFlu/edda27ea9a74e466ef4b to your computer and use it in GitHub Desktop.
node_mdns compile error
$ npm install mdns
npm info it worked if it ends with ok
npm info using npm@1.1.0-3
npm info using node@v0.6.10
npm http GET https://registry.npmjs.org/mdns
npm http 304 https://registry.npmjs.org/mdns
npm info into /home/avian/dev/hookery mdns@0.0.5
npm info installOne mdns@0.0.5
npm info unbuild /home/avian/dev/hookery/node_modules/mdns
npm info preinstall mdns@0.0.5
> mdns@0.0.5 preinstall /home/avian/dev/hookery/node_modules/mdns
> node-waf clean || (exit 0); node-waf configure build
Nothing to clean (project not configured)
Setting srcdir to : /home/avian/dev/hookery/node_modules/mdns
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
Checking for header dns_sd.h : not found
/home/avian/dev/hookery/node_modules/mdns/wscript:28: error: the configuration failed (see '/home/avian/dev/hookery/node_modules/mdns/out/config.log')
npm info mdns@0.0.5 Failed to exec preinstall script
npm ERR! error installing mdns@0.0.5
npm info unbuild /home/avian/dev/hookery/node_modules/mdns
npm info preuninstall mdns@0.0.5
npm info uninstall mdns@0.0.5
npm info postuninstall mdns@0.0.5
npm ERR! mdns@0.0.5 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the mdns@0.0.5 preinstall 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 clean || (exit 0); 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 2.6.32-5-amd64
npm ERR! command "node" "/usr/local/bin/npm" "install" "mdns"
npm ERR! cwd /home/avian/dev/hookery
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! code ELIFECYCLE
npm ERR! message mdns@0.0.5 preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/avian/dev/hookery/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment