Skip to content

Unable to install node_xslt on MacOS 10.7.5 #15

@DavidEmo

Description

@DavidEmo

Hello.
I'm trying to install node_xslt on MacOS 10.7.5 but it doesn't seem to work.
The logs of the command : 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.7 preinstall /Users/.../node_modules/node_xslt
node-waf distclean || (exit 0); node-waf configure build

'distclean' finished successfully (0.000s)
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', 'exslt'] : not found
/Users/.../node_modules/node_xslt/wscript:12: error: the configuration failed (see '/Users/.../node_modules/node_xslt/build/config.log')
npm ERR! node_xslt@0.1.7 preinstall: node-waf distclean || (exit 0); node-waf configure build
npm ERR! sh "-c" "node-waf distclean || (exit 0); node-waf configure build" failed with 1
npm ERR!
npm ERR! Failed at the node_xslt@0.1.7 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 distclean || (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! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "node_xslt"
npm ERR! cwd /Users/...
npm ERR! node -v v0.8.11
npm ERR! npm -v 1.1.62
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/.../npm-debug.log
npm ERR! not ok code 0

I installed libxml2 and libxslt thanks to macport and they are located in /usr/lib/.

Thanks for your help.
Regards,
David E.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions