Closed taoeffect closed 9 years ago
Gnaaah, they keep breaking nan with new io.js releases. Upgrading nan should do the trick.
Except that nan 2 breaks lots of other stuff. I put this on my todo, hopefully until the end of the week.
Guess this have to wait for a bit. There is no documentation on the upgrade process for NAN v2 (yet).
Are we sure this issue is fixed?
Travis still erroring with it: https://travis-ci.org/okTurtles/dnschain/jobs/77775121
Atleast our own build didn't fail: https://travis-ci.org/redis/hiredis-node/jobs/76797442
I'll look into this tomorrow.
@taoeffect I can't reproduce it locally. It builds just fine for me with the latest io.js. Even a npm install
in your dnschain project works (after changing it to latest hiredis-node, not sure where your commit for this ended up)
@badboy This appears to be due to a difference between our .travis.yml
files. Yours explicitly installs g++-4.8, whereas ours uses the default settings.
So, since most people don't customize their .travis.yml
file in this way, is it possible to make it work with the defaults? If not, perhaps you can update your README to instruct people that hiredis
requires making customizations to .travis.yml
?
Thanks for checking, I see what I can do about it.
Latest node/io.js has gcc/g++ 4.8 as a prerequisite. gcc 4.6, which is the default on travis, is more than 3 years old, so moving on seems reasonable.
I will add it to the readme.
Awesome, thanks @badboy!
I had the same issue on CircleCI with hiredis 0.4.1 on node 4.2.0.
Adding this to circle.yml
fixed the problem:
machine:
pre:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 10
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 10
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
Thanks @badboy
I'm not sure whether this is related to #94, but I know this:
See the full error/build log here:
https://travis-ci.org/okTurtles/dnschain/jobs/74161603