jeremyfa / node-exec-sync

IMPORTANT: This repository is no longer maintained.
48 stars 26 forks source link

ffi dependency fails on Node v0.10.4 (OSX 10.8.3) #19

Closed moskovich closed 11 years ago

moskovich commented 11 years ago

It appears to be failing here:

../src/ffi.cc:284:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), req,
  ^~~~~~~~~~~~~
/Users/mosko/.node-gyp/0.10.4/deps/uv/include/uv.h:1411:15: note: candidate function not
      viable: no known conversion from 'void (uv_work_t *)' to 'uv_after_work_cb' (aka
      'void (*)(uv_work_t *, int)') for 4th argument
UV_EXTERN int uv_queue_work(uv_loop_t* loop, uv_work_t* req,
              ^
1 error generated.
make: *** [Release/obj.target/ffi_bindings/src/ffi.o] Error 1

exec-sync requires dependencies: { ffi: '=1.1.2' }. Looking at ffi, as of April 26, 2013 it's on v1.2.5 already.

jeremyfa commented 11 years ago

I will make the change, but note that as it is said in the main page of the repo, I don't maintain this module anymore. I advice you use https://github.com/mgutz/execSync instead, which is doing the same thing.

moskovich commented 11 years ago

OK will do. Thanks for the help!