-
Notifications
You must be signed in to change notification settings - Fork 604
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
Instalation error on Mac OS X Lion 10.7.4 #57
Comments
I just released version 1.0.7 with a complete overhaul of the native module building process. It seems to work for me across the board. Try that and let me know how you fare. |
Hi Finally I upgrade all:
And I have attempted install it another time, but seems that i have same problem:
Are there extra requirements(like Windows systems) needed to compile it? |
It looks like the "make" command can't find your C++ compiler. Have you compiled other software on the command line before? I recommend installing Homebrew and compiling something small with that. I suspect once you have Homebrew working, this will work as well. Homebrew can be found here: http://mxcl.github.com/homebrew/ However, as of version 1.0.7, WebSocket-Node will now still work even though the native module compilation failed. I added JavaScript fallback implementations. It won't be as fast, and it won't validate against receiving invalid UTF-8 data, but otherwise it will work just fine. Brian Sent from my iPhone On Aug 14, 2012, at 12:35 PM, makensi notifications@github.com wrote:
|
This is an XCode configuration issue on your machine. Are you sure you have the command line tools installed? |
Any update on this? |
Closing, as I don't believe this to be an issue with WebSocket-Node. |
Hi, Sorry but i took several vacation days :P. Finally, I found it. Seems that exists something wrong inside global node modules. After remove them (global node_modules directory) compilation was perfect.
Thanks for all your help. |
hi buddy, Can you explain what is "global node_modules directory" and how to change it ? thanks a lot! |
Hi, I thought that it was related with an one update that I did on my node installation with pkg installator. I just remove all modules under:
And finally I have reinstalled them; mainly gyp module which was throwing errors every websocket module built. I hope that it will be useful for you |
Indeed, I have not used the pkg installer for Mac OS X and instead use nvm to install node, as I expect the vast majority of other developers do as well. This is far preferable since it allows you to switch instantly between multiple versions of node to test things. Before using nvm, I generally used Homebrew or compiled and installed from the node.js source manually, which was also quite easy to do. |
Job done! Thanks for your adivse. so the officall nod.js install in /usr/local/lib and /usr/local/bin shao19@mac:~/nvm/V0.8.6/bin > ll this is the whole different pathway that the websocket makefile can't not find the nod.js header file.so the issue appeared. |
I have no idea how that could be, since the Makefile doesn't reference any paths directly at all. https://github.com/Worlize/WebSocket-Node/blob/0a05f4ede0c2f70381ee6f0e20bcc04aefa467c0/Makefile |
If there is a bug relating to paths, it's a bug in node-gyp, which is responsible for creating all the platform-specific artifacts required to do a native module compilation, not in websocket-node. |
Hi there,
I want to appologize beacuse i think that it's not new topic(as I read) and I don't want to disturb anybody. I tried to install it, but seems impossible and I think that I'm doing something wrong.
Requirements Information:
Xcode
(4.3) tools available in path:/Applications/Xcode.app/Contents/Developer/usr/bin/
(which
shows information forgcc
c++
andg++
).0.8.4
Node and finally i changed it to0.6.13
as appear inREADME.md
as last option but result was the same.This is the stack (with node
0.6.13
):If there is something else that you need, let me know it.
Thanks in advance.
The text was updated successfully, but these errors were encountered: