Page 1 of 1

Make command not working

Posted: Thursday 28 May 2020 20:03
by lugia777
Hi!

I've followed these steps to install Domoticz. I'm using a Pine64. It always worked with a clean install and a step by step procedure. But now, I got this problem when I "make" :

/usr/dev-domoticz/main/../webserver/proxydef.def:91:1: required from here
/usr/include/cereal/cereal.hpp:448:9: error: static assertion failed: cereal could not find any output serialization functions for the provided type and archive combination.

Types must either have a serialize function, load/save pair, or load_minimal/save_minimal pair (you may not mix these).
Serialize functions generally have the following signature:

template<class Archive>
void serialize(Archive & ar)
{
ar( member1, member2, member3 );
}


CMakeFiles/domoticz.dir/build.make:158: recipe for target 'CMakeFiles/domoticz.dir/main/domoticz.cpp.o' failed
make[2]: *** [CMakeFiles/domoticz.dir/main/domoticz.cpp.o] Error 1
CMakeFiles/Makefile2:345: recipe for target 'CMakeFiles/domoticz.dir/all' failed
make[1]: *** [CMakeFiles/domoticz.dir/all] Error 2
Makefile:171: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestion would be appreciated :) Thank you!

N.B.: I'm kind of a newbie at this :)

Re: Make command not working

Posted: Thursday 28 May 2020 20:06
by lugia777
Sorry, here are the steps I followed :

https://www.domoticz.com/wiki/Build_Dom ... rom_source

Re: Make command not working

Posted: Saturday 30 May 2020 18:21
by jaakko
I have same problem than Lugia777 have.

Make crash
what i can do ?
my hardware is HP proliant
and softwarwe ubuntu 16.04

Re: Make command not working

Posted: Sunday 31 May 2020 14:52
by DannyR
Same problem here!

I am using Ubuntu 16.04, if that helps.

Re: Make command not working

Posted: Sunday 31 May 2020 19:26
by foxmulder06
Hi,

-> Did you follow ALL information provided on Domoticz source code information page ?

-> What is your CMAKE version ? Must be > 3.16.0

Verify you are on the correct version with : cmake --version

Results of cmake --version:

cmake version 3.16.xx
CMake suite maintained and supported by Kitware (kitware.com/cmake).



Note: I did it without any problems on "Ubuntu 18.04.4 LTS" + INTEL ATOM 32bits + Domoticz latest release V2020.2 :D
I created an installation process, fully automated by Shell script that do ALL stuff automatically...

Regards

Re: Make command not working

Posted: Sunday 31 May 2020 20:43
by lugia777
Hi!

Thank you foxmulder06, I'll make a try with your suggestion. I did install cmake 3.16.3 and was running this version (clean install, so no other versions were present on my system), so I'll try 3.16.0 and ubuntu 18.04.4 (was also on 16.04).

Will come back with the results.

Thanks again for your time and feedback!

Re: Make command not working

Posted: Monday 01 June 2020 11:57
by DannyR
Thanks foxmulder06 for reaching out!

Yes, I followed the instructions on the "Build Domoticz from source" page.
I have previously built Domoticz Version: 2020.1 (build 11835) from source without troubles.
My cmake version is 3.17.2.
.

Re: Make command not working

Posted: Tuesday 02 June 2020 3:38
by lugia777
Hi!

So far, so good!

I've been able to build Domoticz with this image for Pine64 :

Armbian_20.05.1_Pine64_bionic_current_5.4.43.img (Ubuntu 18.04)

I've followed the instructions from here :

https://www.domoticz.com/wiki/Build_Dom ... rom_source

Thanks again for your help, foxmulder06! Hope the others will do fine too!

Re: Make command not working

Posted: Wednesday 03 June 2020 20:48
by jaakko
My problem dont end

i use cmake 1.73.3
liboost1.73

compile with cmake it say
Make Error at CMakeLists.txt:583 (message):
Found libBoost version 1.73.0, 106000 or newer required

what the F***

Re: Make command not working

Posted: Wednesday 03 June 2020 20:53
by foxmulder06
Hi Jaakko,

Did you apply the following BEFORE re-installing new library BOOST V1.73 + reboot :

[This first step is necessary because you will get linking errors if you don't remove the old Boost library]

sudo apt remove --purge --auto-remove libboost-dev libboost-thread-dev libboost-system-dev libboost-atomic-dev libboost-regex-dev libboost-chrono-dev


Just setup latest Domoticz V2020.2 Build 12117 + latest BOOST library V1.73 : No error during compilation so, sound like a "local" probleme related to some dependcies.

Let me know :-)

Regards

Re: Make command not working

Posted: Tuesday 09 June 2020 19:15
by DannyR
DannyR wrote: Sunday 31 May 2020 14:52 Same problem here!
I am using Ubuntu 16.04, if that helps.
I can confirm that after upgrading to Ubuntu 18.04 the problem does not occur anymore.