GithubHelp home page GithubHelp logo

Comments (12)

jensweigele avatar jensweigele commented on July 3, 2024

Kannst du das log leserlicher posten? Da waren bestimmt mal ein paar Zeilenumbrüche irgendwo dazwischen?

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

hi, sorry habe es jetzt nochmal versucht und angepasst.
lg
juergen

from iobroker.yahka.

jensweigele avatar jensweigele commented on July 3, 2024

In file included from ../node_curve.cc:13:0:../../nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler

Ich würde sagen dein Compiler ist veraltet. Ich weiß nicht genau, welches Image du benutzt, und welches der aktuellste GCC dafür ist.

Probier mal apt-get install g++ oder apt-get upgrade g++

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

Hallo,

bei apt-get install g++

pi@ioBroker-RasPi2 ~ $ sudo apt-get install g++
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
g++ ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 89 nicht aktualisiert.
pi@ioBroker-RasPi2 ~ $ Paketlisten werden gelesen... Fertig
-bash: Paketlisten: Kommando nicht gefunden.

zurück.

und bei apt-get upgrade g++ bekomme ich

Fehlschlag beim Holen von http://mirrordirector.raspbian.org/raspbian/pool/main/k/krb5/krb5-locales_1.10.1+dfsg-5+deb7u8_all.deb 404 Not Found
E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?

zurück

Lg
Jürgen

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

... und bekomme wieder den gleichen bzw. ähnlichen Fehler:

$ ./iobroker add yahka
npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)
In file included from ../node_curve.cc:13:0:../../nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler

In file included from ../node_curve.cc:1:0:/root/.node-gyp/6.12.3/include/node/v8.h:345:1: error: expected unqualified-id before 'using'
/root/.node-gyp/6.12.3/include/node/v8.h:481:1: error: expected unqualified-id before 'using'

/root/.node-gyp/6.12.3/include/node/v8.h:882:1: error: expected unqualified-id before 'using'
/root/.node-gyp/6.12.3/include/node/v8.h:5433:35: error: 'virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()' declared virtual cannot be defaulted in the class body

In file included from ../../nan/nan.h:190:0, from ../node_curve.cc:13:
../../nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before 'using'
../../nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before 'using'
../../nan/nan_maybe_43_inl.h:19:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:24:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:31:1: error: 'MaybeLocal' does not name a type

../../nan/nan_maybe_43_inl.h:36:1: error: 'MaybeLocal' does not name a type../../nan/nan_maybe_43_inl.h:41:1: error: 'Maybe' does not name a type

../../nan/nan_maybe_43_inl.h:46:1: error: 'MaybeLocal' does not name a type../../nan/nan_maybe_43_inl.h:51:1: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:59:1: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:64:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:69:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:76:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:83:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:91:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:98:1: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:108:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:114:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:118:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:125:1: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:130:1: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:135:1: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:139:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:145:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:150:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:156:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:162:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:168:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:174:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:180:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:186:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:194:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:201:1: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:205:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:209:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:213:8: error: 'Maybe' does not name a type
../../nan/nan_maybe_43_inl.h:217:8: error: 'MaybeLocal' does not name a type
../../nan/nan_maybe_43_inl.h:237:8: error: 'MaybeLocal' does not name a type
In file included from ../../nan/nan.h:195:0,
from ../node_curve.cc:13:
../../nan/nan_converters.h:14:11: error: 'MaybeLocal' does not name a type
../../nan/nan_converters.h:16:56: error: 'Maybe' does not name a type
../../nan/nan_converters.h:26:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:27:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:28:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:29:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:30:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:31:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:32:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:42:1: error: 'return_t' does not name a type

../../nan/nan_converters.h:43:1: error: 'return_t' does not name a type../../nan/nan_converters.h:44:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:45:1: error: 'return_t' does not name a type
../../nan/nan_converters.h:46:1: error: 'return_t' does not name a type
In file included from ../../nan/nan_converters.h:59:0,
from ../../nan/nan.h:195,
from ../node_curve.cc:13:
../../nan/nan_converters_43_inl.h:18:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::Boolean' does not name a type
../../nan/nan_converters_43_inl.h:19:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::Number' does not name a type
../../nan/nan_converters_43_inl.h:20:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::String' does not name a type
../../nan/nan_converters_43_inl.h:21:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::Object' does not name a type
../../nan/nan_converters_43_inl.h:22:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::Integer' does not name a type
../../nan/nan_converters_43_inl.h:23:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::Uint32' does not name a type
../../nan/nan_converters_43_inl.h:24:1: error: 'return_t' in 'struct Nan::imp::ToFactoryv8::Int32' does not name a type
../../nan/nan_converters_43_inl.h:34:1: error: 'return_t' in 'struct Nan::imp::ToFactory' does not name a type
../../nan/nan_converters_43_inl.h:35:1: error: 'return_t' in 'struct Nan::imp::ToFactory' does not name a type
../../nan/nan_converters_43_inl.h:36:1: error: 'return_t' in 'struct Nan::imp::ToFactory' does not name a type
../../nan/nan_converters_43_inl.h:37:1: error: 'return_t' in 'struct Nan::imp::ToFactory' does not name a type
../../nan/nan_converters_43_inl.h:38:1: error: 'return_t' in 'struct Nan::imp::ToFactory' does not name a type
In file included from ../../nan/nan.h:196:0,
from ../node_curve.cc:13:
../../nan/nan_new.h: In function 'v8::Local Nan::imp::To(v8::Localv8::Integer) [with T = v8::Integer]':
../../nan/nan_new.h:21:32: error: no matching function for call to 'To(v8::Localv8::Integer&)'
../../nan/nan_new.h:21:32: note: candidate is:
../../nan/nan_converters.h:53:38: note: template typename Nan::imp::ToFactory::return_t Nan::To(v8::Localv8::Value)
../../nan/nan_new.h: In function 'v8::Local Nan::imp::To(v8::Localv8::Integer) [with T = v8::Int32]':
../../nan/nan_new.h:28:30: error: no matching function for call to 'To(v8::Localv8::Integer&)'
../../nan/nan_new.h:28:30: note: candidate is:
../../nan/nan_converters.h:53:38: note: template typename Nan::imp::ToFactory::return_t Nan::To(v8::Localv8::Value)
../../nan/nan_new.h: In function 'v8::Local Nan::imp::To(v8::Localv8::Integer) [with T = v8::Uint32]':
../../nan/nan_new.h:35:31: error: no matching function for call to 'To(v8::Localv8::Integer&)'
../../nan/nan_new.h:35:31: note: candidate is:
../../nan/nan_converters.h:53:38: note: template typename Nan::imp::ToFactory::return_t Nan::To(v8::Localv8::Value)
../../nan/nan_new.h: At global scope:
../../nan/nan_new.h:43:11: error: 'MaybeLocal' does not name a type
../../nan/nan_new.h:75:17: error: 'return_t' does not name a type

../../nan/nan_new.h:141:17: error: 'return_t' does not name a type../../nan/nan_new.h:147:17: error: 'return_t' does not name a type
../../nan/nan_new.h:148:17: error: 'return_t' does not name a type
../../nan/nan_new.h:160:17: error: 'return_t' does not name a type
../../nan/nan_new.h:161:17: error: 'return_t' does not name a type
../../nan/nan_new.h:162:17: error: 'return_t' does not name a type
../../nan/nan_new.h:163:17: error: 'return_t' does not name a type
../../nan/nan_new.h:165:17: error: 'return_t' does not name a type
../../nan/nan_new.h:166:17: error: 'return_t' does not name a type
../../nan/nan_new.h:182:17: error: 'return_t' does not name a type
../../nan/nan_new.h:183:17: error: 'return_t' does not name a type

In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:196,
from ../node_curve.cc:13:
../../nan/nan_implementation_12_inl.h:61:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::Date' does not name a type

../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBasev8::Function::return_t Nan::imp::Factoryv8::Function::New(Nan::FunctionCallback, v8::Localv8::Value)':../../nan/nan_implementation_12_inl.h:95:46: error: 'NewInstance' was not declared in this scope

../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBasev8::FunctionTemplate::return_t Nan::imp::Factoryv8::FunctionTemplate::New(Nan::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature)':../../nan/nan_implementation_12_inl.h:123:48: error: 'NewInstance' was not declared in this scope

../../nan/nan_implementation_12_inl.h: At global scope:../../nan/nan_implementation_12_inl.h:202:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::RegExp' does not name a type

../../nan/nan_implementation_12_inl.h:221:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::Script' does not name a type../../nan/nan_implementation_12_inl.h:227:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::Script' does not name a type
../../nan/nan_implementation_12_inl.h:259:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_implementation_12_inl.h:267:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_implementation_12_inl.h:273:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_implementation_12_inl.h:280:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_implementation_12_inl.h:286:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_implementation_12_inl.h:291:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type

../../nan/nan_implementation_12_inl.h:352:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::UnboundScript' does not name a type
../../nan/nan_implementation_12_inl.h:359:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::UnboundScript' does not name a type
In file included from ../../nan/nan.h:196:0, from ../node_curve.cc:13:
../../nan/nan_new.h:293:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:299:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:305:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:311:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:317:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:323:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:329:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::String' does not name a type
../../nan/nan_new.h:335:1: error: 'return_t' in 'struct Nan::imp::Factoryv8::RegExp' does not name a type

In file included from ../node_curve.cc:13:0:../../nan/nan.h: In function 'v8::Localv8::Value Nan::Error(const char*)':
../../nan/nan.h:659:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In function 'void Nan::ThrowError(const char*)':../../nan/nan.h:659:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In function 'v8::Localv8::Value Nan::RangeError(const char*)':../../nan/nan.h:660:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In function 'void Nan::ThrowRangeError(const char*)':../../nan/nan.h:660:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'
../../nan/nan.h: In function 'v8::Localv8::Value Nan::ReferenceError(const char*)':
../../nan/nan.h:661:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In function 'void Nan::ThrowReferenceError(const char*)':../../nan/nan.h:661:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'
../../nan/nan.h: In function 'v8::Localv8::Value Nan::SyntaxError(const char*)':
../../nan/nan.h:662:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'
../../nan/nan.h: In function 'void Nan::ThrowSyntaxError(const char*)':
../../nan/nan.h:662:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'
../../nan/nan.h: In function 'v8::Localv8::Value Nan::TypeError(const char*)':
../../nan/nan.h:663:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'
../../nan/nan.h: In function 'void Nan::ThrowTypeError(const char*)':
../../nan/nan.h:663:3: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'
../../nan/nan.h: At global scope:
../../nan/nan.h:671:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:693:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:709:10: error: 'MaybeLocal' does not name a type

../../nan/nan.h:722:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:739:10: error: 'MaybeLocal' does not name a type

../../nan/nan.h:745:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:753:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:760:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:766:10: error: 'MaybeLocal' does not name a type

../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Localv8::Value&)':../../nan/nan.h:1511:41: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In member function 'v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(const char*) const':../../nan/nan.h:1529:45: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In member function 'virtual void Nan::AsyncWorker::HandleErrorCallback()':../../nan/nan.h:1563:58: error: no matching function for call to 'New(const char*)'
../../nan/nan.h:1563:58: note: candidates are:

../../nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local Nan::New(const v8::Persistent<S, M>&)../../nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:405:21: note: template v8::Local Nan::New(const Nan::Global&)
../../nan/nan_new.h:201:1: note: template typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Localv8::Value)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Localv8::Value, A2)

../../nan/nan.h: In function 'void Nan::imp::SetMethodAux(T, v8::Localv8::String, v8::Localv8::FunctionTemplate, ...)':../../nan/nan.h:1874:34: error: there are no arguments to 'GetFunction' that depend on a template parameter, so a declaration of 'GetFunction' must be available [-fpermissive]
../../nan/nan.h:1874:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

../../nan/nan.h: In function 'void Nan::SetMethod(HandleType, const char*, Nan::FunctionCallback)':../../nan/nan.h:1886:45: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In function 'void Nan::SetPrototypeMethod(v8::Localv8::FunctionTemplate, const char*, Nan::FunctionCallback)':../../nan/nan.h:1901:45: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In function 'void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':../../nan/nan.h:1926:47: error: 'NewInstance' was not declared in this scope

../../nan/nan.h: In function 'bool Nan::SetAccessor(v8::Localv8::Object, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)':../../nan/nan.h:1969:51: error: 'NewInstance' was not declared in this scope

../../nan/nan.h: In function 'void Nan::SetNamedPropertyHandler(v8::Localv8::ObjectTemplate, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Localv8::Value)':../../nan/nan.h:2028:47: error: 'NewInstance' was not declared in this scope

../../nan/nan.h: In function 'void Nan::SetIndexedPropertyHandler(v8::Localv8::ObjectTemplate, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Localv8::Value)':../../nan/nan.h:2098:47: error: 'NewInstance' was not declared in this scope

../../nan/nan.h: In function 'void Nan::SetCallHandler(v8::Localv8::FunctionTemplate, Nan::FunctionCallback, v8::Localv8::Value)':../../nan/nan.h:2153:47: error: 'NewInstance' was not declared in this scope

../../nan/nan.h: In function 'void Nan::SetCallAsFunctionHandler(v8::Localv8::ObjectTemplate, Nan::FunctionCallback, v8::Localv8::Value)':../../nan/nan.h:2175:47: error: 'NewInstance' was not declared in this scope

In file included from ../../nan/nan.h:2198:0, from ../node_curve.cc:13:
../../nan/nan_private.h: At global scope:
../../nan/nan_private.h:12:8: error: 'Maybe' does not name a type
../../nan/nan_private.h:25:8: error: 'MaybeLocal' does not name a type

../../nan/nan_private.h:40:8: error: 'Maybe' does not name a type../../nan/nan_private.h:55:8: error: 'Maybe' does not name a type
In file included from ../node_curve.cc:13:0:
../../nan/nan.h: In function 'void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)':
../../nan/nan.h:2206:35: error: no matching function for call to 'New(const char*&)'
../../nan/nan.h:2206:35: note: candidates are:
../../nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local Nan::New(const v8::Persistent<S, M>&)
../../nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local Nan::New(const Nan::Persistent<T, M>&)
../../nan/nan_implementation_12_inl.h:405:21: note: template v8::Local Nan::New(const Nan::Global&)
../../nan/nan_new.h:201:1: note: template typename Nan::imp::Factory::return_t Nan::New()
../../nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory::return_t Nan::New(A0)
../../nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory::return_t Nan::New(A0, A1)
../../nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2)
../../nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3)
../../nan/nan_new.h:237:1: note: template typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Localv8::Value)
../../nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Localv8::Value, A2)

../../nan/nan.h:2207:47: error: 'GetFunction' was not declared in this scope../../nan/nan.h:2207:65: error: 'Set' was not declared in this scope
../../nan/nan.h:2207:65: note: suggested alternative:
/root/.node-gyp/6.12.3/include/node/v8.h:3087:17: note: 'v8::Set'
../../nan/nan.h: In constructor 'Nan::Tap::Tap(v8::Localv8::Value)':
../../nan/nan.h:2214:30: error: no matching function for call to 'To(v8::Localv8::Value&)'
../../nan/nan.h:2214:30: note: candidate is:
../../nan/nan_converters.h:53:38: note: template typename Nan::imp::ToFactory::return_t Nan::To(v8::Localv8::Value)

../../nan/nan.h: In member function 'void Nan::Tap::ok(bool, const char*)':../../nan/nan.h:2227:33: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: In member function 'void Nan::Tap::pass(const char*)':../../nan/nan.h:2233:30: error: 'Nan::imp::FactoryBasev8::Boolean::return_t' has no member named 'ToLocalChecked'

../../nan/nan.h: At global scope:../../nan/nan.h:2257:10: error: 'MaybeLocal' does not name a type
../../nan/nan.h:2262:40: error: 'MaybeLocal' was not declared in this scope
../../nan/nan.h:2262:40: note: suggested alternative:
/root/.node-gyp/6.12.3/include/node/v8.h:115:7: note: 'v8::MaybeLocal'
../../nan/nan.h:2262:52: error: template argument 1 is invalid
../../nan/nan.h:2262:54: error: expected unqualified-id before '>' token
../../nan/nan.h:2271:1: error: 'MaybeLocal' does not name a type

../node_curve.cc:20:23: error: variable or field 'init' declared void../node_curve.cc:20:23: error: 'Handle' was not declared in this scope
../node_curve.cc:20:36: error: expected primary-expression before '>' token
../node_curve.cc:20:37: error: expected primary-expression before ')' token

../node_curve.cc:34:23: error: variable or field 'init' declared void../node_curve.cc:34:23: error: 'Handle' was not declared in this scope
../node_curve.cc:34:36: error: expected primary-expression before '>' token
../node_curve.cc:34:38: error: 'target' was not declared in this scope
../node_curve.cc:40:1: error: 'init' was not declared in this scope

../node_curve.cc:22:8: warning: 'Nan::NAN_METHOD_RETURN_TYPE DoCurve(Nan::NAN_METHOD_ARGS_TYPE)' defined but not used [-Wunused-function]
make: *** [Release/obj.target/curve/node_curve.o] Error 1
gyp
ERR! build error
gyp
ERR! stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR!
stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.18.11-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/curve25519-n2
gyp ERR! node -v v6.12.3
gyp ERR!
node-gyp -v v3.4.0gyp ERR! not ok

npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.rflink/package.json'
npm
ERR! Linux 3.18.11-v7+npm
ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.yahka" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuildnpm ERR! Exit status 1
npm ERR!
npm ERR!
Failed at the [email protected] install script 'node-gyp rebuild'.npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the curve25519-n2 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 information on how to open an issue for this project with:
npm ERR! npm bugs curve25519-n2
npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls curve25519-n2npm
ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
npm ERR! code 1

host.ioBroker-RasPi2 install adapter yahka
npm install iobroker.yahka --production --prefix "/opt/iobroker" (System call)

lg

juergen

from iobroker.yahka.

jensweigele avatar jensweigele commented on July 3, 2024

sudo apt-get update
Dann nochmal
sudo apt-get upgrade g++
Ansonsten mal das Ergebnis der folgenden Befehle posten
gcc -v
which gcc
ls /usr/bin/gcc*

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

Hallo,

nach dem upgrade g++ leider noch immer der gleiche Fehler:(

hier die Ergebnisse:
gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14+rpi1)

which gcc:

/usr/bin/gcc

ls /usr/bin/gcc* :

/usr/bin/gcc /usr/bin/gcc-4.6

LG

Jürgen

from iobroker.yahka.

jensweigele avatar jensweigele commented on July 3, 2024

Probier mal ob du gcc-5 installieren kannst (oder einen neueren):
sudo apt-get install gcc-5 g++-5

Falls das Paket nicht gefunden wird, musst du mal googlen ob du eine Paketquelle hinzufügen kannst um einen neueren Compiler zu bekommen.
Sollte gcc-v immernoch 4.6 ausgeben nach der Installation, musst du den Standard-Compiler ändern. Schau mal hier nach:
https://gist.github.com/beci/2a2091f282042ed20cda

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

Hallo,

leider:

sudo apt-get install gcc-5 g++-5
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket gcc-5 kann nicht gefunden werden.
E: Paket g++-5 kann nicht gefunden werden.
E: Mittels regulärem Ausdruck »g++-5« konnte kein Paket gefunden werden.

Ich werde mal Googlen , oder gleich iobroker neu aufsetzten auf Raspbian light Stretch!?

Trotzdem Danke für deine Unterstützung.

LG

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

p.s.: reicht gcc 4.9 auch ?

https://alexbloggt.com/homebridge-installieren/

from iobroker.yahka.

jensweigele avatar jensweigele commented on July 3, 2024

keine Ahnung - probier es mal aus ;-)

from iobroker.yahka.

juergen2908 avatar juergen2908 commented on July 3, 2024

Hi,

mit den stretch lite image von iobroker funktioniert es.

Lg

from iobroker.yahka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.