Problems installing on FreeNAS with OpenZWave

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
ehallq
Posts: 45
Joined: Tuesday 29 December 2015 12:34
Target OS: Linux
Domoticz version:
Contact:

Problems installing on FreeNAS with OpenZWave

Post by ehallq »

Hi!

I am trying to install domoticz on my FreeNas Jail (https://www.domoticz.com/wiki/FreeNAS). However I get 2 problems, package "libexecinfo" doesnt exist when I am trying to install it on step 3, and I get stuck at this step:

Code: Select all

Step 5: Download and build Open-Zwave
Only required if you want Z-wave support

Still in the jail, execute:

cd /home/domoticz/

git clone https://github.com/OpenZWave/open-zwave.git open-zwave-read-only

cd open-zwave-read-only

gmake

When I do gmake I get this:

Code: Select all

root@domoticz:/home/domoticz/open-zwave-read-only # gmake
LDFLAGS="" CPPFLAGS="" gmake -C /usr/home/domoticz/open-zwave-read-only/cpp/build/ -
gmake[1]: Entering directory '/usr/home/domoticz/open-zwave-read-only/cpp/build'
Building OpenZWave Version 1.4-3024-gab0d58fe-dirty
Building hid.o
/usr/home/domoticz/open-zwave-read-only/cpp/hidapi/libusb/hid.c:372:18: error:
      passing 'const char **' to parameter of type 'char **' discards qualifiers in
      nested pointer types [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
        res = iconv(ic, (const char ** restrict)&inptr, &inbytes, &outptr, &outbytes);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/iconv.h:56:41: note: passing argument to parameter here
size_t  iconv(iconv_t, char ** __restrict,
                                         ^
1 error generated.
gmake[1]: *** [/usr/home/domoticz/open-zwave-read-only/cpp/build/support.mk:150: /usr/home/domoticz/open-zwave-read-only/.lib/hid.o] Error 1
gmake[1]: Leaving directory '/usr/home/domoticz/open-zwave-read-only/cpp/build'
gmake: *** [Makefile:20: all] Error 2

Have anyone gotten these problems before? or could anyone guide me?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest