Skip to content

Instantly share code, notes, and snippets.

/gist:3189c92b005878df6065 Secret
Created Apr 19, 2013

Embed
What would you like to do?
SmartOS / Joyent nodejs zone -> installation of node-stringprep
# npm install node-stringprep
npm http GET https://registry.npmjs.org/node-stringprep
npm http 304 https://registry.npmjs.org/node-stringprep
> node-stringprep@0.1.5 install /root/node_modules/node-stringprep
> node-gyp rebuild
make: Entering directory `/root/node_modules/node-stringprep/build'
CXX(target) Release/obj.target/node-stringprep/node-stringprep.o
../node-stringprep.cc:3:28: fatal error: unicode/unistr.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/node-stringprep/node-stringprep.o] Error 1
make: Leaving directory `/root/node_modules/node-stringprep/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System SunOS 5.11
gyp ERR! command "node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/node_modules/node-stringprep
gyp ERR! node -v v0.8.11
gyp ERR! node-gyp -v v0.6.11
gyp ERR! not ok
npm ERR! node-stringprep@0.1.5 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the node-stringprep@0.1.5 install script.
npm ERR! This is most likely a problem with the node-stringprep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls node-stringprep
npm ERR! There is likely additional logging output above.
npm ERR! System SunOS 5.11
npm ERR! command "/opt/local/bin/node" "/opt/local/bin/npm" "install" "node-stringprep"
npm ERR! cwd /root
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! /root/npm-debug.log
npm ERR! not ok code 0
Extra info :
# ls -l /opt/local/include/unicode/uni*
-rw-r--r-- 1 root root 3600 Jul 29 2012 /opt/local/include/unicode/unifilt.h
-rw-r--r-- 1 root root 3966 Jul 29 2012 /opt/local/include/unicode/unifunct.h
-rw-r--r-- 1 root root 6071 Jul 29 2012 /opt/local/include/unicode/unimatch.h
-rw-r--r-- 1 root root 3290 Jul 29 2012 /opt/local/include/unicode/unirepl.h
-rw-r--r-- 1 root root 64583 Jul 29 2012 /opt/local/include/unicode/uniset.h
-rw-r--r-- 1 root root 167763 Jul 29 2012 /opt/local/include/unicode/unistr.h
# pkgin search icu
icu-49.1.1nb1 = Robust and full-featured Unicode services
also tryied with "CPPFLAGS='-I/opt/local/include/' npm install node-stringprep" without success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.