redis / hiredis-node

Node wrapper for hiredis
BSD 3-Clause "New" or "Revised" License
305 stars 84 forks source link

Can't build with Node v4.0.0 #99

Closed chrisportela closed 9 years ago

chrisportela commented 9 years ago
npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/cp/.nvm/versions/node/v4.0.0/bin/node" "/Users/cp/.nvm/versions/node/v4.0.0/bin/npm" "update"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2
npm ERR! code ELIFECYCLE

npm ERR! hiredis@0.3.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hiredis@0.3.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the hiredis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls hiredis
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/cp/Code/ccc/frontend/src/npm-debug.log

There is no debug log when I checked.

chrisportela commented 9 years ago

My gcc and g++ version info

cp at Chriss-MacBook-Pro in ~/Code/frontend/src/node_modules (master●)
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

cp at Chriss-MacBook-Pro in ~/Code/frontend/src/node_modules (master●)
$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

Not seeing a version so maybe I'm not using GCC. I'm gonna try to ensure GCC is installed/updated and retry. In previous version this worked, although I saw an issue where you said this was more important now.

chrisportela commented 9 years ago

Didn't realize I needed to git submodule .... Everything works.