Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX support #3

Open
srossross opened this issue Mar 26, 2014 · 0 comments
Open

OSX support #3

srossross opened this issue Mar 26, 2014 · 0 comments

Comments

@srossross
Copy link

Here is the console log when i tried to install on mac osx:

(vm)mr_chomps:Tools sean$ npm install psutil
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/psutil
npm http 200 https://registry.npmjs.org/psutil
npm http GET https://registry.npmjs.org/psutil/-/psutil-0.0.3.tgz
npm http 200 https://registry.npmjs.org/psutil/-/psutil-0.0.3.tgz

> [email protected] install /Users/sean/Tools/node_modules/psutil
> node-gyp rebuild

  CXX(target) Release/obj.target/psutil_lib_osx/lib/psutil_lib_osx.o
../lib/psutil_lib_osx.cc:92:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:115:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:135:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:155:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:175:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:193:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:213:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:239:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:260:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:287:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
../lib/psutil_lib_osx.cc:311:3: error: no matching function for call to 'uv_queue_work'
  uv_queue_work(uv_default_loop(), &worker->request, PSUtilLib::Process, PSUtilLib::After);
  ^~~~~~~~~~~~~
/Users/sean/.node-gyp/0.10.21/deps/uv/include/uv.h:1432: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,
              ^
11 errors generated.
make: *** [Release/obj.target/psutil_lib_osx/lib/psutil_lib_osx.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/sean/anaconda/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.1.0
gyp ERR! command "node" "/Users/sean/anaconda/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/sean/Tools/node_modules/psutil
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok 
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the psutil 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 psutil
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/Users/sean/anaconda/bin/npm" "install" "psutil"
npm ERR! cwd /Users/sean/Tools
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/sean/Tools/npm-debug.log
npm ERR! not ok code 0
(vm)mr_chomps:Tools sean$ npm --version
1.4.6
(vm)mr_chomps:Tools sean$ node --version
v0.10.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant