Skip to content

Instantly share code, notes, and snippets.

@alanhoff
Created April 23, 2013 11:38
Show Gist options
  • Save alanhoff/7eebdd03884e9f2f63c6 to your computer and use it in GitHub Desktop.
Save alanhoff/7eebdd03884e9f2f63c6 to your computer and use it in GitHub Desktop.
server@server:~/teste$ npm install imagemagick-native
npm http GET https://registry.npmjs.org/imagemagick-native
npm http 304 https://registry.npmjs.org/imagemagick-native
> imagemagick-native@0.2.0 install /home/server/teste/node_modules/imagemagick-n ative
> node-gyp rebuild
Usage: GraphicsMagick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldfl ags] [--libs] [--prefix] [--version]
For example, "example.cpp" may be compiled to produce "example" as follows:
"c++ -o example example.cpp `GraphicsMagick++-config --cppflags --cxxflags --l dflags --libs`"
gyp: Call to 'Magick++-config --cflags' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modu les/node-gyp/lib/configure.js:415:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784: 12)
gyp ERR! System Linux 3.2.0-40-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/nod e-gyp.js" "rebuild"
gyp ERR! cwd /home/server/teste/node_modules/imagemagick-native
gyp ERR! node -v v0.10.4
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! imagemagick-native@0.2.0 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the imagemagick-native@0.2.0 install script.
npm ERR! This is most likely a problem with the imagemagick-native package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls imagemagick-native
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-40-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "imagemagick-native"
npm ERR! cwd /home/server/teste
npm ERR! node -v v0.10.4
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/server/teste/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment