Announcement

Collapse
No announcement yet.

Installing openzwave and domoticz

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installing openzwave and domoticz

    Hi, am trying to install Domoticz on Kubuntu 14.10 but I am having some troubles, probably because I am not used to install sw without .deb files.

    Does anyone have this running, and how did you manage to install it ?
    Is there a ppa or deb file available somewhere, I googled but did not find it.

    I followed the install guide from the install.txt http://www.domoticz.com/wiki/Install.txt
    I first compiled and installed openzwave (I got no errors there)

    Then I installed the dependencies
    sudo apt-get install build-essential -y
    sudo apt-get install cmake libboost-dev libboost-thread-dev libboost-system-dev libsqlite3-dev subversion curl libcurl4-openssl-dev libusb-dev zlib1g-dev

    I downloaded and extracted the source code to /home/marc/domotica/domoticz
    Went to this directory and executed
    cmake -DCMAKE_BUILD_TYPE=Release .

    I also tried it with sudo and without the spaces and decimal point behind the command, with the same result.

    and got this result
    marc@marc-lap:~/domotica/domoticz$ sudo cmake -DCMAKE_BUILD_TYPE=Release
    svn: E155007: '/home/marc/domotica/domoticz' is not a working copy
    -- Compiling Revision #
    -- Boost version: 1.55.0
    -- Found the following Boost libraries:
    -- thread
    -- date_time
    -- system
    -- Linking against boost static libraries
    -- ZLIB libraries found at: /usr/lib/i386-linux-gnu/libz.so
    -- ZLIB includes found at: /usr/include
    -- Curl libraries found at: /usr/lib/i386-linux-gnu/libcurl.so
    -- Curl includes found at: /usr/include
    -- LIBUSB found at: /usr/lib/i386-linux-gnu/libusb.so
    CMake Error at CMakeLists.txt:299 (message):
    Failed to find openssl include files (ssl.h), no HTTPS support


    CMake Error at CMakeLists.txt:302 (message):
    Failed to find the openssl library, no HTTPS support


    -- ==== OpenZWave not found, support disabled!
    -- Not building on Raspberry Pi. GPIO support disabled.
    /usr/bin/c++ -DPCHCOMPILE -O3;-DNDEBUG;-I/home/marc/domotica/domoticz/main;-I/usr/include;-I/usr/include;;-DNS_ENABLE_SSL;-DWITH_LIBUSB -x c++-header -o {_output} /home/marc/domotica/domoticz/main/stdafx.h
    -- Configuring incomplete, errors occurred!
    See also "/home/marc/domotica/domoticz/CMakeFiles/CMakeOutput.log".
    See also "/home/marc/domotica/domoticz/CMakeFiles/CMakeError.log".
    marc@marc-lap:~/domotica/domoticz$

    It does not seem to find openssl, altough I see in synaptic package mgr that it is installed.
    Also it does not seem to be aware of openzwave that I intalled just before.
    Je suis Charlie, how many more people have to die for religions
    linux user #447706 on https://linuxcounter.net
    A good place to start:
    Topic: Top 20 Kubuntu FAQs & Answers


    #2
    I doubt many have heard of this, or it is not popular or widespread enough to have someone build this in a ppa or provide packages somewhere.


    For starters, you don't run cmake or make with sudo - you don't need admin privileges until you get to the 'make install' stage.

    When tracking down missing things, you need to find and install the -dev package, often lib<foo>-dev. In this case look for libssl-dev

    As to cmake not finding openzwave, that entirely could be just that one of the cmake scripts failed (the missing ssl dev package above), and the main script stopped before it got finding the openzwave. Or you are missing the relevant -dev package for it (if you installed it using packages - if you compiled it, you will have all the needed headers and things available already)

    It will be a trial and error thing until one gets a feel for how the build process works.

    They have a forum that may be useful, with people who have already likely been where you are, so that might be something to look at.

    Comment

    Working...
    X