-
Notifications
You must be signed in to change notification settings - Fork 68
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
Can't compile in mac osx lion #25
Comments
It looks like something along the way is struggling with spaces in the build path: clang: error: no such file or directory: 'HD/ericchaves/Projects/nodejs/node-restify/node_modules/dtrace-provider/libusdt' That looks like the part of the path after "/Volumes/Macintosh". Could you try installing without npm, by cloning this repo and doing $ V=1 node-gyp rebuild in the checkout, which will skip npm and show full paths in the output. Thanks. |
Hi @chrisa, I think you got it right. It seems that libusdt-build.sh is the one struggling with the path.
|
Thanks for that - I can replicate this issue by deliberately creating a directory with spaces in its name. I think that this is a node-gyp bug, though: nodejs/node-gyp#65 Are you able to install other node extensions which use gyp and have native components, like the contextify module shown in the bug report? |
Hi @chrisa, indeed the problem was node-gyp not being able to compile when under a path with spaces. In my case I was able to rename the HD to "Macintosh_HD" and after that all went well. Cheers, Eric |
Hi folks,
When I try to install dtrace-provider in a mac osx lion (10.7.5) the compilation fails with the error below. Any ideas on what could be wrong?
Thanks for any help
The text was updated successfully, but these errors were encountered: