Created
April 2, 2015 22:31
-
-
Save acidtib/4e3c1f09abc8f5681708 to your computer and use it in GitHub Desktop.
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
> [email protected] install /Users/arubinofaux/Code/lamassu-machine/node_modules/manatee | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/manatee/src/manatee.o | |
../src/manatee.cc:15:26: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? | |
Handle<Value> Scan(const Arguments& args) { | |
^~~~~~~~~ | |
v8::internal::Arguments | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here | |
class Arguments; | |
^ | |
../src/manatee.cc:16:15: error: calling a protected constructor of class 'v8::HandleScope' | |
HandleScope scope; | |
^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: note: declared protected here | |
V8_INLINE HandleScope() {} | |
^ | |
../src/manatee.cc:18:11: error: member access into incomplete type 'const v8::internal::Arguments' | |
if (args.Length() != 5) { | |
^ | |
8::internal::Arguments'e-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: forward declaration of 'v| | |
class Arguments; | |
^ | |
../src/manatee.cc:20:36: error: no member named 'New' in 'v8::String' | |
Exception::TypeError(String::New("scan requires 5 arguments")) | |
~~~~~~~~^ | |
../src/manatee.cc:24:33: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
Local<Object> bufferObj = args[0]->ToObject(); | |
~~~~^~ | |
../src/manatee.cc:27:23: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
int32_t ncols = args[1]->IntegerValue(); | |
~~~~^~ | |
../src/manatee.cc:28:23: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
int32_t nrows = args[2]->IntegerValue(); | |
~~~~^~ | |
../src/manatee.cc:29:27: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
uint32_t codeMask = args[3]->IntegerValue(); | |
~~~~^~ | |
../src/manatee.cc:30:27: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
int scanningLevel = args[4]->IntegerValue(); | |
~~~~^~ | |
../src/manatee.cc:34:36: error: no member named 'New' in 'v8::String' | |
Exception::TypeError(String::New("Image dimensions don't match image")) | |
~~~~~~~~^ | |
../src/manatee.cc:40:36: error: no member named 'New' in 'v8::String' | |
Exception::TypeError(String::New("Couldn't set barcode types")) | |
~~~~~~~~^ | |
../src/manatee.cc:49:36: error: no member named 'New' in 'v8::String' | |
Exception::TypeError(String::New("Couldn't set scanning level")) | |
~~~~~~~~^ | |
../src/manatee.cc:57:18: error: no member named 'Close' in 'v8::HandleScope' | |
return scope.Close(Null()); | |
~~~~~ ^ | |
../src/manatee.cc:57:24: error: no matching function for call to 'Null' | |
return scope.Close(Null()); | |
^~~~ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:6615:19: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided | |
Handle<Primitive> Null(Isolate* isolate) { | |
^ | |
../src/manatee.cc:60:3: error: unexpected namespace name 'Buffer': expected expression | |
Buffer *slowBuffer = Buffer::New(retval); | |
^ | |
../src/manatee.cc:60:11: error: use of undeclared identifier 'slowBuffer' | |
Buffer *slowBuffer = Buffer::New(retval); | |
^ | |
../src/manatee.cc:61:23: error: use of undeclared identifier 'slowBuffer' | |
memcpy(Buffer::Data(slowBuffer), p_data, retval); | |
^ | |
../src/manatee.cc:63:38: error: no member named 'GetCurrent' in 'v8::Context' | |
Local<Object> globalObj = Context::GetCurrent()->Global(); | |
~~~~~~~~~^ | |
../src/manatee.cc:64:84: error: no member named 'New' in 'v8::String' | |
Local<Function> bufferConstructor = Local<Function>::Cast(globalObj->Get(String::New("Buffer"))); | |
~~~~~~~~^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make: *** [Release/obj.target/manatee/src/manatee.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:110:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) | |
gyp ERR! System Darwin 14.1.0 | |
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/arubinofaux/Code/lamassu-machine/node_modules/manatee | |
gyp ERR! node -v v0.12.2 | |
gyp ERR! node-gyp -v v1.0.3 | |
gyp ERR! not ok | |
> [email protected] install /Users/arubinofaux/Code/lamassu-machine/node_modules/jpeg | |
> node-gyp configure build | |
CXX(target) Release/obj.target/jpeg/src/common.o | |
../src/common.cpp:10:17: error: calling a protected constructor of class 'v8::HandleScope' | |
HandleScope scope; | |
^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: note: declared protected here | |
V8_INLINE HandleScope() {} | |
^ | |
../src/common.cpp:11:37: error: no member named 'New' in 'v8::String' | |
return Exception::Error(String::New(msg)); | |
~~~~~~~~^ | |
../src/common.cpp:16:17: error: calling a protected constructor of class 'v8::HandleScope' | |
HandleScope scope; | |
^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: note: declared protected here | |
V8_INLINE HandleScope() {} | |
^ | |
../src/common.cpp:17:12: error: use of undeclared identifier 'ThrowException'; did you mean 'ErrorException'? | |
return ThrowException(ErrorException(msg)); | |
^~~~~~~~~~~~~~ | |
ErrorException | |
../src/common.cpp:8:1: note: 'ErrorException' declared here | |
ErrorException(const char *msg) | |
^ | |
../src/common.cpp:17:27: error: no viable conversion from 'Handle<v8::Value>' to 'const char *' | |
return ThrowException(ErrorException(msg)); | |
^~~~~~~~~~~~~~~~~~~ | |
../src/common.cpp:8:28: note: passing argument to parameter 'msg' here | |
ErrorException(const char *msg) | |
^ | |
5 errors generated. | |
make: *** [Release/obj.target/jpeg/src/common.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:110:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) | |
gyp ERR! System Darwin 14.1.0 | |
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" | |
gyp ERR! cwd /Users/arubinofaux/Code/lamassu-machine/node_modules/jpeg | |
gyp ERR! node -v v0.12.2 | |
gyp ERR! node-gyp -v v1.0.3 | |
gyp ERR! not ok | |
> [email protected] install /Users/arubinofaux/Code/lamassu-machine/node_modules/supyo | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/supyo/src/supyo.o | |
../src/supyo.cc:26:28: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'? | |
Handle<Value> Detect(const Arguments& args) { | |
^~~~~~~~~ | |
v8::internal::Arguments | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here | |
class Arguments; | |
^ | |
../src/supyo.cc:27:15: error: calling a protected constructor of class 'v8::HandleScope' | |
HandleScope scope; | |
^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:816:13: note: declared protected here | |
V8_INLINE HandleScope() {} | |
^ | |
../src/supyo.cc:29:33: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
Local<Object> bufferObj = args[0]->ToObject(); | |
~~~~^~ | |
../src/supyo.cc:33:23: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
int32_t ncols = args[1]->IntegerValue(); | |
~~~~^~ | |
../src/supyo.cc:34:23: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
int32_t nrows = args[2]->IntegerValue(); | |
~~~~^~ | |
../src/supyo.cc:35:25: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
int32_t minsize = args[3]->IntegerValue(); | |
~~~~^~ | |
../src/supyo.cc:36:29: error: type 'const v8::internal::Arguments' does not provide a subscript operator | |
float cutoff = (float)args[4]->NumberValue(); | |
~~~~^~ | |
../src/supyo.cc:69:16: error: no member named 'Close' in 'v8::HandleScope' | |
return scope.Close(Boolean::New(detected)); | |
~~~~~ ^ | |
../src/supyo.cc:69:43: error: too few arguments to function call, expected 2, have 1 | |
return scope.Close(Boolean::New(detected)); | |
~~~~~~~~~~~~ ^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:6194:1: note: 'New' declared here | |
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) { | |
^ | |
../src/supyo.cc:75:23: error: no member named 'NewSymbol' in 'v8::String' | |
target->Set(String::NewSymbol("detect"), | |
~~~~~~~~^ | |
10 errors generated. | |
make: *** [Release/obj.target/supyo/src/supyo.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:110:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) | |
gyp ERR! System Darwin 14.1.0 | |
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/arubinofaux/Code/lamassu-machine/node_modules/supyo | |
gyp ERR! node -v v0.12.2 | |
gyp ERR! node-gyp -v v1.0.3 | |
gyp ERR! not ok | |
> [email protected] install /Users/arubinofaux/Code/lamassu-machine/node_modules/serialport | |
> node-gyp rebuild | |
CXX(target) Release/obj.target/serialport/src/serialport.o | |
In file included from ../src/serialport.cpp:3: | |
In file included from ../src/serialport.h:5: | |
../node_modules/nan/nan.h:360:13: error: no member named 'New' in 'v8::String' | |
return _NAN_ERROR(v8::Exception::Error, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:340:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:364:5: error: no member named 'ThrowException' in namespace 'v8' | |
_NAN_THROW_ERROR(v8::Exception::Error, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:345:11: note: expanded from macro '_NAN_THROW_ERROR' | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
~~~~^ | |
../node_modules/nan/nan.h:364:5: error: no member named 'New' in 'v8::String' | |
_NAN_THROW_ERROR(v8::Exception::Error, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:345:26: note: expanded from macro '_NAN_THROW_ERROR' | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:340:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:369:9: error: no type named 'ThrowException' in namespace 'v8' | |
v8::ThrowException(error); | |
~~~~^ | |
../node_modules/nan/nan.h:376:65: error: no member named 'New' in 'v8::String' | |
v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg)); | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:378:26: error: no member named 'New' in 'v8::String' | |
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber)); | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:390:12: error: no member named 'New' in 'v8::String' | |
return _NAN_ERROR(v8::Exception::TypeError, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:340:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:394:5: error: no member named 'ThrowException' in namespace 'v8' | |
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:345:11: note: expanded from macro '_NAN_THROW_ERROR' | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
~~~~^ | |
../node_modules/nan/nan.h:394:5: error: no member named 'New' in 'v8::String' | |
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:345:26: note: expanded from macro '_NAN_THROW_ERROR' | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:340:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:398:12: error: no member named 'New' in 'v8::String' | |
return _NAN_ERROR(v8::Exception::RangeError, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:340:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:402:5: error: no member named 'ThrowException' in namespace 'v8' | |
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:345:11: note: expanded from macro '_NAN_THROW_ERROR' | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
~~~~^ | |
../node_modules/nan/nan.h:402:5: error: no member named 'New' in 'v8::String' | |
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:345:26: note: expanded from macro '_NAN_THROW_ERROR' | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:340:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:712:49: error: too few arguments to function call, single argument 'isolate' was not specified | |
v8::Local<v8::Object> obj = v8::Object::New(); | |
~~~~~~~~~~~~~~~ ^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:3: note: 'New' declared here | |
static Local<Object> New(Isolate* isolate); | |
^ | |
In file included from ../src/serialport.cpp:3: | |
In file included from ../src/serialport.h:5: | |
../node_modules/nan/nan.h:718:49: error: too few arguments to function call, single argument 'isolate' was not specified | |
v8::Local<v8::Object> obj = v8::Object::New(); | |
~~~~~~~~~~~~~~~ ^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:2388:3: note: 'New' declared here | |
static Local<Object> New(Isolate* isolate); | |
^ | |
In file included from ../src/serialport.cpp:3: | |
In file included from ../src/serialport.h:5: | |
../node_modules/nan/nan.h:725:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >' | |
handle.Dispose(); | |
~~~~~~ ^ | |
../node_modules/nan/nan.h:726:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >' | |
handle.Clear(); | |
~~~~~~ ^ | |
../node_modules/nan/nan.h:731:39: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'? | |
NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn); | |
^~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:177:38: note: expanded from macro 'NanSymbol' | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
~~~~~~~~~~~~^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:1379:8: note: 'IsSymbol' declared here | |
bool IsSymbol() const; | |
^ | |
In file included from ../src/serialport.cpp:3: | |
In file included from ../src/serialport.h:5: | |
../node_modules/nan/nan.h:731:39: error: call to non-static member function without an object argument | |
NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn); | |
^~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:177:38: note: expanded from macro 'NanSymbol' | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
~~~~~~~~~~~~^~~~~~~~~ | |
../node_modules/nan/nan.h:735:46: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'? | |
return NanPersistentToLocal(handle)->Get(NanSymbol("callback")) | |
^~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:177:38: note: expanded from macro 'NanSymbol' | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
~~~~~~~~~~~~^ | |
/Users/arubinofaux/.node-gyp/0.12.2/deps/v8/include/v8.h:1379:8: note: 'IsSymbol' declared here | |
bool IsSymbol() const; | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:110:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) | |
gyp ERR! System Darwin 14.1.0 | |
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/arubinofaux/Code/lamassu-machine/node_modules/serialport | |
gyp ERR! node -v v0.12.2 | |
gyp ERR! node-gyp -v v1.0.3 | |
gyp ERR! not ok | |
npm ERR! Darwin 14.1.0 | |
npm ERR! argv "node" "/usr/local/bin/npm" "install" | |
npm ERR! node v0.12.2 | |
npm ERR! npm v2.7.4 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. | |
npm ERR! This is most likely a problem with the manatee 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 manatee | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/arubinofaux/Code/lamassu-machine/npm-debug.log | |
Arubinos-Mac-Pro:lamassu-machine arubinofaux$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment