Skip to content

Instantly share code, notes, and snippets.

@alanhoff
Created April 23, 2013 11:37
Show Gist options
  • Save alanhoff/ef14e750a6a726644c62 to your computer and use it in GitHub Desktop.
Save alanhoff/ef14e750a6a726644c62 to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli 'imagemagick-native' ]
2 info using npm@1.2.18
3 info using node@v0.10.4
4 verbose node symlink /usr/bin/node
5 verbose read json /home/server/teste/package.json
6 verbose read json /home/server/teste/package.json
7 verbose cache add [ 'imagemagick-native', null ]
8 verbose cache add name=undefined spec="imagemagick-native" args=["imagemagick-native",null]
9 verbose parsed url { protocol: null,
9 verbose parsed url slashes: null,
9 verbose parsed url auth: null,
9 verbose parsed url host: null,
9 verbose parsed url port: null,
9 verbose parsed url hostname: null,
9 verbose parsed url hash: null,
9 verbose parsed url search: null,
9 verbose parsed url query: null,
9 verbose parsed url pathname: 'imagemagick-native',
9 verbose parsed url path: 'imagemagick-native',
9 verbose parsed url href: 'imagemagick-native' }
10 silly lockFile 9934ee37-imagemagick-native imagemagick-native
11 verbose lock imagemagick-native /home/server/.npm/9934ee37-imagemagick-native.lock
12 silly lockFile 9934ee37-imagemagick-native imagemagick-native
13 silly lockFile 9934ee37-imagemagick-native imagemagick-native
14 verbose addNamed [ 'imagemagick-native', '' ]
15 verbose addNamed [ null, '' ]
16 silly lockFile 25dad1f1-imagemagick-native imagemagick-native@
17 verbose lock imagemagick-native@ /home/server/.npm/25dad1f1-imagemagick-native.lock
18 silly addNameRange { name: 'imagemagick-native', range: '', hasData: false }
19 verbose url raw imagemagick-native
20 verbose url resolving [ 'https://registry.npmjs.org/', './imagemagick-native' ]
21 verbose url resolved https://registry.npmjs.org/imagemagick-native
22 info trying registry request attempt 1 at 08:35:05
23 verbose etag "2Q255YKUNKRZHZWC4UUYMOIZR"
24 http GET https://registry.npmjs.org/imagemagick-native
25 http 304 https://registry.npmjs.org/imagemagick-native
26 silly registry.get cb [ 304,
26 silly registry.get { server: 'CouchDB/1.3.0 (Erlang OTP/R15B03)',
26 silly registry.get etag: '"2Q255YKUNKRZHZWC4UUYMOIZR"',
26 silly registry.get date: 'Tue, 23 Apr 2013 11:35:07 GMT',
26 silly registry.get 'content-length': '0' } ]
27 verbose etag imagemagick-native from cache
28 silly addNameRange number 2 { name: 'imagemagick-native', range: '', hasData: true }
29 silly addNameRange versions [ 'imagemagick-native', [ '0.2.0' ] ]
30 verbose addNamed [ 'imagemagick-native', '0.2.0' ]
31 verbose addNamed [ '0.2.0', '0.2.0' ]
32 silly lockFile 913e627f-imagemagick-native-0-2-0 imagemagick-native@0.2.0
33 verbose lock imagemagick-native@0.2.0 /home/server/.npm/913e627f-imagemagick-native-0-2-0.lock
34 verbose read json /home/server/.npm/imagemagick-native/0.2.0/package/package.json
35 silly lockFile 913e627f-imagemagick-native-0-2-0 imagemagick-native@0.2.0
36 silly lockFile 913e627f-imagemagick-native-0-2-0 imagemagick-native@0.2.0
37 silly lockFile 25dad1f1-imagemagick-native imagemagick-native@
38 silly lockFile 25dad1f1-imagemagick-native imagemagick-native@
39 silly resolved [ { name: 'imagemagick-native',
39 silly resolved description: 'ImageMagick\'s Magick++ bindings for NodeJS',
39 silly resolved keywords: [ 'imagemagick', 'magick++', 'resize', 'convert' ],
39 silly resolved version: '0.2.0',
39 silly resolved repository:
39 silly resolved { type: 'git',
39 silly resolved url: 'git://github.com/mash/node-imagemagick-native.git' },
39 silly resolved author:
39 silly resolved { name: 'Masakazu Ohtsuka',
39 silly resolved email: 'o.masakazu@gmail.com',
39 silly resolved url: 'http://maaash.jp/' },
39 silly resolved contributors: [],
39 silly resolved main: './index.js',
39 silly resolved scripts: { test: 'node test/test.js', install: 'node-gyp rebuild' },
39 silly resolved engines: { node: '*' },
39 silly resolved dependencies: {},
39 silly resolved devDependencies: { tap: '*' },
39 silly resolved gypfile: true,
39 silly resolved readme: '# node-imagemagick-native\n\n[Imagemagick](http://www.imagemagick.org/)\'s [Magick++](http://www.imagemagick.org/Magick++/) binding for [Node](http://nodejs.org/).\n\n## Example\n\n var imagemagick = require(\'imagemagick-native\')\n , srcData = require(\'fs\').readFileSync(\'./test/test.png\');\n\n // returns a Buffer instance\n var resizedBuffer = imagemagick.convert({\n srcData: srcData, // provide a Buffer instance\n width: 100,\n height: 100,\n resizeStyle: "aspectfill",\n quality: 80,\n format: \'JPEG\'\n });\n\n require(\'fs\').writeFileSync(\'./test/out.png\', resizedBuffer, \'binary\');\n\n## API\n\n### convert( options )\n\nConvert a buffer provided as `options.srcData` and return a Buffer.\n\nThe `options` argument can have following values:\n\n {\n srcData: required. Buffer with binary image data\n quality: optional. 0-100 integer, default 75. JPEG/MIFF/PNG compression level.\n width: optional. px.\n height: optional. px.\n resizeStyle: optional. default: "aspectfill". can be "aspectfit", "fill"\n aspectfill: keep aspect ratio, get the exact provided size,\n crop top/bottom or left/right if necessary\n aspectfit: keep aspect ratio, get maximum image that fits inside provided size\n fill: forget aspect ratio, get the exact provided size\n format: optional. one of http://www.imagemagick.org/script/formats.php ex: "JPEG"\n debug: optional. 1 or 0\n }\n\nThis library currently provide only this, please try [node-imagemagick](https://github.com/rsms/node-imagemagick/) if you want more.\n\n## Installation\n\nInstall [Imagemagick](http://www.imagemagick.org/) with headers before installing this module.\nTested with ImageMagick 6.7.7 on CentOS6 and MacOS10.7 .\n\n brew install imagemagick --build-from-source\n\n or\n\n sudo yum install ImageMagick-c++ ImageMagick-c++-devel\n\nMake sure you can find Magick++-config in your PATH.\nThen:\n\n npm install imagemagick-native\n\n## Performance - simple thumbnail creation\n\n imagemagick: 16.09ms per iteration\n imagemagick-native: 0.89ms per iteration\n\nSee `node test/benchmark.js` for details.\n\n\n## License (MIT)\n\nCopyright (c) Masakazu Ohtsuka <http://maaash.jp/>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n',
39 silly resolved readmeFilename: 'README.markdown',
39 silly resolved _id: 'imagemagick-native@0.2.0',
39 silly resolved _from: 'imagemagick-native@' } ]
40 info install imagemagick-native@0.2.0 into /home/server/teste
41 info installOne imagemagick-native@0.2.0
42 verbose from cache /home/server/.npm/imagemagick-native/0.2.0/package/package.json
43 info /home/server/teste/node_modules/imagemagick-native unbuild
44 verbose read json /home/server/teste/node_modules/imagemagick-native/package.json
45 verbose tar unpack /home/server/.npm/imagemagick-native/0.2.0/package.tgz
46 silly lockFile 4b9acf37--node-modules-imagemagick-native /home/server/teste/node_modules/imagemagick-native
47 verbose lock /home/server/teste/node_modules/imagemagick-native /home/server/.npm/4b9acf37--node-modules-imagemagick-native.lock
48 silly lockFile a3206eb9-emagick-native-0-2-0-package-tgz /home/server/.npm/imagemagick-native/0.2.0/package.tgz
49 verbose lock /home/server/.npm/imagemagick-native/0.2.0/package.tgz /home/server/.npm/a3206eb9-emagick-native-0-2-0-package-tgz.lock
50 silly gunzTarPerm modes [ '755', '644' ]
51 silly gunzTarPerm extractEntry package.json
52 silly gunzTarPerm extractEntry .npmignore
53 silly gunzTarPerm extractEntry index.js
54 silly gunzTarPerm extractEntry README.markdown
55 silly gunzTarPerm extractEntry binding.gyp
56 silly gunzTarPerm extractEntry src/imagemagick.cc
57 silly gunzTarPerm extractEntry src/imagemagick.h
58 silly gunzTarPerm extractEntry test/benchmark.js
59 silly gunzTarPerm extractEntry test/leak.js
60 silly gunzTarPerm extractEntry test/test.js
61 silly gunzTarPerm extractEntry test/broken.png
62 silly gunzTarPerm extractEntry test/broken.png~
63 silly gunzTarPerm extractEntry test/test.jpg
64 silly gunzTarPerm extractEntry test/test.png
65 silly gunzTarPerm extractEntry test/test.wide.png
66 verbose read json /home/server/teste/node_modules/imagemagick-native/package.json
67 silly lockFile 4b9acf37--node-modules-imagemagick-native /home/server/teste/node_modules/imagemagick-native
68 silly lockFile 4b9acf37--node-modules-imagemagick-native /home/server/teste/node_modules/imagemagick-native
69 silly lockFile a3206eb9-emagick-native-0-2-0-package-tgz /home/server/.npm/imagemagick-native/0.2.0/package.tgz
70 silly lockFile a3206eb9-emagick-native-0-2-0-package-tgz /home/server/.npm/imagemagick-native/0.2.0/package.tgz
71 info preinstall imagemagick-native@0.2.0
72 verbose from cache /home/server/teste/node_modules/imagemagick-native/package.json
73 verbose readDependencies using package.json deps
74 verbose from cache /home/server/teste/node_modules/imagemagick-native/package.json
75 verbose readDependencies using package.json deps
76 silly resolved []
77 verbose about to build /home/server/teste/node_modules/imagemagick-native
78 info build /home/server/teste/node_modules/imagemagick-native
79 verbose from cache /home/server/teste/node_modules/imagemagick-native/package.json
80 verbose linkStuff [ false, false, false, '/home/server/teste/node_modules' ]
81 info linkStuff imagemagick-native@0.2.0
82 verbose linkBins imagemagick-native@0.2.0
83 verbose linkMans imagemagick-native@0.2.0
84 verbose rebuildBundles imagemagick-native@0.2.0
85 info install imagemagick-native@0.2.0
86 verbose unsafe-perm in lifecycle true
87 silly exec sh "-c" "node-gyp rebuild"
88 silly sh,-c,node-gyp rebuild,/home/server/teste/node_modules/imagemagick-native spawning
89 info imagemagick-native@0.2.0 Failed to exec install script
90 info /home/server/teste/node_modules/imagemagick-native unbuild
91 verbose from cache /home/server/teste/node_modules/imagemagick-native/package.json
92 info preuninstall imagemagick-native@0.2.0
93 info uninstall imagemagick-native@0.2.0
94 verbose true,/home/server/teste/node_modules,/home/server/teste/node_modules unbuild imagemagick-native@0.2.0
95 info postuninstall imagemagick-native@0.2.0
96 error imagemagick-native@0.2.0 install: `node-gyp rebuild`
96 error `sh "-c" "node-gyp rebuild"` failed with 1
97 error Failed at the imagemagick-native@0.2.0 install script.
97 error This is most likely a problem with the imagemagick-native package,
97 error not with npm itself.
97 error Tell the author that this fails on your system:
97 error node-gyp rebuild
97 error You can get their info via:
97 error npm owner ls imagemagick-native
97 error There is likely additional logging output above.
98 error System Linux 3.2.0-40-generic
99 error command "/usr/bin/node" "/usr/bin/npm" "install" "imagemagick-native"
100 error cwd /home/server/teste
101 error node -v v0.10.4
102 error npm -v 1.2.18
103 error code ELIFECYCLE
104 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment