Skip to content

Instantly share code, notes, and snippets.

@Suor
Created December 26, 2012 02:51
Show Gist options
  • Save Suor/4377485 to your computer and use it in GitHub Desktop.
Save Suor/4377485 to your computer and use it in GitHub Desktop.
suor$ npm install node-gd
npm http GET https://registry.npmjs.org/node-gd
npm http 304 https://registry.npmjs.org/node-gd
> [email protected] install /home/suor/projects/mediavault/node_modules/node-gd
> node-waf configure 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 /home/suor/.nvm/v0.8.16
'configure' finished successfully (0.028s)
Waf: Entering directory `/home/suor/projects/mediavault/node_modules/node-gd/build'
[1/2] cxx: node-gd.cc -> build/Release/node-gd_1.o
../node-gd.cc:19:25: fatal error: node_events.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/suor/projects/mediavault/node_modules/node-gd/build'
Build failed: -> task failed (err #1):
{task: cxx node-gd.cc -> node-gd_1.o}
npm ERR! [email protected] install: `node-waf configure build`
npm ERR! `sh "-c" "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-gd package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-gd
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.5.0-21-generic
npm ERR! command "/home/suor/.nvm/v0.8.16/bin/node" "/home/suor/.nvm/v0.8.16/bin/npm" "install" "node-gd"
npm ERR! cwd /home/suor/projects/mediavault
npm ERR! node -v v0.8.16
npm ERR! npm -v 1.1.69
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/suor/projects/mediavault/npm-debug.log
npm ERR! not ok code 0
suor$ npm install git://github.com/andris9/node-gd.git
> [email protected] install /home/suor/projects/mediavault/node_modules/node-gd
> node-gyp configure build
gyp http GET http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz
gyp http 200 http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz
make: Entering directory `/home/suor/projects/mediavault/node_modules/node-gd/build'
CXX(target) Release/obj.target/node-gd/node-gd.o
../node-gd.cc: In static member function ‘static v8::Handle<v8::Value> Gd::Image::New(const v8::Arguments&)’:
../node-gd.cc:353:8: warning: unused variable ‘I’ [-Wunused-variable]
SOLINK_MODULE(target) Release/obj.target/node-gd.node
SOLINK_MODULE(target) Release/obj.target/node-gd.node: Finished
COPY Release/node-gd.node
make: Leaving directory `/home/suor/projects/mediavault/node_modules/node-gd/build'
[email protected] node_modules/node-gd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment