Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

install.js default to i686 on non x64 linux #376

Closed
fg2it opened this issue Aug 31, 2015 · 0 comments · Fixed by #385
Closed

install.js default to i686 on non x64 linux #376

fg2it opened this issue Aug 31, 2015 · 0 comments · Fixed by #385

Comments

@fg2it
Copy link
Contributor

fg2it commented Aug 31, 2015

The install script default for non x64 linux is intel i686 :

if (process.platform === 'linux' && process.arch === 'x64') {
      downloadUrl += 'linux-x86_64.tar.bz2'
} else if (process.platform === 'linux') {
      downloadUrl += 'linux-i686.tar.bz2'
}

This should not be the case. process.arch should match a 32 bit platform before selecting this
This create nasty problems on arm hardware (e.g. raspberry).

A simple fix is simply to fail the install, a second one would be to build from src but I would prefere an official arm package (e.g. targeting raspberry :-) ) since building from src would probably take a long time on such hardware.

This was referenced Sep 21, 2015
fg2it referenced this issue in grafana/grafana Sep 29, 2015
…phantomjs based server side rendershould work on mac and linux, maybe even windows
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant