You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to make an issue here just to document some of the things I had to do to get this working, although everything appears to be working now.
I'm installing hubot on a Webfaction shared server, running Centos6 and had to do a few things.
After cd-ing to my webapps/hubot application folder, I had to do an export PATH=$PWD/bin/:$PATH to make sure bin/hubot can be found.
Upgrade npm to 3.3.9 by doing:
npm install -g npm
Make sure npm uses python 2.7 by doing:
npm config set python /usr/local/bin/python2.7
Update node-gyp:
npm install -g node-gyp
Tell node-gyp to use python 2.7, too:
node-gyp --python /usr/local/bin/python2.7
After those steps, a number of problems went away, but, it still wouldn't work fully, claiming "Failed at the [email protected] install script 'node-gyp rebuild'.". Confirming on both buffertools and node-gyp repos, it appears you need a more advanced gcc, than what is provided by default for Centos6, which is what Webfaction maintains by default.
The gcc upgrade takes quite a while, so it's best to do a screen session and run it in that. When it is done, you can exit and re enter your terminal, try npm upgrade again, and voilà!, it works.
The text was updated successfully, but these errors were encountered:
RickCogley
changed the title
Various issues resolved
Various issues resolved - re buffertools and node-gyp rebuild
Oct 26, 2015
This email message and any attachments are confidential, and are meant to
be read by the intended recipient only. If you are not the intended
recipient, we would request you delete this message or any attachments
without reading or distributing, and kindly advise eSolia Inc. (contacts:
esolia.com/about http://esolia.com/about). Thank you in advance.
I wanted to make an issue here just to document some of the things I had to do to get this working, although everything appears to be working now.
I'm installing hubot on a Webfaction shared server, running Centos6 and had to do a few things.
After cd-ing to my webapps/hubot application folder, I had to do an
export PATH=$PWD/bin/:$PATH
to make sure bin/hubot can be found.Upgrade npm to 3.3.9 by doing:
Make sure npm uses python 2.7 by doing:
Update node-gyp:
Tell node-gyp to use python 2.7, too:
After those steps, a number of problems went away, but, it still wouldn't work fully, claiming "Failed at the [email protected] install script 'node-gyp rebuild'.". Confirming on both buffertools and node-gyp repos, it appears you need a more advanced gcc, than what is provided by default for Centos6, which is what Webfaction maintains by default.
So, you then setup GCC 4.8+, which is C++11-capable, per: https://community.webfaction.com/questions/14581/compiling-gcc-48
The gcc upgrade takes quite a while, so it's best to do a
screen
session and run it in that. When it is done, you can exit and re enter your terminal, trynpm upgrade
again, and voilà!, it works.The text was updated successfully, but these errors were encountered: