Page 1 of 1

compiling

Posted: Thursday 23 January 2020 20:45
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

Re: compiling

Posted: Thursday 23 January 2020 21:05
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 ?

Re: compiling

Posted: Friday 24 January 2020 0:41
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

Re: compiling

Posted: Friday 24 January 2020 0:54
by alienkidmj12
also tried domoticz_v4.10658, that also appears to be v4.9700

im at a loss, no idea whats going on

Re: compiling

Posted: Friday 24 January 2020 1:02
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.

Re: compiling

Posted: Friday 24 January 2020 6:46
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.

Re: compiling

Posted: Friday 24 January 2020 7:55
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

Re: compiling

Posted: Friday 24 January 2020 23:56
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

Re: compiling

Posted: Saturday 25 January 2020 0:24
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