Skip to content

OSX support #3

Description

@srossross

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 express-blueprints@0.0.0 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

> psutil@0.0.3 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! psutil@0.0.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the psutil@0.0.3 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions