compiling

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

Moderator: leecollings

Post Reply
alienkidmj12
Posts: 14
Joined: Wednesday 23 September 2015 23:40
Target OS: Linux
Domoticz version:
Contact:

compiling

Post by alienkidmj12 »

can someone assist, just been compiling latest domoticz for debian

i actually compiled 4.10717 from git hub, and turned out to be 4.9700 when you check the console

thanks

dave
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: compiling

Post by waaren »

alienkidmj12 wrote: Thursday 23 January 2020 20:45 i actually compiled 4.10717 from git hub, and turned out to be 4.9700 when you check the console
Can you share in a bit more detail which steps you took to get the sources from github and to checkout the version you want to compile ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
alienkidmj12
Posts: 14
Joined: Wednesday 23 September 2015 23:40
Target OS: Linux
Domoticz version:
Contact:

Re: compiling

Post by alienkidmj12 »

i downloaded from here

https://github.com/domoticz/domoticz/re ... ag/4.10717

when i compiled and ran the binary it reported different version
alienkidmj12
Posts: 14
Joined: Wednesday 23 September 2015 23:40
Target OS: Linux
Domoticz version:
Contact:

Re: compiling

Post by alienkidmj12 »

also tried domoticz_v4.10658, that also appears to be v4.9700

im at a loss, no idea whats going on
alienkidmj12
Posts: 14
Joined: Wednesday 23 September 2015 23:40
Target OS: Linux
Domoticz version:
Contact:

Re: compiling

Post by alienkidmj12 »

ah when i click on versions at the top it reports

Versioon 4.10717 (May 9th 2019)

even more confused now :(

new to this git business.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: compiling

Post by waaren »

alienkidmj12 wrote: Friday 24 January 2020 1:02 new to this git business.
To get the domoticz sources start with

Code: Select all

target=<targetDirectory>  # enter relative or absolute path where you want to store your local copy
git clone https://github.com/domoticz/domoticz.git $target 
Once you have that you can compile the version you want. Without other git commands it will compile latest beta. If you want another version do a git checkout of the version you need first. You can find versions / commits here here.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
luan
Posts: 1
Joined: Friday 24 January 2020 7:50
Target OS: Windows
Domoticz version:
Contact:

Re: compiling

Post by luan »

waaren wrote: Friday 24 January 2020 6:46
alienkidmj12 wrote: Friday 24 January 2020 1:02 new to this git business.
To get the domoticz sources start with

Code: Select all

target=<targetDirectory>  # enter relative or absolute path where you want to store your local copy
git clone https://github.com/domoticz/domoticz.git $target 
Once you have that you can compile the version you want. Without other git commands it will compile latest beta. If you want another version do a git checkout of the version you need first. You can find versions / commits here here.
I appreciate you.
keep it up
Burger king survey
Last edited by luan on Saturday 25 January 2020 7:14, edited 1 time in total.
alienkidmj12
Posts: 14
Joined: Wednesday 23 September 2015 23:40
Target OS: Linux
Domoticz version:
Contact:

Re: compiling

Post by alienkidmj12 »

i only have cmake 3.13.4 in my debian 10 x64. apparently i need 3.14.0 to compile latest.

anyone know which is the latest which supports cmake 3.13.4, also what do i type to grab it,

thanks

dave
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: compiling

Post by waaren »

alienkidmj12 wrote: Friday 24 January 2020 23:56 i only have cmake 3.13.4 in my debian 10 x64. apparently i need 3.14.0 to compile latest.
Can't you move to a later cmake ?

Code: Select all

wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz
tar -xzvf cmake-3.16.2.tar.gz
cd cmake-3.16.2
./bootstrap
./configure
make
sudo make install
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest