Hello,
I want to use my Pogoplug for my smart home. Unfortunately, I need node.js on it (for e.g. zigbee2mqtt).
However, I can not install is.
Using the Debian Repo I get:
Using the binary from https://nodejs.org/en/download/ for ARMv6 I get
And If I try to compile it from source I get
Has anyone node.js running on such a system? How have you achieved this, please?
Regards, Dieter
I want to use my Pogoplug for my smart home. Unfortunately, I need node.js on it (for e.g. zigbee2mqtt).
However, I can not install is.
Using the Debian Repo I get:
yoot@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin# apt-get install nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not installable E: Unable to correct problems, you have held broken packages. root@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin#
Using the binary from https://nodejs.org/en/download/ for ARMv6 I get
root@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin# node -bash: /usr/local/lib/nodejs/node-v10.14.1/bin/node: No such file or directory root@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin#but the file does exist and it is executable!
And If I try to compile it from source I get
root@FHEM:~/tmp/node-v10.14.1# make [...] make -C out BUILDTYPE=Release V=1 g++ -o /root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o ../deps/v8/src/base/platform/platform-posix.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DV8_EMBEDDER_STRING="-node.36"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -mfpu=vfp -marm -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /root/tmp/node-v10.14.1/out/Release/.deps//root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o.d.raw -c /tmp/cckOyleQ.s: Assembler messages: /tmp/cckOyleQ.s:1151: Error: selected processor does not support `bkpt 0' in ARM mode deps/v8/gypfiles/v8_libbase.host.mk:129: recipe for target '/root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o' failed make[1]: *** [/root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o] Error 1 Makefile:99: recipe for target 'node' failed make: *** [node] Error 2
Has anyone node.js running on such a system? How have you achieved this, please?
Regards, Dieter