astro/node-expat — Issue #22: Unable to install node-expat@1.4.1 npm
Author: JakubRacek
Created: 2011-11-28 18:05:45+00:00
State: open

Hello, I am trying to install node-expat, but I got this error :/

```
~/Dev/ketchup (develop)↑⚡ $ npm install node-expat

> node-expat@1.4.1 install /home/jakub/Dev/ketchup/node_modules/node-expat
> node-waf configure 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
Checking for header expat.h : not installed
/home/jakub/Dev/ketchup/node_modules/node-expat/wscript:13: error: the configuration failed (see '/home/jakub/Dev/ketchup/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. (/usr/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! 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 3.1.2-1.fc16.x86_64
npm ERR! command "node" "/usr/local/bin/npm" "install" "node-expat"
npm ERR! cwd /home/jakub/Dev/ketchup
npm ERR! node -v v0.6.4-pre
npm ERR! npm -v 1.1.0-alpha-2
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/jakub/Dev/ketchup/npm-debug.log
npm not ok
```