i've been already installed curl. On the log there are these errors below.
106 error [email protected] install: `sh src/generate_curl_options_list.sh && >> (node-gyp rebuild || node-waf configure build)` > > 106 error `sh "-c" "sh src/generate_curl_options_list.sh && (node-gyp >> rebuild || node-waf configure build)"` failed with 1 > > 107 error Failed at the [email protected] install script. > > 107 error This is most likely a problem with the node-curl package, > > 107 error not with npm itself. > > 107 error Tell the author that this fails on your system: > > 107 error sh src/generate_curl_options_list.sh && (node-gyp rebuild || >> node-waf configure build) > > 107 error You can get their info via: > > 107 error npm owner ls node-curl > > 107 error There is likely additional logging output above. > > 108 error System Linux 3.0.0-12-server > > 109 error command "nodejs" "/usr/bin/npm" "install" "node-curl" > > 110 error cwd /root > > 111 error node -v v0.8.14 > > 112 error npm -v 1.1.65 > > 113 error code ELIFECYCLE > > 114 verbose exit [ 1, true ] > > 17 Ocak 2013 Perşembe 01:14:08 UTC+2 tarihinde Berger Kennedy FOTSO yazdı: > > Install curl first. > > Or set $NODE_CURL_H to a valid path (/usr/local/include/curl/curl.h) > > > 2013/1/16 <[email protected] <javascript:>> > >> This error comes up when i try to install node-curl package. >> >> P.S: I can install any other packages. >> >> npm http GET https://registry.npmjs.org/node-curl >>> >>> npm http 304 https://registry.npmjs.org/node-curl >>> >>> >>>> > [email protected] install /root/node_modules/node-curl >>> >>> > sh src/generate_curl_options_list.sh && (node-gyp rebuild || node-waf >>>> configure build) >>> >>> >>>> extract constants from >>> >>> generate src/integer_options.h >>> >>> cat: : No such file or directory >>> >>> generate src/string_options.h >>> >>> cat: : No such file or directory >>> >>> generate src/integer_infos.h >>> >>> cat: : No such file or directory >>> >>> generate src/string_infos.h >>> >>> cat: : No such file or directory >>> >>> generate src/double_infos.h >>> >>> cat: : No such file or directory >>> >>> make: Entering directory `/root/node_modules/node-curl/build' >>> >>> CXX(target) Release/obj.target/node-curl/src/node-curl.o >>> >>> In file included from ../src/node-curl.cc:1:0: >>> >>> ../src/node-curl.h:7:23: fatal error: curl/curl.h: No such file or >>>> directory >>> >>> compilation terminated. >>> >>> make: *** [Release/obj.target/node-curl/src/node-curl.o] Error 1 >>> >>> make: Leaving directory `/root/node_modules/node-curl/build' >>> >>> gyp ERR! build error >>> >>> gyp ERR! stack Error: `make` failed with exit code: 2 >>> >>> gyp ERR! stack at ChildProcess.onExit >>>> (/usr/lib/nodejs/npm/node_modules/node-gyp/lib/build.js:236:23) >>> >>> gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) >>> >>> gyp ERR! stack at Process._handle.onexit (child_process.js:678:10) >>> >>> gyp ERR! System Linux 3.0.0-12-server >>> >>> gyp ERR! command "node" >>>> "/usr/lib/nodejs/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" >>> >>> gyp ERR! cwd /root/node_modules/node-curl >>> >>> gyp ERR! node -v v0.8.14 >>> >>> gyp ERR! node-gyp -v v0.7.1 >>> >>> gyp ERR! not ok >>> >>> Setting srcdir to : /root/node_modules/node-curl >>> >>> Setting blddir to : >>>> /root/node_modules/node-curl/build >>> >>> 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 >>> >>> 'configure' finished successfully (0.027s) >>> >>> Waf: Entering directory `/root/node_modules/node-curl/build' >>> >>> [1/2] cxx: src/node-curl.cc -> build/Release/src/node-curl_1.o >>> >>> In file included from ../src/node-curl.cc:1:0: >>> >>> ../src/node-curl.h:7:23: fatal error: curl/curl.h: No such file or >>>> directory >>> >>> compilation terminated. >>> >>> Waf: Leaving directory `/root/node_modules/node-curl/build' >>> >>> Build failed: -> task failed (err #1): >>> >>> {task: cxx node-curl.cc -> node-curl_1.o} >>> >>> npm ERR! [email protected] install: `sh src/generate_curl_options_list.sh >>>> && (node-gyp rebuild || node-waf configure build)` >>> >>> npm ERR! `sh "-c" "sh src/generate_curl_options_list.sh && (node-gyp >>>> rebuild || node-waf configure build)"` failed with 1 >>> >>> npm ERR! >>> >>> npm ERR! Failed at the [email protected] install script. >>> >>> npm ERR! This is most likely a problem with the node-curl package, >>> >>> npm ERR! not with npm itself. >>> >>> npm ERR! Tell the author that this fails on your system: >>> >>> npm ERR! sh src/generate_curl_options_list.sh && (node-gyp rebuild >>>> || node-waf configure build) >>> >>> npm ERR! You can get their info via: >>> >>> npm ERR! npm owner ls node-curl >>> >>> npm ERR! There is likely additional logging output above. >>> >>> >>>> npm ERR! System Linux 3.0.0-12-server >>> >>> npm ERR! command "nodejs" "/usr/bin/npm" "install" "node-curl" >>> >>> npm ERR! cwd /root >>> >>> npm ERR! node -v v0.8.14 >>> >>> npm ERR! npm -v 1.1.65 >>> >>> 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 >>> >>> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
