pimatic / pimatic-sysinfo

Plugin for displaying system and process information such as CPU and Memory usage for pimatic
https://pimatic.org/
GNU General Public License v2.0
2 stars 4 forks source link

error installing sysinfo (nsutil) #8

Closed nicochi closed 9 years ago

nicochi commented 9 years ago

I cannot install sysinfo as nsutil fails to compile.

Same error if I install via plugin in config.json, or with "npm install pimatic-sysinfo" from pimatic-app folder (as normal user or root).

See below the output of the "npm install pimatic-sysinfo" command. I can provide the npm-debug.log file if needed.

npm install pimatic-sysinfo
\
> nsutil@0.1.3 install /home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'
  CXX(target) Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o
  CXX(target) Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o
In file included from ../src/nsutil/nsutil_linux_funcs.cpp:1:0:
../src/nsutil/nsutil_linux_funcs.h:6:30: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:6:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:9:30: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:9:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:12:30: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:12:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:15:22: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:15:37: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:18:36: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:18:51: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:21:20: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:21:35: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:24:25: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:24:40: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:27:22: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:27:37: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.cpp:9:25: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:9:36: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_pid_exists(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:11:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:12:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:13:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:13:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:14:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:14:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:16:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:17:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:17:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:18:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:18:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:20:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:21:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:21:58: error: no matching function for call to 'v8::Boolean::New(bool)'
../src/nsutil/nsutil_linux_funcs.cpp:21:58: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:25:30: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:25:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_get(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:27:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:28:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:29:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:29:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:30:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:30:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:32:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:33:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:33:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:34:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:34:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:36:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:39:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:39:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:41:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:41:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:42:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:42:69: error: no matching function for call to 'v8::Integer::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:42:69: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:43:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:43:68: error: no matching function for call to 'v8::Integer::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:43:68: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:46:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:50:30: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:50:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_set(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:52:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:53:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:54:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:54:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:55:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:55:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:57:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:57:40: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:57:64: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:58:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:58:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:59:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:59:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:62:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:63:26: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:64:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:67:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:67:39: error: no matching function for call to 'v8::Integer::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:67:39: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:77:28: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:77:39: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_linux_prlimit(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:79:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:80:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:80:34: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:87:30: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:87:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_disk_partitions(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:89:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:94:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:94:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:97:49: error: invalid conversion from 'std::vector<std::vector<std::basic_string<char> > >::size_type {aka unsigned int}' to 'v8::Isolate*' [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]
../src/nsutil/nsutil_linux_funcs.cpp:100:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:100:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:102:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:103:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:104:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:105:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:106:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:107:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:108:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:109:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:115:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:121:22: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:121:33: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_sysinfo(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:123:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:128:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:128:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:131:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:131:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:133:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:134:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:134:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:135:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:136:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:136:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:137:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:138:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:138:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:139:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:140:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:140:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:141:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:142:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:142:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:143:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:144:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:144:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:147:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:153:36: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:153:47: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_cpu_affinity_get(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:155:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:156:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:157:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:157:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:158:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:158:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:160:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:161:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:161:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:162:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:162:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:164:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:168:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:168:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:171:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:171:40: error: no matching function for call to 'v8::Number::New(uint32_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:171:40: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:208:20: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:208:31: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_users(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:210:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:215:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:215:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:218:51: error: invalid conversion from 'std::vector<sutil_user_info>::size_type {aka unsigned int}' to 'v8::Isolate*' [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]
../src/nsutil/nsutil_linux_funcs.cpp:219:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:219:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:223:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:223:49: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:224:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:224:44: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:225:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:225:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:226:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:226:75: error: no matching function for call to 'v8::Number::New(float&)'
../src/nsutil/nsutil_linux_funcs.cpp:226:75: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:227:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:227:74: error: no matching function for call to 'v8::Boolean::New(bool&)'
../src/nsutil/nsutil_linux_funcs.cpp:227:74: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:232:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:239:22: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:239:33: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_sysconf(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:241:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:242:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:243:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:243:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:244:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:244:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:246:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:247:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:247:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:248:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:248:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:250:33: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:254:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:254:39: error: no matching function for call to 'v8::Number::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:254:39: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:255:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_users(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:233:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_cpu_affinity_get(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:172:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_sysinfo(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:148:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_disk_partitions(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:116:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_linux_prlimit(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_set(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_get(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_pid_exists(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
nsutil_linux.target.mk:85: recipe for target 'Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o' failed
make: *** [Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o] Error 1
make: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'
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:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.18.11+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil
gyp ERR! node -v v0.12.1
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Linux 3.18.11+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-sysinfo"
npm ERR! node v0.12.1
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! nsutil@0.1.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nsutil@0.1.3 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the nsutil 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 nsutil
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/pimatic-app/npm-debug.log
sweetpi commented 9 years ago

Sorry node v0.12 is not supported. Try with v0.10.