Skip to content

npm install fails npm 1.0.6, node 0.4.7, centos 5.5 #8

@JulesAU

Description

@JulesAU

$ npm install dcrypt -g

dcrypt@0.0.2 preinstall /home/jules/lib/node_modules/dcrypt
node-waf clean || true; 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 /home/jules
Checking for header openssl/ecdsa.h : not found
Configuring Dcrypt to skip bindings on ECDSA
'configure' finished successfully (0.039s)
Waf: Entering directory /home/jules/lib/node_modules/dcrypt/build' Building Dcrypt without ECDSA support [ 1/14] cxx: src/cipher.cc -> build/default/src/cipher_1.o [ 2/14] cxx: src/common.cc -> build/default/src/common_1.o [ 3/14] cxx: src/decipher.cc -> build/default/src/decipher_1.o [ 4/14] cxx: src/drsa.cc -> build/default/src/drsa_1.o [ 5/14] cxx: src/dx509.cc -> build/default/src/dx509_1.o [ 6/14] cxx: src/encode.cc -> build/default/src/encode_1.o ../src/dx509.cc: In static member function ‘static v8::Handle<v8::Value> DX509::parseCert(const v8::Arguments&)’: ../src/dx509.cc:138: error: ‘EC_KEY’ was not declared in this scope ../src/dx509.cc:138: error: ‘ec_key’ was not declared in this scope ../src/dx509.cc:138: error: ‘EVP_PKEY_get1_EC_KEY’ was not declared in this scope ../src/dx509.cc:141: error: ‘EC_KEY_free’ was not declared in this scope Waf: Leaving directory/home/jules/lib/node_modules/dcrypt/build'
Build failed: -> task failed (err #1):
{task: cxx dx509.cc -> dx509_1.o}
npm ERR! error installing dcrypt@0.0.2 Error: dcrypt@0.0.2 preinstall: node-waf clean || true; node-waf configure build
npm ERR! error installing dcrypt@0.0.2 sh "-c" "node-waf clean || true; node-waf configure build" failed with 1
npm ERR! error installing dcrypt@0.0.2 at ChildProcess. (/home/jules/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing dcrypt@0.0.2 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing dcrypt@0.0.2 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! dcrypt@0.0.2 preinstall: node-waf clean || true; node-waf configure build
npm ERR! sh "-c" "node-waf clean || true; node-waf configure build" failed with 1
npm ERR!
npm ERR! Failed at the dcrypt@0.0.2 preinstall script.
npm ERR! This is most likely a problem with the dcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls dcrypt
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.18-194.32.1.el5
npm ERR! command "node" "/home/jules/bin/npm" "install" "dcrypt" "-g"
npm ERR!
npm not ok

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