-
-
Save anonymous/2505271 to your computer and use it in GitHub Desktop.
Errors installing ws
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
which node | |
/usr/local/bin/node | |
node -v | |
v0.7.9-pre | |
npm -v | |
1.1.18 | |
uname -a | |
Darwin tuni.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 | |
sudo npm install ws | |
npm http GET https://registry.npmjs.org/ws | |
npm http 304 https://registry.npmjs.org/ws | |
> ws@0.4.13 preinstall /Users/tsutton/dev/karmaleague/node_modules/ws | |
> make | |
node-waf configure build | |
Checking for program g++ or c++ : /opt/local/bin/g++ | |
Checking for program cpp : /opt/local/bin/cpp | |
Checking for program ar : /opt/local/bin/ar | |
Checking for program ranlib : /opt/local/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : ok /Users/tsutton/.node_libraries | |
Checking for node prefix : not found | |
'configure' finished successfully (0.155s) | |
Waf: Entering directory `/Users/tsutton/dev/karmaleague/node_modules/ws/build' | |
[1/4] cxx: src/validation.cc -> build/default/src/validation_1.o | |
[2/4] cxx: src/bufferutil.cc -> build/default/src/bufferutil_2.o | |
../src/validation.cc:7:16: error: v8.h: No such file or directory | |
../src/validation.cc:8:18: error: node.h: No such file or directory | |
../src/validation.cc:9:25: error: node_buffer.h: No such file or directory | |
../src/validation.cc:10:30: error: node_object_wrap.h: No such file or directory | |
../src/bufferutil.cc:7:16: error: v8.h: No such file or directory | |
../src/bufferutil.cc:8:18: error: node.h: No such file or directory | |
../src/bufferutil.cc:9:25: error: node_buffer.h: No such file or directory | |
../src/bufferutil.cc:10:30: error: node_object_wrap.h: No such file or directory | |
../src/bufferutil.cc:16: error: ‘v8’ is not a namespace-name | |
../src/bufferutil.cc:16: error: expected namespace-name before ‘;’ token | |
../src/bufferutil.cc:17: error: ‘node’ is not a namespace-name | |
../src/bufferutil.cc:17: error: expected namespace-name before ‘;’ token | |
../src/bufferutil.cc:20: error: expected class-name before ‘{’ token | |
../src/bufferutil.cc:23: error: ‘v8’ has not been declared | |
../src/bufferutil.cc:23: error: expected ‘,’ or ‘...’ before ‘<’ token | |
../src/bufferutil.cc:36: error: ISO C++ forbids declaration of ‘Handle’ with no type | |
../src/bufferutil.cc:36: error: expected ‘;’ before ‘<’ token | |
../src/bufferutil.cc:44: error: expected `;' before ‘static’ | |
../src/bufferutil.cc:44: error: ISO C++ forbids declaration of ‘Handle’ with no type | |
../src/bufferutil.cc:44: error: expected ‘;’ before ‘<’ token | |
../src/bufferutil.cc:113: error: expected `;' at end of input | |
../src/bufferutil.cc:113: error: expected `}' at end of input | |
../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(int)’: | |
../src/bufferutil.cc:25: error: ‘HandleScope’ was not declared in this scope | |
../src/bufferutil.cc:25: error: expected `;' before ‘scope’ | |
../src/bufferutil.cc:26: error: ‘Local’ was not declared in this scope | |
../src/bufferutil.cc:26: error: ‘FunctionTemplate’ was not declared in this scope | |
../src/bufferutil.cc:26: error: ‘t’ was not declared in this scope | |
../src/bufferutil.cc:26: error: ‘FunctionTemplate’ is not a class or namespace | |
../src/bufferutil.cc:26: error: ‘New’ was not declared in this scope | |
../src/bufferutil.cc:28: error: ‘Unmask’ is not a member of ‘BufferUtil’ | |
../src/bufferutil.cc:28: error: ‘NODE_SET_METHOD’ was not declared in this scope | |
../src/bufferutil.cc:29: error: ‘Mask’ is not a member of ‘BufferUtil’ | |
../src/bufferutil.cc:30: error: ‘Merge’ is not a member of ‘BufferUtil’ | |
../src/bufferutil.cc:31: error: ‘target’ was not declared in this scope | |
../src/bufferutil.cc:31: error: ‘String’ has not been declared | |
../src/bufferutil.cc: At global scope: | |
../src/bufferutil.cc:32: error: expected unqualified-id at end of input | |
../src/validation.cc:15: error: ‘v8’ is not a namespace-name | |
../src/validation.cc:15: error: expected namespace-name before ‘;’ token | |
../src/validation.cc:16: error: ‘node’ is not a namespace-name | |
../src/validation.cc:16: error: expected namespace-name before ‘;’ token | |
../src/validation.cc:23: error: ‘uint8_t’ does not name a type | |
../src/validation.cc:34: error: ‘uint32_t’ does not name a type | |
../src/validation.cc:39: error: expected ‘,’ or ‘...’ before ‘*’ token | |
../src/validation.cc:39: error: ISO C++ forbids declaration of ‘uint8_t’ with no type | |
../src/validation.cc: In function ‘int isLegalUTF8(int)’: | |
../src/validation.cc:41: error: expected `;' before ‘a’ | |
../src/validation.cc:42: error: expected initializer before ‘*’ token | |
../src/validation.cc:43: error: ‘length’ was not declared in this scope | |
../src/validation.cc:49: error: ‘a’ was not declared in this scope | |
../src/validation.cc:49: error: ‘srcptr’ was not declared in this scope | |
../src/validation.cc:50: error: ‘a’ was not declared in this scope | |
../src/validation.cc:50: error: ‘srcptr’ was not declared in this scope | |
../src/validation.cc:51: error: ‘a’ was not declared in this scope | |
../src/validation.cc:51: error: ‘srcptr’ was not declared in this scope | |
../src/validation.cc:52: error: ‘source’ was not declared in this scope | |
../src/validation.cc:54: error: ‘a’ was not declared in this scope | |
../src/validation.cc:55: error: ‘a’ was not declared in this scope | |
../src/validation.cc:56: error: ‘a’ was not declared in this scope | |
../src/validation.cc:57: error: ‘a’ was not declared in this scope | |
../src/validation.cc:58: error: ‘a’ was not declared in this scope | |
../src/validation.cc:61: error: ‘source’ was not declared in this scope | |
../src/validation.cc:63: error: ‘source’ was not declared in this scope | |
../src/validation.cc: In function ‘int is_valid_utf8(size_t, char*)’: | |
../src/validation.cc:71: error: ‘uint32_t’ was not declared in this scope | |
../src/validation.cc:71: error: expected `;' before ‘ch’ | |
../src/validation.cc:72: error: ‘uint8_t’ was not declared in this scope | |
../src/validation.cc:72: error: expected `;' before ‘extrabytes’ | |
../src/validation.cc:74: error: ‘extrabytes’ was not declared in this scope | |
../src/validation.cc:77: error: expected primary-expression before ‘)’ token | |
../src/validation.cc:77: error: ‘extrabytes’ was not declared in this scope | |
../src/validation.cc:79: error: ‘extrabytes’ was not declared in this scope | |
../src/validation.cc:80: error: ‘ch’ was not declared in this scope | |
../src/validation.cc:80: error: expected `;' before ‘value’ | |
../src/validation.cc:81: error: expected `;' before ‘value’ | |
../src/validation.cc:82: error: expected `;' before ‘value’ | |
../src/validation.cc:83: error: expected `;' before ‘value’ | |
../src/validation.cc:84: error: expected `;' before ‘value’ | |
../src/validation.cc:85: error: expected `;' before ‘value’ | |
../src/validation.cc:88: error: ‘ch’ was not declared in this scope | |
../src/validation.cc:88: error: ‘offsetsFromUTF8’ was not declared in this scope | |
../src/validation.cc:88: error: ‘extrabytes’ was not declared in this scope | |
../src/validation.cc:90: error: expected `)' before numeric constant | |
../src/validation.cc:91: error: expected `)' before numeric constant | |
../src/validation.cc: At global scope: | |
../src/validation.cc:102: error: expected class-name before ‘{’ token | |
../src/validation.cc:105: error: ‘v8’ has not been declared | |
../src/validation.cc:105: error: expected ‘,’ or ‘...’ before ‘<’ token | |
../src/validation.cc:116: error: ISO C++ forbids declaration of ‘Handle’ with no type | |
../src/validation.cc:116: error: expected ‘;’ before ‘<’ token | |
../src/validation.cc:124: error: expected `;' before ‘static’ | |
../src/validation.cc:124: error: ISO C++ forbids declaration of ‘Handle’ with no type | |
../src/validation.cc:124: error: expected ‘;’ before ‘<’ token | |
../src/validation.cc:141: error: expected `;' at end of input | |
../src/validation.cc:141: error: expected `}' at end of input | |
../src/validation.cc: In static member function ‘static void Validation::Initialize(int)’: | |
../src/validation.cc:107: error: ‘HandleScope’ was not declared in this scope | |
../src/validation.cc:107: error: expected `;' before ‘scope’ | |
../src/validation.cc:108: error: ‘Local’ was not declared in this scope | |
../src/validation.cc:108: error: ‘FunctionTemplate’ was not declared in this scope | |
../src/validation.cc:108: error: ‘t’ was not declared in this scope | |
../src/validation.cc:108: error: ‘FunctionTemplate’ is not a class or namespace | |
../src/validation.cc:108: error: ‘New’ was not declared in this scope | |
../src/validation.cc:110: error: ‘IsValidUTF8’ is not a member of ‘Validation’ | |
../src/validation.cc:110: error: ‘NODE_SET_METHOD’ was not declared in this scope | |
../src/validation.cc:111: error: ‘target’ was not declared in this scope | |
../src/validation.cc:111: error: ‘String’ has not been declared | |
../src/validation.cc: At global scope: | |
../src/validation.cc:112: error: expected unqualified-id at end of input | |
Waf: Leaving directory `/Users/tsutton/dev/karmaleague/node_modules/ws/build' | |
Build failed: | |
-> task failed (err #1): | |
{task: cxx bufferutil.cc -> bufferutil_2.o} | |
-> task failed (err #1): | |
{task: cxx validation.cc -> validation_1.o} | |
make: *** [all] Error 1 | |
npm ERR! ws@0.4.13 preinstall: `make` | |
npm ERR! `sh "-c" "make"` failed with 2 | |
npm ERR! | |
npm ERR! Failed at the ws@0.4.13 preinstall script. | |
npm ERR! This is most likely a problem with the ws package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! make | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls ws | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System Darwin 10.8.0 | |
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ws" | |
npm ERR! cwd /Users/tsutton/dev/karmaleague | |
npm ERR! node -v v0.7.9-pre | |
npm ERR! npm -v 1.1.18 | |
npm ERR! code ELIFECYCLE | |
npm ERR! message ws@0.4.13 preinstall: `make` | |
npm ERR! message `sh "-c" "make"` failed with 2 | |
npm ERR! errno {} | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/tsutton/dev/karmaleague/npm-debug.log | |
npm not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment