oransel/node-talib

Could not install talib in openshift env

Closed this issue · 2 comments

Could not install node-talib in the openshift environment.

gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)

It fails with this error.

Node version : 4.1.1

remote: ../node_modules/nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compiler

Below is the complete error log

remote: building talib functions...
remote: gyp info it worked if it ends with ok
remote: gyp info using node-gyp@3.0.3
remote: gyp info using node@4.1.1 | linux | x64
remote: gyp http GET https://nodejs.org/download/release/v4.1.1/node-v4.1.1-headers.tar.gz
remote: gyp http 200 https://nodejs.org/download/release/v4.1.1/node-v4.1.1-headers.tar.gz
remote: gyp http GET https://nodejs.org/download/release/v4.1.1/SHASUMS256.txt
remote: gyp http 200 https://nodejs.org/download/release/v4.1.1/SHASUMS256.txt
remote: gyp info spawn python2
remote: gyp info spawn args [ '/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
remote: gyp info spawn args   'binding.gyp',
remote: gyp info spawn args   '-f',
remote: gyp info spawn args   'make',
remote: gyp info spawn args   '-I',
remote: gyp info spawn args   '/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/build/config.gypi',
remote: gyp info spawn args   '-I',
remote: gyp info spawn args   '/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
remote: gyp info spawn args   '-I',
remote: gyp info spawn args   '/var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/common.gypi',
remote: gyp info spawn args   '-Dlibrary=shared_library',
remote: gyp info spawn args   '-Dvisibility=default',
remote: gyp info spawn args   '-Dnode_root_dir=/var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1',
remote: gyp info spawn args   '-Dnode_gyp_dir=/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp',
remote: gyp info spawn args   '-Dnode_lib_file=node.lib',
remote: gyp info spawn args   '-Dmodule_root_dir=/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib',
remote: gyp info spawn args   '--depth=.',
remote: gyp info spawn args   '--no-parallel',
remote: gyp info spawn args   '--generator-output',
remote: gyp info spawn args   'build',
remote: gyp info spawn args   '-Goutput_dir=.' ]
remote: gyp info ok 
remote: gyp info it worked if it ends with ok
remote: gyp info using node-gyp@3.0.3
remote: gyp info using node@4.1.1 | linux | x64
remote: gyp info spawn make
remote: gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
remote: make: Entering directory `/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/build'
remote:   CXX(target) Release/obj.target/talib/src/talib.o
remote: In file included from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
remote: In file included from /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/node.h:42,
remote:                  from ../src/talib.cpp:28:
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:336: error: expected unqualified-id before 'using'
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In constructor 'v8::MaybeLocal<T>::MaybeLocal()':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:353: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'bool v8::MaybeLocal<T>::IsEmpty() const':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:360: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:364: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'bool v8::WeakCallbackInfo<T>::IsFirstPass() const':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:430: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: At global scope:
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:469: error: expected unqualified-id before 'using'
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In constructor 'v8::Global<T>::Global()':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:790: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In constructor 'v8::Global<T>::Global(v8::Global<T>&&)':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:815: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:827: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: At global scope:
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:852: error: expected unqualified-id before 'using'
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:1089: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:1095: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:3205: error: 'nullptr' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:7151: error: 'nullptr' was not declared in this scope
remote: In file included from ../node_modules/nan/nan.h:194,
remote:                  from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan_maybe_43_inl.h: At global scope:
remote: ../node_modules/nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before 'using'
remote: ../node_modules/nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before 'using'
remote: ../node_modules/nan/nan_maybe_43_inl.h:19: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:24: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:31: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:36: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:41: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:46: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:51: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:60: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:65: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:70: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:77: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:84: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:92: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:99: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:109: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:115: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:119: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:126: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:131: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:136: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:140: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:146: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:151: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:157: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:163: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:169: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:175: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:181: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:187: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:195: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:202: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:206: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:210: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:214: error: expected initializer before '<' token
remote: ../node_modules/nan/nan_maybe_43_inl.h:218: error: expected initializer before '<' token
remote: In file included from ../node_modules/nan/nan.h:199,
remote:                  from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan_converters.h:14: error: ISO C++ forbids declaration of 'MaybeLocal' with no type
remote: ../node_modules/nan/nan_converters.h:14: error: expected ';' before '<' token
remote: ../node_modules/nan/nan_converters.h:16: error: ISO C++ forbids declaration of 'Maybe' with no type
remote: ../node_modules/nan/nan_converters.h:16: error: expected ';' before '<' token
remote: ../node_modules/nan/nan_converters.h:26: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:27: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:28: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:29: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:30: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:31: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:32: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:42: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:43: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:44: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:45: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_converters.h:46: error: 'return_t' does not name a type
remote: In file included from ../node_modules/nan/nan_converters.h:59,
remote:                  from ../node_modules/nan/nan.h:199,
remote:                  from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan_converters_43_inl.h:18: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Boolean>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:19: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Number>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:20: error: 'return_t' in class 'Nan::imp::ToFactory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:21: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Object>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:22: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Integer>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:23: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Uint32>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:24: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Int32>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:34: error: 'return_t' in class 'Nan::imp::ToFactory<bool>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:35: error: 'return_t' in class 'Nan::imp::ToFactory<double>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:36: error: 'return_t' in class 'Nan::imp::ToFactory<long int>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:37: error: 'return_t' in class 'Nan::imp::ToFactory<unsigned int>' does not name a type
remote: ../node_modules/nan/nan_converters_43_inl.h:38: error: 'return_t' in class 'Nan::imp::ToFactory<int>' does not name a type
remote: In file included from ../node_modules/nan/nan.h:200,
remote:                  from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]':
remote: ../node_modules/nan/nan_new.h:21: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
remote: ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]':
remote: ../node_modules/nan/nan_new.h:28: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
remote: ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]':
remote: ../node_modules/nan/nan_new.h:35: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
remote: ../node_modules/nan/nan_new.h: At global scope:
remote: ../node_modules/nan/nan_new.h:43: error: ISO C++ forbids declaration of 'MaybeLocal' with no type
remote: ../node_modules/nan/nan_new.h:43: error: expected ';' before '<' token
remote: ../node_modules/nan/nan_new.h:75: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:141: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:147: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:148: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:160: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:161: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:162: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:163: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:165: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:166: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:182: error: 'return_t' does not name a type
remote: ../node_modules/nan/nan_new.h:183: error: 'return_t' does not name a type
remote: In file included from ../node_modules/nan/nan_new.h:189,
remote:                  from ../node_modules/nan/nan.h:200,
remote:                  from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan_implementation_12_inl.h:56: error: 'return_t' in class 'Nan::imp::Factory<v8::Date>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)':
remote: ../node_modules/nan/nan_implementation_12_inl.h:90: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)':
remote: ../node_modules/nan/nan_implementation_12_inl.h:118: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan_implementation_12_inl.h: At global scope:
remote: ../node_modules/nan/nan_implementation_12_inl.h:197: error: 'return_t' in class 'Nan::imp::Factory<v8::RegExp>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:216: error: 'return_t' in class 'Nan::imp::Factory<v8::Script>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:222: error: 'return_t' in class 'Nan::imp::Factory<v8::Script>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:254: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:262: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:268: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:275: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:281: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:286: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:347: error: 'return_t' in class 'Nan::imp::Factory<v8::UnboundScript>' does not name a type
remote: ../node_modules/nan/nan_implementation_12_inl.h:354: error: 'return_t' in class 'Nan::imp::Factory<v8::UnboundScript>' does not name a type
remote: In file included from ../node_modules/nan/nan.h:200,
remote:                  from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan_new.h:293: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:299: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:305: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:311: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:317: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:323: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:329: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type
remote: ../node_modules/nan/nan_new.h:335: error: 'return_t' in class 'Nan::imp::Factory<v8::RegExp>' does not name a type
remote: In file included from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::Error(const char*)':
remote: ../node_modules/nan/nan.h:651: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowError(const char*)':
remote: ../node_modules/nan/nan.h:651: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::RangeError(const char*)':
remote: ../node_modules/nan/nan.h:652: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowRangeError(const char*)':
remote: ../node_modules/nan/nan.h:652: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::ReferenceError(const char*)':
remote: ../node_modules/nan/nan.h:653: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowReferenceError(const char*)':
remote: ../node_modules/nan/nan.h:653: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::SyntaxError(const char*)':
remote: ../node_modules/nan/nan.h:654: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowSyntaxError(const char*)':
remote: ../node_modules/nan/nan.h:654: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::TypeError(const char*)':
remote: ../node_modules/nan/nan.h:655: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowTypeError(const char*)':
remote: ../node_modules/nan/nan.h:655: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: At global scope:
remote: ../node_modules/nan/nan.h:663: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:685: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:701: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:714: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:731: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:737: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:745: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:752: error: expected initializer before '<' token
remote: ../node_modules/nan/nan.h:758: error: expected initializer before '<' token
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h: In member function 'void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)':
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'
remote: ../node_modules/nan/nan.h:1394: error:   in call to 'Set'
remote: ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
remote: ../node_modules/nan/nan.h:1516: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
remote: ../node_modules/nan/nan.h:1534: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In member function 'virtual void Nan::AsyncWorker::HandleErrorCallback()':
remote: ../node_modules/nan/nan.h:1568: error: no matching function for call to 'New(const char*)'
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))':
remote: ../node_modules/nan/nan.h:1857: error: there are no arguments to 'GetFunction' that depend on a template parameter, so a declaration of 'GetFunction' must be available
remote: ../node_modules/nan/nan.h:1857: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
remote: ../node_modules/nan/nan.h:1858: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))':
remote: ../node_modules/nan/nan.h:1870: error: 'GetFunction' was not declared in this scope
remote: ../node_modules/nan/nan.h:1871: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':
remote: ../node_modules/nan/nan.h:1896: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan.h: In function 'bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)':
remote: ../node_modules/nan/nan.h:1939: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)':
remote: ../node_modules/nan/nan.h:1987: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)':
remote: ../node_modules/nan/nan.h:2057: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)':
remote: ../node_modules/nan/nan.h:2112: error: 'NewInstance' was not declared in this scope
remote: ../node_modules/nan/nan.h: In function 'void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)':
remote: ../node_modules/nan/nan.h:2134: error: 'NewInstance' was not declared in this scope
remote: In file included from ../src/talib.cpp:29:
remote: ../node_modules/nan/nan.h: In function 'void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))':
remote: ../node_modules/nan/nan.h:2161: error: no matching function for call to 'New(const char*&)'
remote: ../node_modules/nan/nan.h:2162: error: 'GetFunction' was not declared in this scope
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'
remote: ../node_modules/nan/nan.h:2162: error:   in call to 'Set'
remote: ../node_modules/nan/nan.h: In constructor 'Nan::Tap::Tap(v8::Local<v8::Value>)':
remote: ../node_modules/nan/nan.h:2169: error: no matching function for call to 'To(v8::Local<v8::Value>&)'
remote: ../node_modules/nan/nan.h: In member function 'void Nan::Tap::ok(bool, const char*)':
remote: ../node_modules/nan/nan.h:2182: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: In member function 'void Nan::Tap::pass(const char*)':
remote: ../node_modules/nan/nan.h:2188: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'
remote: ../node_modules/nan/nan.h: At global scope:
remote: ../node_modules/nan/nan.h:2212: error: ISO C++ forbids declaration of 'MaybeLocal' with no type
remote: ../node_modules/nan/nan.h:2212: error: expected ';' before '<' token
remote: ../node_modules/nan/nan.h:2215: error: expected ';' before '}' token
remote: ../node_modules/nan/nan.h:2217: error: 'MaybeLocal' was not declared in this scope
remote: ../node_modules/nan/nan.h:2217: error: template argument 1 is invalid
remote: ../node_modules/nan/nan.h:2217: error: expected unqualified-id before '>' token
remote: ../node_modules/nan/nan.h:2226: error: expected constructor, destructor, or type conversion before '<' token
remote: ../src/talib.cpp:39: error: 'v8::Handle' has not been declared
remote: ../src/talib.cpp:47: error: 'Nan::GetFunction' has not been declared
remote: ../src/talib.cpp:50: error: 'Nan::Set' has not been declared
remote: ../src/talib.cpp:51: error: 'Nan::Get' has not been declared
remote: ../src/talib.cpp:58: error: 'Nan::HasOwnProperty' has not been declared
remote: ../src/talib.cpp: In function 'void REPORT_TA_ERROR(Nan::Callback*, TA_RetCode)':
remote: ../src/talib.cpp:83: error: no matching function for call to 'New(const char [6])'
remote: ../src/talib.cpp:83: error: no matching function for call to 'New(const char*&)'
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'
remote: ../src/talib.cpp:83: error:   in call to 'Set'
remote: ../src/talib.cpp: In function 'void REPORT_INTERNAL_ERROR(Nan::Callback*, const char*)':
remote: ../src/talib.cpp:93: error: no matching function for call to 'New(const char [6])'
remote: ../src/talib.cpp:93: error: no matching function for call to 'New(const char*&)'
remote: /var/lib/openshift/567474682d5271fb7800002c/.node-gyp/4.1.1/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'
remote: ../src/talib.cpp:93: error:   in call to 'Set'
remote: ../src/talib.cpp: In function 'double* V8_TO_DOUBLE_ARRAY(v8::Local<v8::Array>)':
remote: ../src/talib.cpp:108: error: 'Get' was not declared in this scope
remote: ../src/talib.cpp: At global scope:
remote: ../src/talib.cpp:116: error: expected initializer before '<' token
remote: ../src/talib.cpp:76: warning: 'void REPORT_TA_ERROR(Nan::Callback*, TA_RetCode)' defined but not used
remote: ../src/talib.cpp:88: warning: 'void REPORT_INTERNAL_ERROR(Nan::Callback*, const char*)' defined but not used
remote: ../src/talib.cpp:98: warning: 'double* V8_TO_DOUBLE_ARRAY(v8::Local<v8::Array>)' defined but not used
remote: make: *** [Release/obj.target/talib/src/talib.o] Error 1
remote: make: Leaving directory `/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/build'
remote: gyp ERR! build error 
remote: gyp ERR! stack Error: `make` failed with exit code: 2
remote: gyp ERR! stack     at ChildProcess.onExit (/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
remote: gyp ERR! stack     at emitTwo (events.js:87:13)
remote: gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
remote: gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
remote: gyp ERR! System Linux 2.6.32-573.12.1.el6.x86_64
remote: gyp ERR! command "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/bin/node" "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
remote: gyp ERR! cwd /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib
remote: gyp ERR! node -v v4.1.1
remote: gyp ERR! node-gyp -v v3.0.3
remote: gyp ERR! not ok 
remote: npm info preinstall isarray@0.0.1
remote: npm info preinstall string_decoder@0.10.31
remote: npm info preinstall core-util-is@1.0.2
remote: npm info preinstall inherits@2.0.1
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits
remote: npm info linkStuff isarray@0.0.1
remote: npm info linkStuff string_decoder@0.10.31
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is
remote: npm info linkStuff inherits@2.0.1
remote: npm info install isarray@0.0.1
remote: npm info install string_decoder@0.10.31
remote: npm info postinstall isarray@0.0.1
remote: npm info postinstall string_decoder@0.10.31
remote: npm info linkStuff core-util-is@1.0.2
remote: npm info install inherits@2.0.1
remote: npm info postinstall inherits@2.0.1
remote: npm info install core-util-is@1.0.2
remote: npm info postinstall core-util-is@1.0.2
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream
remote: npm info linkStuff readable-stream@1.1.13
remote: npm info install readable-stream@1.1.13
remote: npm info postinstall readable-stream@1.1.13
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect/node_modules/multiparty
remote: npm info linkStuff multiparty@2.2.0
remote: npm info install multiparty@2.2.0
remote: npm info postinstall multiparty@2.2.0
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express/node_modules/connect
remote: npm info linkStuff connect@2.12.0
remote: npm info install connect@2.12.0
remote: npm info postinstall connect@2.12.0
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/express
remote: npm info linkStuff express@3.4.8
remote: npm info install express@3.4.8
remote: npm info postinstall express@3.4.8
remote: npm info talib@1.0.2 Failed to exec install script
remote: npm ERR! Linux 2.6.32-573.12.1.el6.x86_64
remote: npm ERR! argv "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/bin/node" "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v4.1.1-linux-x64/bin/npm" "install" "-d"
remote: npm ERR! node v4.1.1
remote: npm ERR! npm  v2.14.4
remote: npm ERR! code ELIFECYCLE
remote: 
remote: npm ERR! talib@1.0.2 install: `node ./src/lib/build.js && node-gyp configure && node-gyp build`
remote: npm ERR! Exit status 1
remote: npm ERR! 
remote: npm ERR! Failed at the talib@1.0.2 install script 'node ./src/lib/build.js && node-gyp configure && node-gyp build'.
remote: npm ERR! This is most likely a problem with the talib package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR!     node ./src/lib/build.js && node-gyp configure && node-gyp build
remote: npm ERR! You can get their info via:
remote: npm ERR!     npm owner ls talib
remote: npm ERR! There is likely additional logging output above.
remote: npm info preuninstall talib@1.0.2
remote: npm info uninstall talib@1.0.2
remote: npm info postuninstall talib@1.0.2
remote: 
remote: npm ERR! Please include the following file with any support request:
remote: npm ERR!     /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/npm-debug.log
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: CLIENT_ERROR: Failed to execute action hook 'build' for 567474682d5271fb7800002c application screener2
remote: 
remote: For more details about the problem, try running the command again with the '--trace' option.

When trying with node 2.14.9 and npm 0.12.9

gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)

I got the below error,

remote: npm info it worked if it ends with ok
remote: npm info using npm@2.14.9
remote: npm info using node@v0.12.9
remote: npm info preinstall OpenShift-Nodejs-Cartridge@1.1.0
remote: npm info package.json restify@2.8.5 No license field.
remote: npm info attempt registry request try #1 at 4:43:48 PM
remote: npm http request GET https://registry.npmjs.org/talib
remote: npm http 304 https://registry.npmjs.org/talib
remote: npm info install talib@1.0.2 into /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo
remote: npm info installOne talib@1.0.2
remote: npm WARN engine talib@1.0.2: wanted: {"node":">=4.1.1"} (current: {"node":"0.12.9","npm":"2.14.9"})
remote: npm info preinstall talib@1.0.2
remote: npm info attempt registry request try #1 at 4:43:50 PM
remote: npm http request GET https://registry.npmjs.org/nan
remote: npm http 304 https://registry.npmjs.org/nan
remote: npm info install nan@2.1.0 into /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib
remote: npm info installOne nan@2.1.0
remote: npm info preinstall nan@2.1.0
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/node_modules/nan
remote: npm info linkStuff nan@2.1.0
remote: npm info install nan@2.1.0
remote: npm info postinstall nan@2.1.0
remote: npm info build /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib
remote: npm info linkStuff talib@1.0.2
remote: npm info install talib@1.0.2
remote: 
remote: > talib@1.0.2 install /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib
remote: > node ./src/lib/build.js && node-gyp configure && node-gyp build
remote: 
remote: building talib functions...
remote: gyp info it worked if it ends with ok
remote: gyp info using node-gyp@3.0.3
remote: gyp info using node@0.12.9 | linux | x64
remote: gyp http GET https://nodejs.org/dist/v0.12.9/node-v0.12.9.tar.gz
remote: gyp http 200 https://nodejs.org/dist/v0.12.9/node-v0.12.9.tar.gz
remote: gyp http GET https://nodejs.org/dist/v0.12.9/SHASUMS256.txt
remote: gyp http 200 https://nodejs.org/dist/v0.12.9/SHASUMS256.txt
remote: gyp info spawn python2
remote: gyp info spawn args [ '/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
remote: gyp info spawn args   'binding.gyp',
remote: gyp info spawn args   '-f',
remote: gyp info spawn args   'make',
remote: gyp info spawn args   '-I',
remote: gyp info spawn args   '/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/build/config.gypi',
remote: gyp info spawn args   '-I',
remote: gyp info spawn args   '/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
remote: gyp info spawn args   '-I',
remote: gyp info spawn args   '/var/lib/openshift/567474682d5271fb7800002c/.node-gyp/0.12.9/common.gypi',
remote: gyp info spawn args   '-Dlibrary=shared_library',
remote: gyp info spawn args   '-Dvisibility=default',
remote: gyp info spawn args   '-Dnode_root_dir=/var/lib/openshift/567474682d5271fb7800002c/.node-gyp/0.12.9',
remote: gyp info spawn args   '-Dnode_gyp_dir=/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/lib/node_modules/npm/node_modules/node-gyp',
remote: gyp info spawn args   '-Dnode_lib_file=node.lib',
remote: gyp info spawn args   '-Dmodule_root_dir=/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib',
remote: gyp info spawn args   '--depth=.',
remote: gyp info spawn args   '--no-parallel',
remote: gyp info spawn args   '--generator-output',
remote: gyp info spawn args   'build',
remote: gyp info spawn args   '-Goutput_dir=.' ]
remote: gyp info ok 
remote: gyp info it worked if it ends with ok
remote: gyp info using node-gyp@3.0.3
remote: gyp info using node@0.12.9 | linux | x64
remote: gyp info spawn make
remote: gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
remote: make: Entering directory `/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/build'
remote:   CXX(target) Release/obj.target/talib/src/talib.o
remote: ../src/talib.cpp:42: error: 'v8::MaybeLocal' has not been declared
remote: ../src/talib.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Explain(const Nan::FunctionCallbackInfo<v8::Value>&)':
remote: ../src/talib.cpp:367: error: no matching function for call to 'Nan::ReturnValue<v8::Value>::Set(v8::Handle<v8::Value>)'
remote: ../node_modules/nan/nan_callbacks_12_inl.h:46: note: candidates are: void Nan::ReturnValue<T>::Set(bool) [with T = v8::Value]
remote: ../node_modules/nan/nan_callbacks_12_inl.h:51: note:                 void Nan::ReturnValue<T>::Set(double) [with T = v8::Value]
remote: ../node_modules/nan/nan_callbacks_12_inl.h:56: note:                 void Nan::ReturnValue<T>::Set(int32_t) [with T = v8::Value]
remote: ../node_modules/nan/nan_callbacks_12_inl.h:61: note:                 void Nan::ReturnValue<T>::Set(uint32_t) [with T = v8::Value]
remote: ../src/talib.cpp: In function 'void Init(v8::Handle<v8::Object>, v8::Handle<v8::Object>)':
remote: ../src/talib.cpp:1065: error: call of overloaded 'SetAccessor(v8::Handle<v8::Object>&, v8::Local<v8::String>, Nan::NAN_GETTER_RETURN_TYPE (&)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&))' is ambiguous
remote: ../node_modules/nan/nan.h:1922: note: candidates are: bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)
remote: ../node_modules/nan/nan.h:1878: note:                 void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)
remote: ../src/talib.cpp:1066: error: call of overloaded 'SetAccessor(v8::Handle<v8::Object>&, v8::Local<v8::String>, Nan::NAN_GETTER_RETURN_TYPE (&)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&))' is ambiguous
remote: ../node_modules/nan/nan.h:1922: note: candidates are: bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)
remote: ../node_modules/nan/nan.h:1878: note:                 void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)
remote: make: *** [Release/obj.target/talib/src/talib.o] Error 1
remote: make: Leaving directory `/var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib/build'
remote: gyp ERR! build error 
remote: gyp ERR! stack Error: `make` failed with exit code: 2
remote: gyp ERR! stack     at ChildProcess.onExit (/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
remote: gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
remote: gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1075:12)
remote: gyp ERR! System Linux 2.6.32-573.12.1.el6.x86_64
remote: gyp ERR! command "node" "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
remote: gyp ERR! cwd /var/lib/openshift/567474682d5271fb7800002c/app-root/runtime/repo/node_modules/talib
remote: gyp ERR! node -v v0.12.9
remote: gyp ERR! node-gyp -v v3.0.3
remote: gyp ERR! not ok 
remote: npm info talib@1.0.2 Failed to exec install script
remote: npm ERR! Linux 2.6.32-573.12.1.el6.x86_64
remote: npm ERR! argv "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/bin/node" "/var/lib/openshift/567474682d5271fb7800002c/app-root/data/node-v0.12.9-linux-x64/bin/npm" "install" "-d"
remote: npm ERR! node v0.12.9
remote: npm ERR! npm  v2.14.9

I am in no way even a C++ beginner, but I got it to compile + run the examples.

diff --git a/package.json b/package.json
index 63c2232..6fda831 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
     "node": ">=4.1.1"
   },
   "dependencies": {
-    "nan": "^2.0.9"
+    "nan": "^2.2.0"
   },
   "devDependencies": {},
   "optionalDependencies": {},
diff --git a/src/talib.cpp b/src/talib.cpp
index 87748d7..6e4381d 100644
--- a/src/talib.cpp
+++ b/src/talib.cpp
@@ -39,7 +39,7 @@ using v8::ObjectTemplate;
 using v8::Handle;
 using v8::Object;
 using v8::Local;
-using v8::MaybeLocal;
+using Nan::MaybeLocal;
 using v8::Value;
 using v8::String;
 using v8::Number;
@@ -346,7 +346,7 @@ NAN_GETTER(Functions) {
     info.GetReturnValue().Set(func_array);
 }

-NAN_METHOD(Explain) {
+/*NAN_METHOD(Explain) {
     HandleScope();

     // Check if any arguments are passed
@@ -365,7 +365,7 @@ NAN_METHOD(Explain) {
     Utf8String func_name(info[0]->ToString());

     info.GetReturnValue().Set(TA_EXPLAIN_FUNCTION(*func_name));
-}
+}*/

 NAN_GETTER(FunctionUnstIds) {

@@ -1062,11 +1062,11 @@ void Init(Handle<Object> exports, Handle<Object> module) {
     Set(exports, New<String>("version").ToLocalChecked(), New<String>("1.0.2").ToLocalChecked());

     // Define accessors
-    SetAccessor(exports, New<String>("functions").ToLocalChecked(), Functions);
-    SetAccessor(exports, New<String>("functionUnstIds").ToLocalChecked(), FunctionUnstIds);
+    SetAccessor(exports->ToObject(), New<String>("functions").ToLocalChecked(), Functions);
+    SetAccessor(exports->ToObject(), New<String>("functionUnstIds").ToLocalChecked(), FunctionUnstIds);

     // Define functions
-    Set(exports, New<String>("explain").ToLocalChecked(), GetFunction(New<FunctionTemplate>(Explain)).ToLocalChecked());
+    //Set(exports, New<String>("explain").ToLocalChecked(), GetFunction(New<FunctionTemplate>(Explain)).ToLocalChecked());
     Set(exports, New<String>("execute").ToLocalChecked(), GetFunction(New<FunctionTemplate>(Execute)).ToLocalChecked());
     Set(exports, New<String>("setUnstablePeriod").ToLocalChecked(), GetFunction(New<FunctionTemplate>(SetUnstablePeriod)).ToLocalChecked());
 }