--- misc/xoa-installer/xoa-installer.sh 2016/03/19 12:02:38 2984 +++ misc/xoa-installer/xoa-installer.sh 2016/03/28 15:43:06 2989 @@ -3,7 +3,10 @@ # Note: this script works on debian 7 /wheezy # I haven't yet managed to get it to work on deb8/jessie - +# +# If running on a raspberry 1(A/B) raspian/wheezy - downgrade node.js to 5.4.0 +# Please note that raspian/wheezy for arm defaults to gcc 4.6 +# gcc 4.7 is needed for compiling node-js modules BRANCH=master @@ -57,7 +60,7 @@ if [ ! -f "/usr/include/libpng12/png.h" ] ; then echo "installing libpng" - apt-get install libpng12-dev + apt-get install libpng12-dev || exit fi if [ ! -x "/usr/bin/redis-server" ] ; then @@ -67,7 +70,7 @@ if [ ! -x "/usr/bin/git" ] ; then echo "installing git" - apt-get install git + apt-get install git || exit fi @@ -84,22 +87,22 @@ if [ ! -x "/usr/local/bin/gulp" ] ; then echo "installing gulp" - npm install -g gulp + npm install -g gulp || exit fi if [ ! -x "/usr/local/bin/forever" ] ; then echo "installing forever" - npm install -g forever + npm install -g forever || exit fi if [ ! -x "/usr/local/bin/node-gyp" ] ; then echo "installing node-gyp" - npm install -g node-gyp + npm install -g node-gyp || exit fi if [ ! -d "/usr/local/lib/node_modules/bcrypt" ] ; then echo "installing bcrypt" - npm install -g bcrypt + npm install -g bcrypt || exit fi if [ ! -d "xo-web" ] ; then