I have installed libssl-dev package but that did not install the include files. How do I get the openssl include files? Appreciate your help.
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 : ok /usr/bin/node
Checking for node prefix : ok /usr
Checking for header openssl/rand.h : not found
/home/arun/Documents/webserver/node_modules/bcrypt/wscript:30: error: the configuration
failed (see '/home/arun/Documents/webserver/node_modules/bcrypt/build/config.log')
npm ERR! error installing
[email protected]
npm ERR!
[email protected] 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
[email protected] preinstall script.
npm ERR! This is most likely a problem with the bcrypt 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 bcrypt
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.8.0-32-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/arun/Documents/webserver
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! code ELIFECYCLE
npm ERR! message
[email protected] 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! /home/arun/Documents/webserver/npm-debug.log
npm not ok