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]
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

Reply via email to