Skip to content

Instantly share code, notes, and snippets.

@mrquincle
Created January 9, 2014 15:26
Show Gist options
  • Save mrquincle/8335834 to your computer and use it in GitHub Desktop.
Save mrquincle/8335834 to your computer and use it in GitHub Desktop.
If I remove libicu-dev from my system and do a git clone of node-stringprep and a npm link I get this error (https://github.com/node-xmpp/node-stringprep/issues/45)
npm link
> node-stringprep@0.2.0 install /home/anne/tmp/node-stringprep
> node-gyp rebuild || (exit 0)
make: Entering directory `/home/anne/tmp/node-stringprep/build'
CXX(target) Release/obj.target/node_stringprep/node-stringprep.o
../node-stringprep.cc:2:28: fatal error: unicode/unistr.h: No such file or directory
#include <unicode/unistr.h>
^
compilation terminated.
make: *** [Release/obj.target/node_stringprep/node-stringprep.o] Error 1
make: Leaving directory `/home/anne/tmp/node-stringprep/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/anne/.nvm/v0.8.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Linux 3.11.0-15-generic
gyp ERR! command "node" "/home/anne/.nvm/v0.8.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/anne/tmp/node-stringprep
gyp ERR! node -v v0.8.2
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment