homebridge-tcc
homebridge-tcc copied to clipboard
Installation using native Synology DSM 7 Homebridge not working
When I have tried to install the TCC plugin in the native Homebridge version for DSM 7, the installation does not finish and reports a long list of errors. Sorry, I didn’t record the error details. Rather, I switched back to the Oznu/Homebridge version within Docker, and that works fine.
My DSM 7 fails with this: USER: homebridge DIR: /volume1/homebridge CMD: npm install --save [email protected]
[##################] - reify:googleapis: timing reifyNode:node_modules/homebridge-tcc/
[email protected] install node-gyp rebuild
gyp ERR! build error - reify:googleapis: timing reifyNode:node_modules/homebridge-tcc/
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/which/which.js:10:17)
gyp ERR! stack at /volume1/@appstore/homebridge/app/lib/node_modules/npm/node_modules/which/which.js:57:18
gyp ERR! stack at new Promise (
npm ERR! A complete log of this run can be found in: npm ERR! /var/packages/homebridge/home/.npm/_logs/2023-05-28T20_26_26_998Z-debug-0.log
Operation failed. Please review log for details.
Any help would be greatly appreciated. It was working fine on my 2009 MacPro that I'm retiring.
@patrick131 homebridge-tcc leverages node-gyp to compile code needed for the plugin to operate. And the Synology environment does not support this without making changes to your setup. If you google node-gyp synology dsm
you can see a few guides.
Hi, thank you for the info. I will check it out.
On May 29, 2023, at 20:09, Northern Man @.***> wrote:
node-gyp synology dsm
Much appreciated, looking into this now!
Please correct me if I'm wrong but the problem seems to be that make
isn't available, rather than node-gyp
not being available.
I have node-gyp
available but not make
and I cannot install this plugin.
Is make
bundled with node-gyp
? Or does it have to be installed separately?
Make is a compiler tool that is needed with node-gyp, but not included
I have looked into this, but cannot figure out how to install node-gyp on my Synology NAS. I guess I will have to continue using Homebridge with Docker.Thank you.On May 29, 2023, at 20:56, patrick131 @.***> wrote: Much appreciated, looking into this now!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Even with the upgraded Node.js, I'm getting failures on my DSM 7 system. Looks like something's messed up with libpthread:
[7/31/2023, 3:16:23 PM] ====================
[7/31/2023, 3:16:23 PM] ERROR LOADING PLUGIN homebridge-tcc:
[7/31/2023, 3:16:23 PM] Error: /opt/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1338:18)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at bindings (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/bindings/bindings.js:112:48)
at Object.<anonymous> (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/node-expat/lib/node-expat.js:4:34)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/xml2json/lib/xml2json.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/xml2json/lib/index.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
[7/31/2023, 3:16:23 PM] ====================```
As I don't have a DSM, I'm not able to troubleshoot this.
Trying to install in Synology DS1821+ with DSM 7.2.1. and no go. I installed Entware and re-tried but no luck. In the log it is looking for something called Make? Not sure what it is or how to install it on the NAS. Anyone have any luck installing this?
@Demoleon63 did you try this ? https://github.com/NorthernMan54/homebridge-tcc/issues/134#issuecomment-1567611742
Yes. Both the Entware and the Apache make script were installed but still no go. Looks like same error message as before.