分页: 1 / 1

Mac安装Domoticz教程

发表于 : 周一 12月 30, 2019 14:59
289500073
如题,谁在Mac上安装过Domoticz,求教程,是不是和Linux一样

Re: Mac安装Domoticz教程  已解决

发表于 : 周二 12月 31, 2019 20:00
DT27
下载domoticz_osx_x86_64.tgz:https://www.jianguoyun.com/p/DSJCD_IQh66pBhiImJMC
解压后直接运行:
截屏2020-01-0110.04.14.png
截屏2020-01-0110.04.14.png (93.65 KiB) 查看 303380 次
提示无法加载libusb-0.1.4.dylib。

安装libusb:

代码: 全选

brew install libusb
然后查看安装目录:

代码: 全选

brew list libusb
截屏2020-01-0110.06.29.png
截屏2020-01-0110.06.29.png (106.56 KiB) 查看 303380 次
给无法加载的文件建立软连接:

代码: 全选

ln -s /usr/local/Cellar/libusb/1.0.23/lib/libusb-1.0.0.dylib /usr/local/opt/libusb-compat/lib/libusb-0.1.4.dyliba
提示文件夹不存在要先建文件夹:“mkdir -p /usr/local/opt/libusb-compat/lib/”。

然后就能成功运行了:
截屏2020-01-0110.12.05.png
截屏2020-01-0110.12.05.png (181.86 KiB) 查看 303380 次
截屏2020-01-0110.13.07.png
截屏2020-01-0110.13.07.png (97.77 KiB) 查看 303380 次

Re: Mac安装Domoticz教程

发表于 : 周二 1月 07, 2020 22:00
王图思睿
执行 brew install libudev 时报错:

Error: No available formula with the name "libudev"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

Re: Mac安装Domoticz教程

发表于 : 周二 1月 07, 2020 22:45
DT27
王图思睿 写了: 周二 1月 07, 2020 22:00 执行 brew install libudev 时报错:

Error: No available formula with the name "libudev"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
brew install libusb