mozilla/browserid — Issue #1017: BID now requires expat libs to install
Author: jbonacci
Created: 2012-02-01 00:53:18+00:00
State: open

I noticed this while attempting a local install (with a local npm) on one of the clientX boxes:

Checking for header expat.h : not installed
/home/jbonacci/browserid/node_modules/xml2json/node_modules/node-expat/wscript:13: error: the configuration failed (see '/home/jbonacci/browserid/node_modules/xml2json/node_modules/node-expat/build/config.log')
npm ERR! error installing node-expat@1.4.1 Error: node-expat@1.4.1 install: `node-waf configure build`
npm ERR! error installing node-expat@1.4.1 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing node-expat@1.4.1 at ChildProcess. (/home/jbonacci/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing node-expat@1.4.1 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing node-expat@1.4.1 at maybeExit (child_process.js:359:16)
npm ERR! error installing node-expat@1.4.1 at Process.onexit (child_process.js:395:5)
npm ERR! error installing xml2json@0.2.4 Error: node-expat@1.4.1 install: `node-waf configure build`
npm ERR! error installing xml2json@0.2.4 `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing xml2json@0.2.4 at ChildProcess. (/home/jbonacci/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing xml2json@0.2.4 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing xml2json@0.2.4 at maybeExit (child_process.js:359:16)
npm ERR! error installing xml2json@0.2.4 at Process.onexit (child_process.js:395:5)
npm ERR! node-expat@1.4.1 install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the node-expat@1.4.1 install script.
npm ERR! This is most likely a problem with the node-expat 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 node-expat
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-71.el6.x86_64
npm ERR! command "node" "/home/jbonacci/local/bin/npm" "install"
npm ERR! cwd /home/jbonacci/browserid
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message node-expat@1.4.1 install: `node-waf configure build`
npm ERR! message `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jbonacci/browserid/npm-debug.log
npm not ok