jorik wrote:Well there is openzwave support in Domoticz itself, just not in the Domoticz binary when compiled using the spksrc framework that results in the spk's shared in this thread.
So having a seperate build for the library won't cut it? If I were to build Domoticz normally on the NAS (not through spksrc) would it have the correct support built in then? Is it a case that the source in spksrc needs to be updated to reflect the latest from the Domoticz sources?
I just got a Debian 32bit vm sorted out to have a play and am now running the standard spksrc Domoticz build for cedarview (I have a 1512+) just to get a feel for package creation. I don't have a z-stick yet so couldn't test for z-wave yet but I assume if support was built in I would see the options in the drop downs for device setup?
Also wondering if my chroot build will support it or not as I've not been able to test it yet...
Any info would be appreciated, TIA
If I can help I will
Cheers,
Mark
edit: Got cedarview builds done as per instructions and installed and tested no problem, just no openzwave support as expected...is there a need to build with the newer 5.0 arch toolchain, the 4.3 package installed no issues for me
http://www.4shared.com/file/PGz-phkMce/ ... 112-5.html
http://www.4shared.com/file/Sa91C5xjce/ ... 112-5.html
edit2: finially figured out how the domoticz source is setup in the spk based build so I've updated my local copy of the cross/domoticz/MakeFile to use the latest revision number and have the new build for r2139 but I think I now know what you mean about dependancies. Looking at the standalone build it relies on a zwave build folder to link the required library in and that wont be there. So what needs to happen is a openzwave build needs to take place first and supply the necessary libopenzwave.a file in a suitable location to be picked up...taking a look at how on earth that could be done!
edit3: trying to get a dependency library build through the cross folder for open-zwave-read-only...if I get somewhere with that I'll then try and link it in...might have to edit the source for Domoticz to look somewhere appropriate...if so I'll edit the local tarball...it's gonna be a long night I think!
edit4: Well I have a cross/open-zwave-read-only folder being built fine after some minor tweaks to source for cmake (vers.cpp revision needs stating) but linking in towards the end of the process hits a brick wall with libudev dependencies which I have yet to figure out...toolchain issues I think, that's me stuck for now anyway. If you want a zip of my cross/open-zwave-read-only folder let me know.
/home/mark/spksrc/toolchains/syno-cedarview-5.0/work/x86_64-pc-linux-gnu/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `_ZN11TiXmlString4nposE' changed from 8 in CMakeFiles/domoticz.dir/hardware/openzwave/control_panel/tinyxml/tinystr.cpp.o to 4 in /home/mark/spksrc/spk/domoticz/work-cedarview-5.0/open-zwave-read-only-r939/libopenzwave.a(tinystr.o)
/home/mark/spksrc/toolchains/syno-cedarview-5.0/work/x86_64-pc-linux-gnu/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ludev
collect2: error: ld returned 1 exit status
make[5]: *** [domoticz] Error 1
make[5]: Leaving directory `/home/mark/spksrc/spk/domoticz/work-cedarview-5.0/domoticz-r2139'
make[4]: *** [CMakeFiles/domoticz.dir/all] Error 2
make[4]: Leaving directory `/home/mark/spksrc/spk/domoticz/work-cedarview-5.0/domoticz-r2139'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mark/spksrc/spk/domoticz/work-cedarview-5.0/domoticz-r2139'
make[2]: *** [compile_target] Error 2
make[2]: Leaving directory `/home/mark/spksrc/cross/domoticz'
make[1]: *** [depend_target] Error 2
make[1]: Leaving directory `/home/mark/spksrc/spk/domoticz'
make: [arch-cedarview-5.0] Error 2 (ignored)