aws linux imagmagick-native npm安装失败

我不知道为什么这个安装失败。

我想获得imagemagick本地安装在amazon-linux的EC2实例。 任何帮助都是极好的! 我有Linux系统级所需的所有编译器和东西。

ake: *** [Release/obj.target/imagemagick/src/imagemagick.o] Error 1 make: Leaving directory `/home/ec2-user/thor/node_modules/imagemagick-native/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/ec2-user/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12) gyp ERR! System Linux 3.4.73-64.112.amzn1.x86_64 gyp ERR! command "node" "/home/ec2-user/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/ec2-user/thor/node_modules/imagemagick-native gyp ERR! node -v v0.10.26 gyp ERR! node-gyp -v v0.13.0 gyp ERR! not ok npm ERR! imagemagick-native@0.2.9 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the imagemagick-native@0.2.9 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.4.73-64.112.amzn1.x86_64 npm ERR! command "node" "/home/ec2-user/local/bin/npm" "install" npm ERR! cwd /home/ec2-user/thor npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.6 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/ec2-user/thor/npm-debug.log npm ERR! not ok code 0