Created
March 20, 2014 09:12
-
-
Save hanxue/9659983 to your computer and use it in GitHub Desktop.
Homebrew libtool cause error for npm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install -g lame | |
npm http GET https://registry.npmjs.org/lame | |
npm http 200 https://registry.npmjs.org/lame | |
npm http GET https://registry.npmjs.org/bindings | |
npm http GET https://registry.npmjs.org/debug | |
npm http GET https://registry.npmjs.org/readable-stream | |
npm http 304 https://registry.npmjs.org/readable-stream | |
npm http 304 https://registry.npmjs.org/debug | |
npm http 304 https://registry.npmjs.org/bindings | |
npm http GET https://registry.npmjs.org/string_decoder | |
npm http 304 https://registry.npmjs.org/string_decoder | |
> lame@1.0.3 install /usr/local/lib/node_modules/lame | |
> node-gyp rebuild | |
deps/mpg123/test.target.mk:147: warning: overriding commands for target `Debug/test' | |
deps/lame/test.target.mk:155: warning: ignoring old commands for target `Debug/test' | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/VbrTag.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/bitstream.o | |
../deps/lame/libmp3lame/bitstream.c:990:34: warning: unused variable 'cfg' | |
[-Wunused-variable] | |
SessionConfig_t const *const cfg = &gfc->cfg; | |
^ | |
../deps/lame/libmp3lame/bitstream.c:991:32: warning: unused variable 'rsv' | |
[-Wunused-variable] | |
RpgStateVar_t const *const rsv = &gfc->sv_rpg; | |
^ | |
../deps/lame/libmp3lame/bitstream.c:992:24: warning: unused variable 'rov' | |
[-Wunused-variable] | |
RpgResult_t *const rov = &gfc->ov_rpg; | |
^ | |
3 warnings generated. | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/encoder.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/fft.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/gain_analysis.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/id3tag.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/lame.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/newmdct.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/presets.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/psymodel.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/quantize.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/quantize_pvt.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/reservoir.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/set_get.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/tables.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/takehiro.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/util.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/vbrquantize.o | |
CC(target) Debug/obj.target/mp3lame/deps/lame/libmp3lame/version.o | |
LIBTOOL-STATIC Debug/libmp3lame.a | |
libtool: unrecognized option `-static' | |
libtool: Try `libtool --help' for more information. | |
make: *** [Debug/libmp3lame.a] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) | |
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:101:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:827:12) | |
gyp ERR! System Darwin 13.0.0 | |
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /usr/local/lib/node_modules/lame | |
gyp ERR! node -v v0.11.9 | |
gyp ERR! node-gyp -v v0.12.1 | |
gyp ERR! not ok | |
npm ERR! lame@1.0.3 install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the lame@1.0.3 install script. | |
npm ERR! This is most likely a problem with the lame 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 lame | |
npm ERR! There is likely additional logging output above. | |
npm ERR! System Darwin 13.0.0 | |
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "lame" | |
npm ERR! cwd /Users/hanxue/Code/Node/spotify | |
npm ERR! node -v v0.11.9 | |
npm ERR! npm -v 1.3.23 | |
npm ERR! code ELIFECYCLE | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/hanxue/Code/Node/spotify/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