defvol / geobox

A virtual machine for geo stuff
3 stars 0 forks source link

Node installation is failing #2

Closed defvol closed 9 years ago

defvol commented 9 years ago
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of     make install && n 0.10.0
==> default:  ----
==> default: STDOUT: cp bin/n /usr/local/bin/n
==> default: /usr/local/bin/node
==> default: { 'target_defaults': { 'cflags': [],
==> default:                        'default_configuration': 'Release',
==> default:                        'defines': [],
==> default:                        'include_dirs': [],
==> default:                        'libraries': []},
==> default:   'variables': { 'clang': 0,
==> default:                  'gcc_version': 46,
==> default:                  'host_arch': 'x64',

Looks like we are on the wrong Ubuntu version for this. Vagrant precise is 32bit and node is expecting x64.

defvol commented 9 years ago

I'm wrong... n checks the arch platform: https://github.com/tj/n/blob/7831e76a57429afc6341a583febb99469db4d1dc/bin/n#L347

defvol commented 9 years ago

And we are on x64

precise64% uname -a
Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
defvol commented 9 years ago

Fixed by #4