msgpack / msgpack-node

MessagePack implementation for Node.js
Other
311 stars 71 forks source link

Install with Node v0.10.24 #11

Closed salehsed closed 10 years ago

salehsed commented 10 years ago

Error for install msgpack on ubuntu 12.4 + Node v0.10.24

'''' sudo npm install msgpack -g /usr/bin/json2msgpack -> /usr/lib/node_modules/msgpack/bin/json2msgpack /usr/bin/msgpack2json -> /usr/lib/node_modules/msgpack/bin/msgpack2json

msgpack@0.2.1 install /usr/lib/node_modules/msgpack node-gyp rebuild

gyp http GET http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: EPERM, utime '/home/ubuntu/.node-gyp/0.10.24' gyp ERR! System Linux 3.2.0-57-virtual gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/msgpack gyp ERR! node -v v0.10.24 gyp ERR! node-gyp -v v0.12.1 gyp ERR! This is a bug in node-gyp. gyp ERR! Try to update node-gyp and file an Issue if it does not help: gyp ERR! https://github.com/TooTallNate/node-gyp/issues npm ERR! msgpack@0.2.1 install: node-gyp rebuild npm ERR! Exit status 7 npm ERR! npm ERR! Failed at the msgpack@0.2.1 install script. npm ERR! This is most likely a problem with the msgpack 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 msgpack npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.2.0-57-virtual npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "msgpack" "-g" npm ERR! cwd /usr/local/MYPROJ/node/node.js npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /usr/local/MYPROJ/node/node.js/npm-debug.log npm ERR! not ok code 0 ''''

godsflaw commented 10 years ago

might be related to: https://github.com/pgriess/node-msgpack/issues/53

Even though that is a local install, something must have changed in node v0.10.24.

deepak1556 commented 10 years ago

it builds perfectly with 0.10.24, Also tried with 0.10.22 , fails only with 0.11.x

EDIT: @godsflaw works fine with 0.11.0, my mistake trying out with 0.11.11 directly "which is busted". But the code needs changes for compatiblity when 0.12 comes out, could change over to using NAN

godsflaw commented 10 years ago

@deepak1556, @salehsed, can you let me know if msgpack v0.2.2 works for you? I just updated npm and master. This should update msgpack and appears to compile for me and a few others on 0.10.x.

@deepak1556, if we have problems with compatibility under 0.12.x (when it gets here), we should open a ticket and try to resolve that before node 0.12.x is out.

hden commented 10 years ago

@godsflaw It works for me with v0.10.24.

godsflaw commented 10 years ago

This specific issue appears resolved, but we need to look into node v0.11.x soon.

deepak1556 commented 10 years ago

:+1: