redis / hiredis-node

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

Cant get hiredis to built correctly on mac os either ...see issue number 48. #49

Closed larry-eliems closed 10 years ago

larry-eliems commented 10 years ago

hiredis@0.1.16 install /Users/xxxx/xxx/workflow-application/node_modules/hiredis node-gyp rebuild

CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o ../deps/hiredis/hiredis.c:33:10: fatal error: 'string.h' file not found

include

     ^

1 error generated. make: *\ [Release/obj.target/hiredis/deps/hiredis/hiredis.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 13.0.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/xxxx/xx/workflow-application/node_modules/hiredis gyp ERR! node -v v0.10.24 gyp ERR! node-gyp -v v0.12.1 gyp ERR! not ok

pietern commented 10 years ago

Looks like you don't have system headers installed. Did you install Xcode or some other compiler?

Closing this issue, because it is an environment problem. We can continue talking about your problem here, though.

larry-eliems commented 10 years ago

Thanks pietern,

I have fixed this. Basically i had issues with Xcode command line tools.