use:
LD_LIBRARY_PATH=libs ./z-way-server
Openelec(XBMC) Howto?
Re: Openelec(XBMC) Howto
How do you find the load working out running XBMC and razberry? I find that xbmc (kodi) is rather slow on my dedicated Raspberry B+ (My Razberry is on another Raspberry A).
Re: Openelec(XBMC) Howto
Hi,
after two day fight I've finally managed to run RaZberry on newest OpenELEC 5.0.6. I've added manually all required libs, but found few issues.
1. OpenELEC uses libcurl.so.4.3.0 and here we need earlier version libcurl.so.4.2.0. After replacing it we have warning:
2. Don't know where to find required library libdns_sd.so.1
3. And the last error, don't know what it means:
The whole log:
Can someone help me fixing this issues?
Thanks,
Chris
after two day fight I've finally managed to run RaZberry on newest OpenELEC 5.0.6. I've added manually all required libs, but found few issues.
1. OpenELEC uses libcurl.so.4.3.0 and here we need earlier version libcurl.so.4.2.0. After replacing it we have warning:
Code: Select all
cURL 7.21.7 likely has DNS timeout bug. Please update cURL. Disabling sync DNS timeouts for now.
Code: Select all
Failed to load module modhomekit.so: libdns_sd.so.1: cannot open shared object file: No such file or directory
Code: Select all
Error: 'debug-port' number is out of range. Skipping it.
Code: Select all
Z-Way version v2.0.0 from 2014-12-08 19:54:26 +0300 (build a064f5408850947aed035bc9170e1fa04f0fd2ec)
Looking for modules in ./modules
Module modws.so loaded
cURL 7.21.7 likely has DNS timeout bug. Please update cURL. Disabling sync DNS timeouts for now.
Module modhttp.so loaded
Failed to load module modhomekit.so: libdns_sd.so.1: cannot open shared object file: No such file or directory
Module moddhs.so loaded
Module modzwave.so loaded
Module modenocean.so loaded
Using default configuration file config.xml
Error: 'debug-port' number is out of range. Skipping it.
Thanks,
Chris
Re: Openelec(XBMC) Howto?
1. Don't replace libcurl.so with an older one, just make a symlink for the correct version.
2. libdns_sd is a part of Avahi compatibility wrapper. If you want to use HomeKit module, you'll need to install Avahi and its compatibility package. Otherwise ignore it.
3. I don't know what is written as debug-port in /opt/z-way-server/config.xml, but it should be either empty string to disable debug, or a valid port number in range 1..65535.
2. libdns_sd is a part of Avahi compatibility wrapper. If you want to use HomeKit module, you'll need to install Avahi and its compatibility package. Otherwise ignore it.
3. I don't know what is written as debug-port in /opt/z-way-server/config.xml, but it should be either empty string to disable debug, or a valid port number in range 1..65535.
Re: Openelec(XBMC) Howto?
There is version conflict. OpenELEC uses version 4.3.0, and here 4.2.0 is required.pofs wrote:1. Don't replace libcurl.so with an older one, just make a symlink for the correct version.
Code: Select all
Failed to load module modhttp.so: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modhttp.so)
All libraries I've added manually, but I cannot find this one. I cannot use apt-get, so I must download correct version from somewhere. I've little experience in Linux and couldn't find it.pofs wrote:2. libdns_sd is a part of Avahi compatibility wrapper. If you want to use HomeKit module, you'll need to install Avahi and its compatibility package. Otherwise ignore it.
pofs wrote:3. I don't know what is written as debug-port in /opt/z-way-server/config.xml, but it should be either empty string to disable debug, or a valid port number in range 1..65535.
Code: Select all
<config>
<automation-dir>automation</automation-dir>
<log-file>/var/log/z-way-server.log</log-file>
<log-level>0</log-level>
<debug-port></debug-port>
</config>
Thanks,
Chris
-
- Posts: 4
- Joined: 02 Aug 2015 20:44
Re: Openelec(XBMC) Howto?
I tried following the instructions from the beginning of this post. However, ran into a number of errors:
Running the most recent Openelec 5.0.8
Thanks for any help you can provide.
Code: Select all
Please read it on Z-Wave.Me web site: http://razberry.z-wave.me/docs/ZWAYEULA.pdf
yes/no: yes
z-way-server new installation
Removing MathKernel
There is no working 'apt-get'.
'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.
With OpenELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.
Also Ubuntu or Debian packages are often outdated and not compatible
with OpenELEC
TIP: use XBMC's addon browser to enhance your OpenELEC system
Installing additional libraries
There is no working 'apt-get'.
'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.
With OpenELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.
Also Ubuntu or Debian packages are often outdated and not compatible
with OpenELEC
TIP: use XBMC's addon browser to enhance your OpenELEC system
There is no working 'apt-get'.
'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.
With OpenELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.
Also Ubuntu or Debian packages are often outdated and not compatible
with OpenELEC
TIP: use XBMC's addon browser to enhance your OpenELEC system
Installing additional libraries for HomeKit
There is no working 'apt-get'.
'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.
With OpenELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.
Also Ubuntu or Debian packages are often outdated and not compatible
with OpenELEC
TIP: use XBMC's addon browser to enhance your OpenELEC system
Making symlinks to libssl.so
/storage/install: cd: line 83: can't cd to /usr/lib/arm-linux-gnueabihf/
Making symlinks to libcrypto.so
/storage/install: cd: line 90: can't cd to /usr/lib/arm-linux-gnueabihf/
Getting Z-Way for Raspberry Pi and installing
wget: invalid option -- '4'
BusyBox v1.22.1 (2015-03-31 15:05:29 CEST) multi-call binary.
Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[-U|--user-agent AGENT] [-T SEC] URL...
Retrieve files via HTTP or FTP
-s Spider mode - only check file existence
-c Continue retrieval of aborted transfer
-q Quiet
-P DIR Save to DIR (default .)
-T SEC Network read timeout is SEC seconds
-O FILE Save to FILE ('-' for stdout)
-U STR Use STR for User-Agent header
-Y Use proxy ('on' or 'off')
Extracting new z-way-server
tar: can't open '/tmp/z-way-server-RaspberryPiXTools-v2.0.1.tgz': No such file or directory
mv: can't rename '/tmp/z-way-server': No such file or directory
New version z-way-server installed
mkdir: can't create directory '/etc/z-way': Read-only file system
/storage/install: line 187: can't create /etc/z-way/VERSION: nonexistent directory
/storage/install: line 188: can't create /etc/z-way/box_type: nonexistent directory
Creating Z-Way startup script
/storage/install: line 242: can't create /etc/init.d/z-way-server: nonexistent directory
chmod: /etc/init.d/z-way-server: No such file or directory
/storage/install: line 257: can't create /etc/logrotate.d/z-way-server: nonexistent directory
Adding z-way-server to autostart
/storage/install: line 261: update-rc.d: not found
Getting Webif for Raspberry Pi and installing
wget: invalid option -- '4'
BusyBox v1.22.1 (2015-03-31 15:05:29 CEST) multi-call binary.
Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[-U|--user-agent AGENT] [-T SEC] URL...
Retrieve files via HTTP or FTP
-s Spider mode - only check file existence
-c Continue retrieval of aborted transfer
-q Quiet
-P DIR Save to DIR (default .)
-T SEC Network read timeout is SEC seconds
-O FILE Save to FILE ('-' for stdout)
-U STR Use STR for User-Agent header
-Y Use proxy ('on' or 'off')
tar: invalid magic
tar: short read
First install, getting razberry ID
/storage/install: line 412: can't create /etc/init.d/zbw_autosetup: nonexistent directory
chmod: /etc/init.d/zbw_autosetup: No such file or directory
/storage/install: line 412: /etc/init.d/zbw_autosetup: not found
Getting webserver mongoose for Webif
wget: invalid option -- '4'
BusyBox v1.22.1 (2015-03-31 15:05:29 CEST) multi-call binary.
Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
[-U|--user-agent AGENT] [-T SEC] URL...
Retrieve files via HTTP or FTP
-s Spider mode - only check file existence
-c Continue retrieval of aborted transfer
-q Quiet
-P DIR Save to DIR (default .)
-T SEC Network read timeout is SEC seconds
-O FILE Save to FILE ('-' for stdout)
-U STR Use STR for User-Agent header
-Y Use proxy ('on' or 'off')
tar: can't open '/tmp/mongoose.pkg.rPi.tgz': No such file or directory
Adding mongoose to autostart
/storage/install: line 443: update-rc.d: not found
Start mongoose http server
/storage/install: line 447: /etc/init.d/mongoose: not found
sed: /boot/cmdline.txt: No such file or directory
sed: /etc/inittab: No such file or directory
/storage/install: cd: line 454: can't cd to /storage/z-way-server
/storage/install: line 469: diff: not found
/storage/install: line 469: diff: not found
Preparing AMA0 interface:
removing 'console=ttyAMA0,115200' and 'kgdboc=ttyAMA0,115200' from kernel command line (/boot/cmdline.txt)
mv: can't rename '/tmp/zway_install_cmdline.txt': No such file or directory
removing '*:*:respawn:/sbin/getty ttyAMA0' from /etc/inittab
mv: can't create '/etc/inittab': Read-only file system
AMA0 interface reconfigured, please restart Raspberry
Do you want to receive emails with news about RaZberry project?
! Please subscribe again if you did it before 30.03.2013
yes/no: no
Thank you for using RaZberry!
Thanks for any help you can provide.
Re: Openelec(XBMC) Howto?
Install script does not work on OpenElec - unpack it manually