bahblah/node_xslt — Issue #6: Having some trouble installing on ubuntu 10.04
Author: boozedog
Created: 2012-02-14 03:14:36+00:00
State: open

Apologies in advance for the newbie question! I have libxslt1.1, libxml2, and libxml2-dev installed (using apt-get). xml2-config is in my path.

npm install fails:

$ sudo npm install node_xslt
npm http GET https://registry.npmjs.org/node_xslt
npm http 304 https://registry.npmjs.org/node_xslt

> node_xslt@0.1.4 preinstall /mnt/ebs1/home/boozedog/node_modules/node_xslt
> node-waf clean || (exit 0); node-waf configure build

Nothing to clean (project not configured)
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 library ['xml2', 'xslt'] : not found
/mnt/ebs1/home/boozedog/node_modules/node_xslt/wscript:13: error: the configuration failed (see '/mnt/ebs1/home/boozedog/node_modules/node_xslt/build/config.log')
npm ERR! error installing node_xslt@0.1.4

npm ERR! node_xslt@0.1.4 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 node_xslt@0.1.4 preinstall script.
npm ERR! This is most likely a problem with the node_xslt 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 node_xslt
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-342-ec2
npm ERR! command "node" "/usr/local/bin/npm" "install" "node_xslt"
npm ERR! cwd /mnt/ebs1/home/boozedog/node.buser.net
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! code ELIFECYCLE
npm ERR! message node_xslt@0.1.4 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! /mnt/ebs1/home/boozedog/node.buser.net/npm-debug.log
npm not ok